Horde3D http://horde3d.org/forums/ |
|
Horde and VC 2008 http://horde3d.org/forums/viewtopic.php?f=2&t=249 |
Page 1 of 1 |
Author: | Shadowmist [ 11.03.2008, 00:20 ] |
Post subject: | Horde and VC 2008 |
Hi, A quick question, how can I recompile Horde with Visual Studio 2008 ? when I try to compile it, here is an error: 1>(F = file, D = directory)? Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Any help much appreciated! |
Author: | Shadowmist [ 11.03.2008, 01:03 ] |
Post subject: | |
Nevermind, fixed that:) |
Author: | Shadowmist [ 11.03.2008, 14:02 ] |
Post subject: | |
Hey, another quick question, what is causing this? error LNK2028: unresolved token (0A00000F) "extern "C" bool __cdecl setLightParam(unsigned int,enum LightNodeParams::List,float)" (?setLightParam@@$$J0YA_NIW4List@LightNodeParams@@M@Z) referenced in function "private: void __clrcall Mist::Form1::Form1_Load(class System::Object ^,class System::EventArgs ^)" (?Form1_Load@Form1@Mist@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z) |
Author: | DarkAngel [ 12.03.2008, 00:53 ] |
Post subject: | |
You probably need to add Horde's lib file as a dependency in project properties->linker->input (or at least that's what it's called in VS 2003) |
Author: | Shadowmist [ 13.03.2008, 17:26 ] |
Post subject: | |
I was getting all those errors because I was compiling in /MT mode, but when I switched to /MD mode, everything compiled fine. Here are the errors I get when in /MT mode: 3>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library 3>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library I apologize if it isn't really relevant to the forum but any help would be greatly apreciated! |
Author: | marciano [ 14.03.2008, 16:00 ] |
Post subject: | |
Linking should also work using the /MT option. I have tried it in Visual Studio 2008 Express and had no problems, except that it couldn't use the precompiled GLFW lib in release mode. We are using the the DLL version of GLFW instead now so I hope this is also solved now. The "errors" you mention are just warnings and can usually be ignored. |
Author: | Shadowmist [ 14.03.2008, 23:51 ] |
Post subject: | |
those are the warnings before the errors themselves, I get "earlier declaration" errors after that P.S. got it fixed: if anyone else is having the same problems, look at the libraries that is used by your compiler. P.S.S. I removed a couple I wasn't referencing to and it all worked fine Cheers! |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |