Linker errors
Hi WitchLord - I was getting linker errors using AngelScript when linking with the static libs. I had to change the msvc6 project settings (I'm using .NET2003) like so:
from:
c/c++ -> code generation -> Runtime library -> Multi-threaded DLL
to:
c/c++ -> code generation -> Runtime library -> Multi-threaded
Since the project produces a static lib and not a DLL anyway, will this make a difference?
If not, would it be possible for you to change the settings to reflect this?
Cheers
Jim
Hi Jimfing,
By using multi-threaded DLL in your project your application will be quite a bit smaller since the standard C run time library won't be statically linked to it. Whether you feel this is an advantage or not is up to you.
Both the statically linked libraries and your main application has to be built using the same settings, otherwise conflicts may arise (as it did in your case).
I choose multi-threaded DLL by default because I feel it is better, but whatever I choose there will always be someone that prefers another setting. Unfortunately it's not possible to please everyone.
Regards,
Andreas
By using multi-threaded DLL in your project your application will be quite a bit smaller since the standard C run time library won't be statically linked to it. Whether you feel this is an advantage or not is up to you.
Both the statically linked libraries and your main application has to be built using the same settings, otherwise conflicts may arise (as it did in your case).
I choose multi-threaded DLL by default because I feel it is better, but whatever I choose there will always be someone that prefers another setting. Unfortunately it's not possible to please everyone.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement