MSVC++ Compile error

For code related discussions and questions
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

MSVC++ Compile error

Post by milo christiansen »

When ever I try to compile warzone I get this;
VS2k8Log.txt
(26.45 KiB) Downloaded 328 times
After disabling Autorevision I get this;
VS2k8Log-Autorevision.txt
(33.83 KiB) Downloaded 329 times
As far as I can tell it has some thing to do with "libtheora_static.lib"
HELP :stressed:
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

Re: MSVC++ Compile error

Post 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?
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA
Contact:

Re: MSVC++ Compile error

Post 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
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: MSVC++ Compile error

Post 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
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

Re: MSVC++ Compile error

Post by Crymson »

Where did you get the trunk dev package from?
You shouldn't have to modify anything.
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: MSVC++ Compile error

Post 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 :stressed:
Most likely you got wrong devpkg, try grabbing one from sf.net.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: MSVC++ Compile error

Post 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.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
i-NoD
Code contributor
Code contributor
Posts: 318
Joined: 30 Nov 2008, 00:42
Location: In the middle of nowhere

Re: MSVC++ Compile error

Post 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.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: MSVC++ Compile error

Post 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?
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: MSVC++ Compile error

Post 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.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: MSVC++ Compile error

Post by Buginator »

:hmm:
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?
and it ends here.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: MSVC++ Compile error

Post 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.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
plumar
New user
Posts: 2
Joined: 03 Feb 2010, 12:49

Re: MSVC++ Compile error

Post by plumar »

I can compile the trunk with the dev package from SF and the latest SP. O_o
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: MSVC++ Compile error

Post by Zarel »

Well, now I can't compile trunk with either MinGW or MSVC. So I'm in the same boat.
Post Reply