![]() |
| | #16 | ||||
| Registered User Join Date: Nov 2009
Posts: 5
| Quote:
Anyway, I did some digging with dependency walker, and as far as I can tell, only one of the three FreeOrion executables - the AI client - depends on the version 7.1 visual c++ runtime library. This is consistent with the reported crashes, which are occurring after or during universe generation, which is when the AI clients would be started and attempt load their dependencies. The 7.1 dependency comes from python25.dll (AIs are scripted in Python) which is not something we built, which is why previous efforts to make sure everything was built with the latest version of the visual C++ compiler didn't get rid of this older-version runtime dependence. Quote:
Quote:
Quote:
| ||||
| Geoff the Medio is offline | |
| | #17 | |
| Malum in se Join Date: Apr 2007
Posts: 3,188
| Quote:
__________________ Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off. | |
| abachler is offline | |
| | #18 | |
| Registered User Join Date: Nov 2009
Posts: 5
| Quote:
The dependency issue comes from linking to an older version of the Python DLL. This has nothing to do with whether the program is built from within the IDE or by calling the compiler and linker from the command line with a script. (The command line script can do anything that can be done in the IDE, which usually even indicates what command line /switch a particular GUI option enables.) Also, switching to the static runtime libraries would require (so far as I know) switching most dependencies to be statically linked, which would be somewhat complicated (compared to adjusting a single setting in the project configuration) even when building from in the IDE. | |
| Geoff the Medio is offline | |
| | #19 | |
| Malum in se Join Date: Apr 2007
Posts: 3,188
| Quote:
__________________ Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off. | |
| abachler is offline | |
| | #20 | |||
| (?<!re)tired Join Date: May 2006 Location: Portugal
Posts: 5,648
| Quote:
Still, I disagree with abachler in that I suggest you keep your crt dynamically linked. Quote:
In any case, I'm sure you now understand this was always an easy problem to find the source of and an easy fix. Quote:
__________________ Originally Posted by brewbuck: Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster. | |||
| Mario F. is online now | |
| | #21 | ||||||
| Malum in se Join Date: Apr 2007
Posts: 3,188
| Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
__________________ Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off. | ||||||
| abachler is offline | |
| | #22 | ||||
| Registered User Join Date: Nov 2009
Posts: 5
| Quote:
Quote:
Quote:
Quote:
| ||||
| Geoff the Medio is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advice on how to being to learn C++ | VenomUK | C++ Programming | 9 | 05-18-2002 01:06 PM |
| Programming Puns | kermi3 | A Brief History of Cprogramming.com | 44 | 03-23-2002 04:38 PM |