taccospray's Issues
Building OSPRay from the container fails - c++: error: unrecognized command line option ‘-mprefer-vector-width=256’
[ 44%] Generating ../geometry/instance_intersector.cpp.avx512.cpp
[ 45%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_4i_mb.cpp.sse42.cpp.o
[ 46%] Building CXX object kernels/CMakeFiles/embree_avx512.dir/__/geometry/instance_intersector.cpp.avx512.cpp.o
c++: error: unrecognized command line option ‘-mprefer-vector-width=256’
kernels/CMakeFiles/embree_avx512.dir/build.make:231: recipe for target 'kernels/CMakeFiles/embree_avx512.dir/__/geometry/instance_intersector.cpp.avx512.cpp.o' failed
make[5]: *** [kernels/CMakeFiles/embree_avx512.dir/__/geometry/instance_intersector.cpp.avx512.cpp.o] Error 1
CMakeFiles/Makefile2:593: recipe for target 'kernels/CMakeFiles/embree_avx512.dir/all' failed
make[4]: *** [kernels/CMakeFiles/embree_avx512.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 46%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/curve_intersector_virtual_4v.cpp.avx2.cpp.o
[ 47%] Linking CXX static library ../../liblexers.a
[ 47%] Built target lexers
[ 48%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_4v.cpp.avx.cpp.o
[ 49%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/curve_intersector_virtual_4i.cpp.avx2.cpp.o
[ 49%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_4i.cpp.avx.cpp.o
[ 49%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_4i_mb.cpp.avx.cpp.o
[ 49%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/curve_intersector_virtual_4i_mb.cpp.avx2.cpp.o
[ 49%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_8v.cpp.sse42.cpp.o
[ 49%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_8i.cpp.sse42.cpp.o
[ 50%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_8i_mb.cpp.sse42.cpp.o
[ 50%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/curve_intersector_virtual_8v.cpp.avx2.cpp.o
[ 50%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector1_bvh4.cpp.sse42.cpp.o
[ 50%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/curve_intersector_virtual_8i.cpp.avx2.cpp.o
[ 50%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/common/scene_subdiv_mesh.cpp.sse42.cpp.o
[ 50%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_8v.cpp.avx.cpp.o
[ 51%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_8i.cpp.avx.cpp.o
[ 52%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/curve_intersector_virtual_8i_mb.cpp.avx2.cpp.o
[ 52%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/geometry/grid_soa.cpp.sse42.cpp.o
[ 52%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_8i_mb.cpp.avx.cpp.o
[ 53%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/subdiv/subdivpatch1base_eval.cpp.sse42.cpp.o
[ 53%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector_hybrid4_bvh4.cpp.sse42.cpp.o
[ 53%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector1_bvh4.cpp.avx2.cpp.o
[ 53%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_user_geometry.cpp.avx2.cpp.o
[ 54%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_instance.cpp.avx2.cpp.o
[ 54%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_triangle_mesh.cpp.avx2.cpp.o
[ 54%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_quad_mesh.cpp.avx2.cpp.o
[ 54%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector_stream_bvh4.cpp.sse42.cpp.o
[ 54%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector1_bvh4.cpp.avx.cpp.o
[ 54%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_curves.cpp.avx2.cpp.o
[ 55%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_line_segments.cpp.avx2.cpp.o
[ 56%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/primitive8.cpp.avx.cpp.o
[ 57%] Building CXX object kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector_stream_filters.cpp.sse42.cpp.o
[ 57%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_user_geometry.cpp.avx.cpp.o
[ 57%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_instance.cpp.avx.cpp.o
[ 57%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_triangle_mesh.cpp.avx.cpp.o
[ 58%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_quad_mesh.cpp.avx.cpp.o
[ 58%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_grid_mesh.cpp.avx2.cpp.o
[ 58%] Linking CXX static library ../libembree_sse42.a
[ 58%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_curves.cpp.avx.cpp.o
[ 58%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_line_segments.cpp.avx.cpp.o
[ 58%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_points.cpp.avx2.cpp.o
[ 59%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_grid_mesh.cpp.avx.cpp.o
[ 59%] Built target embree_sse42
[ 60%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_collider.cpp.avx2.cpp.o
[ 60%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_refit.cpp.avx2.cpp.o
[ 60%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder.cpp.avx2.cpp.o
[ 60%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_hair.cpp.avx2.cpp.o
[ 60%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_points.cpp.avx.cpp.o
[ 61%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_hair_mb.cpp.avx2.cpp.o
[ 61%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_collider.cpp.avx.cpp.o
[ 61%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_sah.cpp.avx2.cpp.o
[ 61%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_sah_spatial.cpp.avx2.cpp.o
[ 61%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_refit.cpp.avx.cpp.o
[ 62%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder.cpp.avx.cpp.o
[ 63%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_sah_mb.cpp.avx2.cpp.o
[ 63%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_twolevel.cpp.avx2.cpp.o
[ 63%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_subdiv.cpp.avx2.cpp.o
[ 63%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_hair.cpp.avx.cpp.o
[ 63%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_builder_morton.cpp.avx2.cpp.o
[ 64%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_rotate.cpp.avx2.cpp.o
[ 64%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_hair_mb.cpp.avx.cpp.o
[ 65%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_sah.cpp.avx.cpp.o
[ 65%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/builders/primrefgen.cpp.avx2.cpp.o
[ 65%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_sah_spatial.cpp.avx.cpp.o
[ 65%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_sah_mb.cpp.avx.cpp.o
[ 65%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector1_bvh8.cpp.avx2.cpp.o
[ 65%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_twolevel.cpp.avx.cpp.o
[ 66%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/common/scene_subdiv_mesh.cpp.avx2.cpp.o
[ 67%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_subdiv.cpp.avx.cpp.o
[ 67%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/geometry/grid_soa.cpp.avx2.cpp.o
[ 67%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/subdiv/subdivpatch1base_eval.cpp.avx2.cpp.o
[ 67%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_hybrid4_bvh4.cpp.avx2.cpp.o
[ 68%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_stream_bvh4.cpp.avx2.cpp.o
[ 68%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_stream_filters.cpp.avx2.cpp.o
[ 68%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_builder_morton.cpp.avx.cpp.o
[ 68%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_hybrid8_bvh4.cpp.avx2.cpp.o
[ 68%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_hybrid4_bvh8.cpp.avx2.cpp.o
[ 68%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_rotate.cpp.avx.cpp.o
[ 69%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_hybrid8_bvh8.cpp.avx2.cpp.o
[ 70%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/builders/primrefgen.cpp.avx.cpp.o
[ 70%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector1_bvh8.cpp.avx.cpp.o
[ 70%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh.cpp.avx.cpp.o
[ 70%] Building CXX object kernels/CMakeFiles/embree_avx2.dir/__/bvh/bvh_intersector_stream_bvh8.cpp.avx2.cpp.o
[ 70%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_statistics.cpp.avx.cpp.o
[ 71%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/common/scene_subdiv_mesh.cpp.avx.cpp.o
[ 71%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/geometry/grid_soa.cpp.avx.cpp.o
[ 71%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/subdiv/subdivpatch1base_eval.cpp.avx.cpp.o
[ 71%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_hybrid4_bvh4.cpp.avx.cpp.o
[ 72%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_stream_bvh4.cpp.avx.cpp.o
[ 72%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_stream_filters.cpp.avx.cpp.o
[ 72%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_hybrid8_bvh4.cpp.avx.cpp.o
[ 73%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_hybrid4_bvh8.cpp.avx.cpp.o
[ 73%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_hybrid8_bvh8.cpp.avx.cpp.o
[ 73%] Linking CXX static library ../libembree_avx2.a
[ 73%] Building CXX object kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector_stream_bvh8.cpp.avx.cpp.o
[ 73%] Built target embree_avx2
[ 73%] Linking CXX static library ../libembree_avx.a
[ 73%] Built target embree_avx
Makefile:155: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/embree.dir/build.make:85: recipe for target 'embree/stamp/embree-build' failed
make[2]: *** [embree/stamp/embree-build] Error 2
CMakeFiles/Makefile2:206: recipe for target 'CMakeFiles/embree.dir/all' failed
make[1]: *** [CMakeFiles/embree.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
I was able to create a container from the Dockerfile. From the container, I was trying to build OSPRay v2.10.0 (using CMake Superbuild). The build fails when it tries to build Embree. However, building OSPRay Studio v0.11.1 works fine (using CMake Superbuild).
FROM ubuntu:18.04
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.