python 3.3 required in code, but CMakeLists.txt:1090 still hardcodes 3.2 for MSVC10.
Closed, InvalidPublic

Description

I have been working off trunk for some time now without issue on win7 x64. Latest update resulted in a failed build.

I say it is required as it says the following in bpy_util.h, and i've never seen it before...
#if PY_VERSION_HEX < 0x03030000
# error "Python 3.3 or greater is required, you'll need to update your python."
#endif

Does this mean we are moving away from 3.2?
If so are we going to place new python33 dlls in vc2010\lib?

The CMakeLists.txt:1090 sets 3.2
# normally cached but not since we include them with blender
if(MSVC10)
set(PYTHON_VERSION 3.2) # CACHE STRING)
else()
set(PYTHON_VERSION 3.3) # CACHE STRING)
endif()

I did try setting it to 3.3, which got the compile to complete, but I need those python modules.
I'm considering building the modules myself....but I might wait. :)

Thanks,
--dave
http://dave.thehorners.com/

Details

Type
Bug

Hi,
MSVC 2010 building is not officially supported, we don't have py3.3 libs for that in SVN yet.

You can try to compile them yourself and change cmake then.

>> Closing

Thomas Dinges (dingto) closed this task as "Invalid".Dec 26 2012, 4:10 PM

So I see based maybe on this closed ticket... the following change was made to CMakeLists.txt....
(both code paths do the same thing)
# normally cached but not since we include them with blender
if(MSVC10)
set(PYTHON_VERSION 3.3) # CACHE STRING)
else()
set(PYTHON_VERSION 3.3) # CACHE STRING)
endif()

I'm trying to help support the windows 2010 build.

telling me
"You can try to compile them yourself and change cmake then. "
and closing my ticket doesn't indicate my help is desired.

Python 3.3's build process is now 2010 instead of 2008.
I can provide binaries to place in tree if wanted.

--dave

Also, the windows lib\win64 is missing the libboost_date_time-vc100-mt-sgd-1_49.lib library.
Error 1 error LNK1181: cannot open input file 'libboost_date_time-vc100-mt-sgd-1_49.lib'

I built this and placed them within the \lib\win64\boost\vs2010\lib. This stopped the date_time-vs100 error.

But now I see that blender is trying to link in vc90 boost libraries when building.
Error 56 error LNK1104: cannot open file 'libboost_thread-vc90-mt-sgd-1_49.lib'
(just to try, I copied the libboost_thread-vc90-mt-sgd-1_49.lib to \lib\win64\boost\vs2010\lib (which I know is incorrect, but I wanted to see..)

that then gave me the following error....
Error 1 error LNK1104: cannot open file 'libboost_date_time-vc90-mt-sgd-1_49.lib'


Hmm, now I need to figure out why its trying to link in the vs2010 and the vc9.....

Again, I would be more than happy to help supply these binaries for others.
almost a working build......

Thanks,
--dave