Archived

This topic is now archived and is closed to further replies.

davidkosenina

Haw to link python22?

Recommended Posts

Usually the _d on the library name means that it is using the debug version of that library. Try linking in that instead of the optimized ( or release ) version. If that is not available then change your project settings not to use the debug version.



-------
Andrew
PlaneShift - A MMORPG in development.

Share this post


Link to post
Share on other sites
Can you get some information for us...
Go to Project->Settings->Link Tab

and copy and paste for us the files listed in Object/Library modules.

Do this for both Debug and Release settings (the left hand drop down list) and we''ll be able to talk more knowledgably.

Pete

Share this post


Link to post
Share on other sites
Helo

I fix the error by modifying python22.lib to python22_d.lib.
But anyway:

Debug:

python22.lib kernel32.lib .. etc.

General:

python22.lib kernel32.lib .. etc.

Q) I downloaded python_2.2.exe for windows. Self installer.
There is no source files to compile libraryes. Haw can I
change betwen debug and release versions in python?
#define DEBUG? #define RELEASE? ?????????????

Thanks for help :-)

Share this post


Link to post
Share on other sites
That doesn''t sound like the right way to fix the problem. Have you added the library to the project files as well? That could be causing the problem. If that''s not it, do a text search on all the files in your project directory. See whether python22_d.lib comes up anywhere.

Anyway, up to you I guess.

If you want the source files you can get them on the website where you got the windows installer. After Windows, Linux and Macintosh it says ''All others''.

Why do you need a debug version of the library? Do you think there is a problem in the code?

Share this post


Link to post
Share on other sites