Compiling 3991

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
kupferdrache
Space Floater
Posts: 15
Joined: Mon Apr 25, 2011 6:32 am

Compiling 3991

#1 Post by kupferdrache »

thanks, for this quick answer, I have got the latest svn shot
  • I have downloaded and installed MSVS 2010 Express
    i got svn
    i got MSVS2010FreeorionSDK
    i got the sources by svn
    i opened .sln File
    I builded the project
but wenn i try to start the game, it chrashes on creating the Mainwindow

the freeorion.log remains emty.

now if I try to start the perbuild freeorion i get following:
2011-04-25 13:43:21,045 DEBUG Client : OpenAL initialized. Version 1.1Renderer SoftwareVendor Creative Labs Inc.
Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE

2011-04-25 13:43:21,181 ERROR Client : error at or after the indicated point on line 2083:
2011-04-25 13:43:21,181 ERROR Client : Tech
2011-04-25 13:43:21,181 ERROR Client : ^
2011-04-25 13:43:21,181 ERROR Client :
2011-04-25 13:43:21,182 ERROR Client : ERROR: The following categories were defined in techs.txt, but no techs were defined that fell within them: "SHIPS_CATEGORY"
2011-04-25 13:43:21,192 ERROR Client : main() caught exception(std::runtime_error): ERROR: Tech "LRN_XENOARCH" requires a missing or malformed tech as its prerequisite."
ERROR: Tech "PRO_CORE_MINE" requires a missing or malformed tech as its prerequisite."
What can I do?

Edit:
I have attached, the logfiles, after rebuild.
Attachments
ogre.log
the other file, a thrid file doesn´t exist.
(15.1 KiB) Downloaded 142 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Recent Windows Builds

#2 Post by Geoff the Medio »

You need to delete your config.xml every time you switch between versions. (That is, every time you run a version different from the previous version you ran.)

kupferdrache
Space Floater
Posts: 15
Joined: Mon Apr 25, 2011 6:32 am

Re: Recent Windows Builds

#3 Post by kupferdrache »

No in this case, it wasn#t my fault, I have deleted/renamed the config.xml.

The Problem occurs only when building under Win7 systems,but not when using prebuild binaries, then freeorion crashes because wrap_oal.dll is used a worng version or missing. I found a clue in Programming section how to work around, but this should fixed in SDk and/or scource.

The AI seem no more to work in 3991 in Build 3946 the AI was partly working.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13603
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Recent Windows Builds

#4 Post by Geoff the Medio »

kupferdrache wrote:...freeorion crashes because wrap_oal.dll is used a worng version or missing.
Do you still get the error messages about techs being missing or there being empty categories after replacing the dll? I was based my suggestion to delete config.xml on those messages, which shouldn't have anything to do with the sound DLL.
The AI seem no more to work in 3991 in Build 3946 the AI was partly working.
To diagnose that, please post the AI log files (if present) from after running a game in which the AIs don't work. If there are no AI log files created, then post the server log file (freeoriond.log).

This may also be related to the missing tech error messages, if they're still occurring.

Post Reply