Re: Compiling with Code::Blocks, part deux
Posted: Thu Sep 16, 2010 9:27 pm
The only thing left to try is (VSSprite*)NULL.
But that's just dumb on MSVC's part.
But that's just dumb on MSVC's part.
Open Source 3D Space Flight Sim: Trade, Fight, Explore
https://forums.vega-strike.org/
That actually worked. Everything compiles without errors.klauss wrote:The only thing left to try is (VSSprite*)NULL.
But that's just dumb on MSVC's part.
If the source is missing, it's ok I would think.shenle wrote:I'm trying to clean up the VS projects, and noticed that they contain the cmd/collide folder as well as cmd/collide2; but there is no cmd/collide in the source tree. OK to nuke that?
Also, cmd/iterator.h absent. Ok to nuke?
You're correct, they're not in CMakeLists.txt, so linux isn't using them, I can't think of a reason for windows to want them either.shenle wrote: 3rd; am I right toassume that the following files should not be included in the project directly?
gfx/bmp_to_png.cpp
gfx/raw_to_png.cpp
cmd/unit_jump.cpp
cmd/ai/pythonai.cpp
cmd/oldcollection.cpp
You need to include unit.cpp, which is no longer included in unit.h.shenle wrote:Finally, what am I missing? This is my current output (see attached lest it exceeds max message size)
unit.cpp is already included, as well as unit.h.klauss wrote:You need to include unit.cpp, which is no longer included in unit.h.shenle wrote:Finally, what am I missing? This is my current output (see attached lest it exceeds max message size)
Code: Select all
1>OpenALRenderer.obj : error LNK2019: unresolved external symbol __imp__alSpeedOfSound referenced in function "protected: void __thiscall Audio::OpenALRenderer::setupDopplerEffect(void)" (?setupDopplerEffect@OpenALRenderer@Audio@@IAEXXZ)
1>unit_generic.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall UnitImages<void>::~UnitImages<void>(void)" (??1?$UnitImages@X@@UAE@XZ) referenced in function "public: virtual void * __thiscall UnitImages<void>::`scalar deleting destructor'(unsigned int)" (??_G?$UnitImages@X@@UAEPAXI@Z)
I'm using both from vega-vc7, supposedly they're the same version.klauss wrote:That means you're using a new al.h but an old al.lib/dll
Code: Select all
1>OpenALRenderer.obj : error LNK2019: unresolved external symbol __imp__alSpeedOfSound referenced in function "protected: void __thiscall Audio::OpenALRenderer::setupDopplerEffect(void)" (?setupDopplerEffect@OpenALRenderer@Audio@@IAEXXZ)
1>unit_generic.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall UnitImages<void>::~UnitImages<void>(void)" (??1?$UnitImages@X@@UAE@XZ) referenced in function "public: virtual void * __thiscall UnitImages<void>::`scalar deleting destructor'(unsigned int)" (??_G?$UnitImages@X@@UAEPAXI@Z)