I try compile Irrlicht + SDL.
Lib and include directory correct, libs added to project, dll copy to directory with project.
I can compile irrlicht program, and can compile SDL program.
In documentation SDL says:
Set the C runtime to "Multi-threaded DLL" in the menu: Project|Settings|C/C++ tab|Code Generation|Runtime Library
Irrlicht correct compile with:
"Multi-threaded Debug (/MTd)"
When I try recompile irrlicht with Runtime Library = "Multi-threaded DLL" I see MessageBox: "Program can't start, becouse MSVCP80D.dll not found."
How correct compile Irrlicht and SDL? Which option for Runtime Library and other?
How correct compile Irr and SDL in VS2005?
For VC 2005 'multithreaded DLL', you need to copy the redistributable runtimes out of "\program files\Microsoft Visual Studio 8\VC\redist\" and put them in your exe's folder.
Normally, your exe would have an installer app do that for you.
It shouldn't really matter though. You should be able to use Irrlicht 'multithreaded' + SDL 'multithreaded DLL' without issues.
The only time it really matters is if you do a 'new' in the Irrlicht DLL and then do a 'delete' on the same pointer in the SDL DLL. Then you need to use multithreaded DLL in both projects.
Normally, your exe would have an installer app do that for you.
It shouldn't really matter though. You should be able to use Irrlicht 'multithreaded' + SDL 'multithreaded DLL' without issues.
The only time it really matters is if you do a 'new' in the Irrlicht DLL and then do a 'delete' on the same pointer in the SDL DLL. Then you need to use multithreaded DLL in both projects.
-------------------------------------
IrrLua - a Lua binding for Irrlicht
http://irrlua.sourceforge.net/
IrrLua - a Lua binding for Irrlicht
http://irrlua.sourceforge.net/