error LNK2019 tv2.1.03 (upload logs. file)
Brought to you by:
set
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!!!
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.