Bilbob
23-02-2006 00:34:14
Im getting 2 errors:
command line errorD2016 : '/RTC1' command line options are incompatible
and
fatal error LNK1181: cannot open input file 'newton.lib'
THere are 6 different newton.lib files in different directories. What one do i add?
Thank you
stuart
walaber
23-02-2006 00:42:51
1. try turning off optimization in the compiler settings.
2. you want the sdk/dll version of newton.lib
Bilbob
23-02-2006 14:09:51
Im still getting the same errors.
I have optimization turned off
With the newton.lib. This file is within the newtonSDk/sdk directory in six different folders. I have included all the six folders (including the sdl/dll version) so it can see all of these files but it still brings up this error.
?
cheers
Stuart
walaber
23-02-2006 17:14:02
you only want the newton.lib file in the newton/sdk/dll directory.
are you sure you added that directory to the linker input section?
Bilbob
23-02-2006 18:07:27
in the linker input section, newton.lib is added as an additional dependency.
In C/C++ general the path is added to the sdk/dll directory yes.
But still getting both if these errors
walaber
23-02-2006 19:13:07
no you need to add the directory to the include section of the linker, not the C/C++ section.
in the linker settings (general), there is an "additional library directories" or something similar. this is where you need to put in the path to any .lib files you want to link to.
Epimetheus
23-02-2006 19:13:36
Are you sure your setting it for the right configuration, i mean if you set it for release and compile debug it would be obvious why you still get the errors
OvermindDL1
03-03-2006 10:35:20
Do note, Windows dll's cannot tell one dll from another if they have the same name, and since newton uses the same name for each style of dll (my only irritence with newton, I'm used to boost naming standards.
), you have to make sure it sees *only* the one you want it to see.