Menu

#18 error LNK2019 tv2.1.03 (upload logs. file)

open
None
2
2007-07-10
2007-07-04
Sife
No

OK!! for examples the tvision on H:\CPPLibrary
then. under the command prompt :
H:\CPPLibrary\tvision> nmake -f makefile.nmk
get librhtv.lib ( information on make1.txt )
and H:\CPPLibrary\tvision\winnt> nmake -f makefile.nmk
get libtv.lib ( information on make2.txt )

both warning LNK4221: no public symbols found; archive member will be inaccessible

I use MSVC IDE or command prompt complied examples only [tvedit] is worked ok!!
them logs is on logs.rar

TGroup TWindow TInputLineBase TDialog is not include got .lib file
Pleases check logs.rar and find error@

Thank you!!!

Discussion

  • Sife

    Sife - 2007-07-04
     
  • Salvador Eduardo Tropea

    Logged In: YES
    user_id=3906
    Originator: NO

    > H:\CPPLibrary\tvision> nmake -f makefile.nmk
    > get librhtv.lib ( information on make1.txt )

    That's ok.

    > and H:\CPPLibrary\tvision\winnt> nmake -f makefile.nmk
    > get libtv.lib ( information on make2.txt )

    This isn't needed. This is an old (obsolete) methode to create the library.

    > both warning LNK4221: no public symbols found; archive member will be inaccessible

    This is ok, the listed modules are for Linux, DOS, QNX, etc. not for Windows.

    In your logs I can't see which compiler options are you using. You must:

    1) Only use librhtv.lib or libtv.lib (lets say the first: librhtv.lib)
    2) Use the same switches used to compile the library, for librhtv.lib you should use:
    /EHsc -D_USE_32BIT_TIME_T -D_CRT_SECURE_NO_DEPRECATE /Zi

    If you don't use the same switches you could get bizarre errors.

    BTW: Some examples won't work with MSVC, i.e. set-logo.cc seems to use kill POSIX function and it looks like MSVC doesn't implement it.

     
  • Salvador Eduardo Tropea

    • priority: 5 --> 2
    • assigned_to: nobody --> set
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.