Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#26375] r35367 of the osx libs compiles, but doesnt run on osx 10.6.6 intel 64-bit
Date:
2011-03-05 21:55
Priority:
3
State:
Closed
Submitted by:
Peter Carrero (
aloyr
)
Assigned to:
Damien Plisson (damien78)
Category:
OS related: OSX
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
r35367 of the osx libs compiles, but doesnt run on osx 10.6.6 intel 64-bit
Detailed description
with both blender and the libs on r35367, i get this error on the console upon running blender on osx 10.6.6:
#
peter@endor(ttys000
) ~/Programs/Blender/blender.app/Contents/MacOS
./blender
found bundled python: /Users/peter/Programs/Blender/blender.app/Contents/MacOS/2.56/python
Fatal Python error: Py_Initialize: can't initialize sys standard streams
ImportError: No module named encodings.utf_8
Abort trap
however, reverting the libs version to r34557 (and keeping blender on HEAD), then i can compile and run blender.
Followup
Message
Date
: 2011-03-06 12:37
Sender
:
Ton Roosendaal
Peter: I had this error too, it appeared the cmake build process doesn't find the new python 3.2 lib. (assuming you use cmake).
My quick hack was to go to lib/darwin-9.x.universal/release/
And copy the correct lib form my architecture (ppc) to python_.zip
After build, the python3.2 lib should be in your app bundle
Damien: my cmake version is 2.8.3. and it doesn't have the CMAKE_OSX_ARCHITECTURES define set, it gives an empty string.
here's the commit you did:
http://projects.blender.org/scm/viewvc.php/trunk/blender/source/creator/CMakeLists.txt?root=bf-blender&view=diff&r1=23962&r2=23963
Googling for this define doesn't give me much clues... which cmake version you have?
Date
: 2011-03-07 22:30
Sender
:
Damien Plisson
I've added to CMakeList.txt defaults values for the CMAKE_OSX_ARCHITECTURES, and CMAKE_OSX_DEPLOYMENT_TARGET so that it builds a Blender 10.5 64bit executable if the builder doesn't change the values.
Committed in svn r35391
Attached Files:
No Files Currently Attached
Changes:
Field
Old Value
Date
By
status_id
Open
2011-03-07 22:30
damien78
close_date
None
2011-03-07 22:30
damien78
Status
Investigate
2011-03-07 22:30
damien78
assigned_to
none
2011-03-06 12:37
ton
Status
New
2011-03-06 12:37
ton