Previous Thread  Next Thread

chat icon Python version MSVC Cmake

bandrews

Posted: Sat Dec 15, 2012 12:53 pm
Joined: 15 Dec 2012
Posts: 3
Hello,
I'm trying to build for the first time, and it's failing the Python version check
#if PY_VERSION_HEX < 0x03030000
# error "Python 3.3 or greater is required, you'll need to update your python."

I have python 3.3, I've tried adding PYTHON_VERSION in CMake-Gui.

It appears the hex hash comes from
c:\BlenderSVN\lib\windows\python\include\python3.2\patchlevel.h
instead of ~\python\3.3
why is that? where is the include set? I would expect the patchlevel.h in 3.3 to overwrite the define, but I guess it's not being included.

Are there any paths, system environment variables, or cmake variables I need to set?

Thanks, Ben
Reply with quote


bandrews

Posted: Sat Dec 15, 2012 12:56 pm
Joined: 15 Dec 2012
Posts: 3
On a side note, I'm using VS2010pro if that makes any difference or if there's any other issues with that I should be aware of.
Thanks
Reply with quote


bandrews

Posted: Sat Dec 15, 2012 1:59 pm
Joined: 15 Dec 2012
Posts: 3
Just for reference:
I found the include directory in bf_python was set to 3.2 if making the project for vs 2010 but 3.3 for 2008. As I then found a bunch of linking errors and saw this post: http://www.blender.org/forum/viewtopic.php?t=25740
I decided to go VS2008 at seems quite happy.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group