Undefined symbol on "import bpy' #53102

Closed
opened 2017-10-18 09:25:14 +02:00 by kmitov · 9 comments

System Information
Operating system and graphics card
Ubuntu 16.04

Blender Version
Broken: 2.79
Worked: 2.78

Short description of error
After compiling blender to a python module and doing an "import bpy" the following error occurs:

python3.6

Python 3.6.3 (default, Oct 6 2017, 08:44:35)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.

import bpy;

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

ImportError: /root/blender-git/build/bin/bpy.so: undefined symbol: _ZN3ccl36kernel_cpu_avx_convert_to_half_floatEPNS_13KernelGlobalsEPNS_6uchar4EPffiiii

Python is 3.6


Exact steps for others to reproduce the error
Compile blender. Attached are CMakeCache.txt and CPackConfig.make{F1047118}

CPackConfig.cmake

**System Information** Operating system and graphics card Ubuntu 16.04 **Blender Version** Broken: 2.79 Worked: 2.78 **Short description of error** After compiling blender to a python module and doing an "import bpy" the following error occurs: # python3.6 Python 3.6.3 (default, Oct 6 2017, 08:44:35) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import bpy; Traceback (most recent call last): ``` File "<stdin>", line 1, in <module> ``` ImportError: /root/blender-git/build/bin/bpy.so: undefined symbol: _ZN3ccl36kernel_cpu_avx_convert_to_half_floatEPNS_13KernelGlobalsEPNS_6uchar4EPffiiii Python is 3.6 ``` ``` **Exact steps for others to reproduce the error** Compile blender. Attached are CMakeCache.txt and CPackConfig.make{[F1047118](https://archive.blender.org/developer/F1047118/CMakeCache.txt)} [CPackConfig.cmake](https://archive.blender.org/developer/F1047117/CPackConfig.cmake)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @kmitov

Added subscriber: @kmitov
Author
[CMakeCache.txt](https://archive.blender.org/developer/F1047124/CMakeCache.txt)
Author

Solved it by removing the 1 from all the options in CMakeCache.txt that were container AVX

Solved it by removing the 1 from all the options in CMakeCache.txt that were container AVX

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Tried to redo this error using make bpy. Although I got a different error with jemalloc.
https:github.com/jemalloc/jemalloc/issues/937(can disable jemalloc easily enough)//

Tried to redo this error using `make bpy`. Although I got a different error with jemalloc. https:*github.com/jemalloc/jemalloc/issues/937*(can disable jemalloc easily enough)//

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2017-10-19 14:20:12 +02:00

Thanks for the report, but we do not accept reports related on compilation errors and only accepting reports happening with official blender builds. All the rest is to be handled via mailing list or the IRC room. See the bug report guidelines for details.

Thanks for the report, but we do not accept reports related on compilation errors and only accepting reports happening with official blender builds. All the rest is to be handled via mailing list or the IRC room. See the bug report guidelines for details.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#53102
No description provided.