compile Blender on arm #43813

Closed
opened 2015-02-25 19:46:00 +01:00 by Giuseppe De Marco · 5 comments

System Information

Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

Linux cesmma-node-10 3.0.36+ #2 SMP PREEMPT Fri Apr 25 11:27:57 CST 2014 armv7l armv7l armv7l GNU/Linux

Blender Version
blender-2.73a

wouldn't it be nice to use blender ( or blenderplayer ) on an ARMv7-9-15 platform ?
I'm compiling blender on a radxa rock [1]

2015-02-25 18:48:46 (738 KB/s) - '/root/src/blender-deps/OpenColorIO-1.0.9.tar.gz' saved [13622319]

Unpacking OpenColorIO-1.0.9
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message):
  The C++ compiler "/usr/bin/c++" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: /root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp

  

  Run Build Command:/usr/bin/make "cmTryCompileExec2915449738/fast"

  /usr/bin/make -f CMakeFiles/cmTryCompileExec2915449738.dir/build.make
  CMakeFiles/cmTryCompileExec2915449738.dir/build

  make[1]: Entering directory
  `/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp'

  /usr/bin/cmake -E cmake_progress_report
  /root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp/CMakeFiles
  1

  Building CXX object
  CMakeFiles/cmTryCompileExec2915449738.dir/testCXXCompiler.cxx.o

  /usr/bin/c++ -fPIC -m32 -march=i686 -o
  CMakeFiles/cmTryCompileExec2915449738.dir/testCXXCompiler.cxx.o -c
  /root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


  c++: error: unrecognized argument in option '-march=i686'

  c++: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m
  armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k
  armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m
  armv8-a armv8-a+crc iwmmxt iwmmxt2 native

  c++: error: unrecognized command line option '-m32'

  make[1]: ***
  [CMakeFiles/cmTryCompileExec2915449738.dir/testCXXCompiler.cxx.o] Error 1

  make[1]: Leaving directory
  `/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp'

  make: *** [cmTryCompileExec2915449738/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:1 (project)


-- Configuring incomplete, errors occurred!
See also "/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeOutput.log".
See also "/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
cp: cannot stat 'ext/dist/lib/libtinyxml.a': No such file or directory
cp: cannot stat 'ext/dist/lib/libyaml-cpp.a': No such file or directory
make: *** No rule to make target `clean'.  Stop.
ERROR! OpenColorIO-1.0.9 failed to compile, exiting

compiling it standalone

-- Build files have been written to: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/build/tinyxml
[  8%] Performing build step for 'tinyxml'
Scanning dependencies of target tinyxml
[ 25%] Building CXX object CMakeFiles/tinyxml.dir/tinystr.cpp.o
[ 50%] Building CXX object CMakeFiles/tinyxml.dir/tinyxml.cpp.o
[ 75%] Building CXX object CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o
[100%] Building CXX object CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o
Linking CXX static library libtinyxml.a
[100%] Built target tinyxml
[  8%] Performing install step for 'tinyxml'
[100%] Built target tinyxml
Install the project...
-- Install configuration: ""
-- Installing: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/dist/lib/libtinyxml.a
-- Installing: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/dist/include/tinyxml.h
-- Installing: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/dist/include/tinystr.h
[  9%] Completed 'tinyxml'
[  9%] Built target tinyxml
Scanning dependencies of target OpenColorIO
[ 10%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatPandora.cpp.o
c++: error: unrecognized command line option ‘-msse2’
make[2]: *** [src/core/CMakeFiles/OpenColorIO.dir/FileFormatPandora.cpp.o] Error 1
make[1]: *** [src/core/CMakeFiles/OpenColorIO.dir/all] Error 2
make: *** [all] Error 2

I understand that openColorIO is for x86 arch and I could remove the cpu registry flag for test it in another situation.

I would like to ask you if someone of us had already compiled openColorIO or Blender on ARM platform.
ARM is synonymous of mobile, smartphone and others.

**System Information** Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty Linux cesmma-node-10 3.0.36+ #2 SMP PREEMPT Fri Apr 25 11:27:57 CST 2014 armv7l armv7l armv7l GNU/Linux **Blender Version** blender-2.73a wouldn't it be nice to use blender ( or blenderplayer ) on an ARMv7-9-15 platform ? I'm compiling blender on a radxa rock [1] ``` 2015-02-25 18:48:46 (738 KB/s) - '/root/src/blender-deps/OpenColorIO-1.0.9.tar.gz' saved [13622319] Unpacking OpenColorIO-1.0.9 -- The C compiler identification is GNU 4.8.2 -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program. It fails with the following output: Change Dir: /root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2915449738/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2915449738.dir/build.make CMakeFiles/cmTryCompileExec2915449738.dir/build make[1]: Entering directory `/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2915449738.dir/testCXXCompiler.cxx.o /usr/bin/c++ -fPIC -m32 -march=i686 -o CMakeFiles/cmTryCompileExec2915449738.dir/testCXXCompiler.cxx.o -c /root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx c++: error: unrecognized argument in option '-march=i686' c++: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a armv8-a+crc iwmmxt iwmmxt2 native c++: error: unrecognized command line option '-m32' make[1]: *** [CMakeFiles/cmTryCompileExec2915449738.dir/testCXXCompiler.cxx.o] Error 1 make[1]: Leaving directory `/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec2915449738/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:1 (project) -- Configuring incomplete, errors occurred! See also "/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeOutput.log". See also "/root/src/blender-deps/OpenColorIO-1.0.9/build/CMakeFiles/CMakeError.log". make: *** No targets specified and no makefile found. Stop. cp: cannot stat 'ext/dist/lib/libtinyxml.a': No such file or directory cp: cannot stat 'ext/dist/lib/libyaml-cpp.a': No such file or directory make: *** No rule to make target `clean'. Stop. ERROR! OpenColorIO-1.0.9 failed to compile, exiting ``` compiling it standalone ``` -- Build files have been written to: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/build/tinyxml [ 8%] Performing build step for 'tinyxml' Scanning dependencies of target tinyxml [ 25%] Building CXX object CMakeFiles/tinyxml.dir/tinystr.cpp.o [ 50%] Building CXX object CMakeFiles/tinyxml.dir/tinyxml.cpp.o [ 75%] Building CXX object CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o [100%] Building CXX object CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o Linking CXX static library libtinyxml.a [100%] Built target tinyxml [ 8%] Performing install step for 'tinyxml' [100%] Built target tinyxml Install the project... -- Install configuration: "" -- Installing: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/dist/lib/libtinyxml.a -- Installing: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/dist/include/tinyxml.h -- Installing: /media/rock/imgstorage/blender-deps/OpenColorIO-1.0.9/build_pep/ext/dist/include/tinystr.h [ 9%] Completed 'tinyxml' [ 9%] Built target tinyxml Scanning dependencies of target OpenColorIO [ 10%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatPandora.cpp.o c++: error: unrecognized command line option ‘-msse2’ make[2]: *** [src/core/CMakeFiles/OpenColorIO.dir/FileFormatPandora.cpp.o] Error 1 make[1]: *** [src/core/CMakeFiles/OpenColorIO.dir/all] Error 2 make: *** [all] Error 2 ``` I understand that openColorIO is for x86 arch and I could remove the cpu registry flag for test it in another situation. I would like to ask you if someone of us had already compiled openColorIO or Blender on ARM platform. ARM is synonymous of mobile, smartphone and others. - [x] http://radxa.com/Home

Changed status to: 'Open'

Changed status to: 'Open'
Giuseppe De Marco self-assigned this 2015-02-25 19:46:00 +01:00

Added subscriber: @demarcog83

Added subscriber: @demarcog83

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @mont29

Added subscriber: @mont29

Please:

  • Do not report build issues here, those are not bugs. They should be handled through ML (bf-committers), or directly through IRC.
  • Do not create TODO/design tasks, those are reserved to the team.
  • Note that your issue seems related to a third party library (OCIO), not related to Blender at all. I'd suggest you contact them directly, so that they update their building system to support other architectures.
Please: * Do not report build issues here, those are not bugs. They should be handled through ML (bf-committers), or directly through IRC. * Do not create TODO/design tasks, those are reserved to the team. * Note that your issue seems related to a third party library (OCIO), not related to Blender at all. I'd suggest you contact them directly, so that they update their building system to support other architectures.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 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#43813
No description provided.