svn & vc++ (again)

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Tc27
Trader
Trader
Posts: 22
Joined: Thu Jan 31, 2008 7:06 pm

svn & vc++ (again)

Post by Tc27 »

One of the recent graphics technique commits seems to reference classes that haven't been added to the vc++ projects, meaning VS svn head isn't buildable out of the box on win32.

After adding gfx/technique.cpp, XMLDocument.cpp and VSFileXMLSerializer.cpp, the build still fails to link, saying XML_SetStartDoctypeDeclHandler() is an undefined symbol. The offending call appears to be in XmlDocument.cpp, line 657.

Also, the compiler warns: vsfilexmlserializer.cpp(27) : VSFileXMLSerializer::importXML' : not all control paths return a value
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Just comment out that line in XMLDocument.cpp line 657 for now.
I think we just need to rebuild some more up-to-date libraries for VC++.
Also I want to finish fixing up the VC9 project so its python library works.
Tc27
Trader
Trader
Posts: 22
Joined: Thu Jan 31, 2008 7:06 pm

Post by Tc27 »

Ok, commenting it works for vc8.

What's the situation with ffmpeg on win32? VS seems to compile happily without it...
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

That would be that there's an old version of expat in the vc folder. Which vc are you using?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Tc27
Trader
Trader
Posts: 22
Joined: Thu Jan 31, 2008 7:06 pm

Post by Tc27 »

VC8.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

Sorry for the delay. Later today I'll see if I can commit a fixed vc8 project and an updated expat.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply