The Help Thread

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderators: Committer, Committer

Message
Author
User avatar
General_Zaber
Space Kraken
Posts: 130
Joined: Wed Jan 09, 2008 6:43 am
Location: Iserlohn Fortress

Re: The Help Thread

#286 Post by General_Zaber » Sun Jun 14, 2009 7:54 am

It is a question, I want to find python26.dll. Where should I look? 'Cause I can't find it in my C:\\python26\ directory.

(I thought it was obvious... :oops: )

EDIT: I also tried looking for it in C:\\Windows\System32\ to no avail. I even did a search of my whole system and found nothing. Can somebody just put it here as an attachment because I think it wasn't installed.
The enemy is retreating! As always, there is no cuteness about them. Dammit

User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: The Help Thread

#287 Post by pd » Sun Jun 14, 2009 11:12 am

python26.dll 2MB - assuming you're using a 64bit windows, make sure to rename it to python25.dll and replace the original one.

It should have been in your python26 directory...

User avatar
General_Zaber
Space Kraken
Posts: 130
Joined: Wed Jan 09, 2008 6:43 am
Location: Iserlohn Fortress

Re: The Help Thread

#288 Post by General_Zaber » Sun Jun 14, 2009 12:00 pm

:D Will do, thanks for the link.
pd wrote:It should have been in your python26 directory...
Yeah I know, I googled it and it turns out Python 2.6 onwards has some bug that forgets to put in the .dll during installation :roll:
The enemy is retreating! As always, there is no cuteness about them. Dammit

Dudely
Space Krill
Posts: 4
Joined: Sun Aug 09, 2009 2:49 pm

Re: The Help Thread

#289 Post by Dudely » Tue Sep 22, 2009 6:35 pm

I'm getting an error when I try to build.

I followed all the instructions (downloaded the source, installed tortoise SVN, updated everything, pointed it to my python folder) but when I try to build I get about 200 errors that say:

Cannot open program database file: 'd:\program files\freeorion_sdk\freeorion\msvc2008\freeorion\freeorionca\release\vc90.pdb': No such file or directory
or
cannot update program database 'd:\program files\freeorion_sdk\freeorion\msvc2008\freeorion\freeorionca\release\vc90.pdb'

I checked and the file is there.
I searched the forums but couldn't find much regarding problems with that file.

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

Re: The Help Thread

#290 Post by Geoff the Medio » Tue Sep 22, 2009 7:04 pm

Dudely wrote:...when I try to build I get about 200 errors that say:

Cannot open program database file: 'd:\program files\freeorion_sdk\freeorion\msvc2008\freeorion\freeorionca\release\vc90.pdb': No such file or directory
or
cannot update program database 'd:\program files\freeorion_sdk\freeorion\msvc2008\freeorion\freeorionca\release\vc90.pdb'
This isn't a FreeOrion-specific problem. A google search has many references to similar errors. After a quick skim, try exiting visual studio, deleting all the .pdb files in the FreeOrion tree, and restarting visual studio and trying again. A reboot might also help, I gather.

Dudely
Space Krill
Posts: 4
Joined: Sun Aug 09, 2009 2:49 pm

Re: The Help Thread

#291 Post by Dudely » Tue Sep 22, 2009 7:26 pm

Geoff the Medio wrote:
Dudely wrote:...when I try to build I get about 200 errors that say:

Cannot open program database file: 'd:\program files\freeorion_sdk\freeorion\msvc2008\freeorion\freeorionca\release\vc90.pdb': No such file or directory
or
cannot update program database 'd:\program files\freeorion_sdk\freeorion\msvc2008\freeorion\freeorionca\release\vc90.pdb'
This isn't a FreeOrion-specific problem. A google search has many references to similar errors. After a quick skim, try exiting visual studio, deleting all the .pdb files in the FreeOrion tree, and restarting visual studio and trying again. A reboot might also help, I gather.
Of course. I should have thought of those things myself. My bad.

MCP
Space Krill
Posts: 1
Joined: Sun Sep 27, 2009 4:35 pm

Re: The Help Thread

#292 Post by MCP » Sun Sep 27, 2009 4:41 pm

In this thread nearly six years ago, he talks about a library used to check memory in a multi-threaded, c++ environment:
viewtopic.php?f=9&t=387

It's been six years, have you guys been keeping up with tests like these?
I am interested.

Thanks.
Last edited by MCP on Sun Sep 27, 2009 5:30 pm, edited 1 time in total.

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

Re: The Help Thread

#293 Post by Geoff the Medio » Sun Sep 27, 2009 5:28 pm

MCP wrote:It's been six years, have you guys been keeping up with tests like these?
I don't believe anyone uses dmalloc as suggested in that thread. You'd have to get it and validate the tool for yourself anyway, so this doesn't really affect you abilitiy to use it.

User avatar
OndrejR
Space Dragon
Posts: 339
Joined: Thu Oct 02, 2008 11:00 pm
Location: Slovakia

Re: The Help Thread

#294 Post by OndrejR » Sun Sep 27, 2009 6:05 pm

MCP wrote:It's been six years, have you guys been keeping up with tests like these?
To check memory leaks is good valgrind. Memory leaks are not only in FreeOrion, but also in libraries which FreeOrion uses and this tool is in common use among C++ developers.

Post Reply