Page 1 of 2
MSVC++ Compile error
Posted: 01 Apr 2010, 00:01
by milo christiansen
When ever I try to compile warzone I get this;
After disabling Autorevision I get this;
As far as I can tell it has some thing to do with "libtheora_static.lib"
HELP

Re: MSVC++ Compile error
Posted: 01 Apr 2010, 06:57
by Crymson
I think you set something up incorrectly.
It works here.
The first one just shows that it couldn't run autorevision.
The second one shows "unresolved external symbol" errors, where did you get that lib from?
Re: MSVC++ Compile error
Posted: 01 Apr 2010, 14:59
by macuser
Try
http://developer.wz2100.net/wiki/Window ... %28MSVC%29
Prerequesites
Current version of TortoiseSVN
GnuWin packages: Flex (version 2.5.4a-1 will do the job), Bison (version 2.1 is required at least).
Latest Warzone Developer's Package (for trunk or 2.2/2.3)
Microsoft Visual C++ Express Edition (current devpkg and build system are tuned to MSVC 2008 SP1, but with some manual modifications you can use any version up from MSVC 2005)
-regards macuser
Re: MSVC++ Compile error
Posted: 02 Apr 2010, 00:43
by milo christiansen
I followed that to the letter.
For the compiler I am useing Microsoft Visual C++ Express Edition sp1
Flex version 2.5.4a-1 Bison version 2.1
and the latest trunk dev package
I got the source by downloading it from
http://warzone2100.svn.sourceforge.net/ ... 100/trunk/ useing the "download GNU tarball" link at the bottom of the page
The only change I made is to remove Autorevision from the project file
Re: MSVC++ Compile error
Posted: 02 Apr 2010, 19:50
by Crymson
Where did you get the trunk dev package from?
You shouldn't have to modify anything.
Re: MSVC++ Compile error
Posted: 04 Apr 2010, 19:40
by i-NoD
milo christiansen wrote:When ever I try to compile warzone I get this;
VS2k8Log.txt
Some kind of failure in post-build event... maybe it has smth to do with those ++ in your path?
milo christiansen wrote:After disabling Autorevision I get this;
VS2k8Log-Autorevision.txt
As far as I can tell it has some thing to do with "libtheora_static.lib"
HELP

Most likely you got wrong devpkg, try grabbing one from
sf.net.
Re: MSVC++ Compile error
Posted: 05 Apr 2010, 16:44
by milo christiansen
i-NoD wrote:Most likely you got wrong devpkg, try grabbing one from sf.net.
Thats the one I have, or at least the file name was the same. I'll try it anyway.
Re: MSVC++ Compile error
Posted: 05 Apr 2010, 21:12
by i-NoD
milo christiansen wrote:i-NoD wrote:Most likely you got wrong devpkg, try grabbing one from sf.net.
Thats the one I have, or at least the file name was the same. I'll try it anyway.
That libtheora error is the most frequent on this forum so far. Just make sure you do have SP1 for MSVC2008.
Re: MSVC++ Compile error
Posted: 09 Apr 2010, 16:31
by milo christiansen
i-NoD wrote:Just make sure you do have SP1 for MSVC2008.
I do.
So is there any way to make it compile?
Re: MSVC++ Compile error
Posted: 09 Apr 2010, 17:44
by cybersphinx
Re: MSVC++ Compile error
Posted: 16 Apr 2010, 20:33
by milo christiansen
Where can I get that pre-compiled and ready to use?
I'm not in the mood for a dependency hunt, especially since I don't have internet at home and when I do have access time is limited.
Re: MSVC++ Compile error
Posted: 18 Apr 2010, 00:16
by Buginator
Let me get this straight, you got MSVC EE 2k8 + the latest SP, and the dev package from SF, and it still gives you errors?
Re: MSVC++ Compile error
Posted: 19 Apr 2010, 18:17
by milo christiansen
Exactly.
Then I get this:
Which seems to tell me that I need to compile the library myself, but the library seems to be missing dependencies and I don't know which ones.
It is a little annoying that no one can tell me anything but "Get the latest Dev package" when that's the first thing I did even before I posted the first time.
Re: MSVC++ Compile error
Posted: 19 Apr 2010, 18:45
by plumar
I can compile the trunk with the dev package from SF and the latest SP.

Re: MSVC++ Compile error
Posted: 19 Apr 2010, 19:45
by Zarel
Well, now I can't compile trunk with either MinGW or MSVC. So I'm in the same boat.