Comments (7)
In the latest commit, AVX is now disabled by default, since it was causing compilation errors on multiple platforms and does not provide much performance benefit.
Does this fix it for you?
from tungsten.
Same error, but coming from another file
make
Scanning dependencies of target core
[ 0%] Building CXX object CMakeFiles/core.dir/src/core/materials/ConstantTexture.cpp.o
[ 1%] Building CXX object CMakeFiles/core.dir/src/core/materials/DiskTexture.cpp.o
[ 2%] Building CXX object CMakeFiles/core.dir/src/core/materials/Texture.cpp.o
[ 3%] Building CXX object CMakeFiles/core.dir/src/core/materials/BladeTexture.cpp.o
[ 4%] Building CXX object CMakeFiles/core.dir/src/core/materials/CheckerTexture.cpp.o
[ 4%] Building CXX object CMakeFiles/core.dir/src/core/materials/BitmapTexture.cpp.o
[ 5%] Building CXX object CMakeFiles/core.dir/src/core/renderer/Renderer.cpp.o
In file included from /media/disk3/playground/tungsten/src/thirdparty/embree/simd/avx.h:24:0,
from /media/disk3/playground/tungsten/src/thirdparty/embree/simd/simd.h:33,
from /media/disk3/playground/tungsten/src/thirdparty/embree/math/linearspace3.h:22,
from /media/disk3/playground/tungsten/src/thirdparty/embree/math/affinespace.h:20,
from /media/disk3/playground/tungsten/src/thirdparty/embree/common/../common/default.h:33,
from /media/disk3/playground/tungsten/src/thirdparty/embree/common/ray.h:24,
from /media/disk3/playground/tungsten/src/core/primitives/EmbreeUtil.hpp:8,
from /media/disk3/playground/tungsten/src/core/renderer/TraceableScene.hpp:7,
from /media/disk3/playground/tungsten/src/core/renderer/Renderer.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/fmaintrin.h:32:3: error: #error "FMA instruction set not enabled"
# error "FMA instruction set not enabled"
^
make[2]: *** [CMakeFiles/core.dir/src/core/renderer/Renderer.cpp.o] Error 1
make[1]: *** [CMakeFiles/core.dir/all] Error 2
make: *** [all] Error 2
from tungsten.
That's strange, it looks like the AVX define is still set. Did you start from a clean build, i.e. completely remove the build folder and rerun CMake before running make?
from tungsten.
I even did removing the whole repo and made a checkout again.
from tungsten.
It's difficult to figure out what's going on from this end, but replacing Embree with a custom solution has been on the timeline for a while now.
Apart from removing a fairly large dependency, it should also resolve the compilation errors various people have been getting. Sorry for the wait while I finish work on this.
from tungsten.
Fortunately, I met another person with the same compilation error and was able to track down the cause. I just pushed another CMake tweak that fixed it for that person - if you're still willing to test this, can you confirm that this fixes it on your system as well?
from tungsten.
Yep, compilation now succeded.
from tungsten.
Related Issues (20)
- Question about sampleM in HairBCSDF
- editor.exe demands qt platform on windows HOT 1
- Radiance scaling due to solid angle compression for light transmission HOT 2
- fixed
- Rendering "Moana Island Scene" HOT 1
- Relative mean square error HOT 1
- Rotation matrix formula inconsistency? HOT 2
- build error core.lib HOT 2
- How to get EXR image. HOT 3
- Example scene with .vdb file HOT 2
- Far slower than the binary version HOT 1
- Debug/core.lib HOT 1
- About “seed” parameter in script tungsten.exe HOT 2
- About render elments . HOT 1
- Editor randomly crashes on macOS HOT 2
- Cannot Compile Master on Windows
- Why do output buffers contain noises? HOT 1
- the default far plane, near plane, and clip coordinates HOT 2
- About customizing ray directions
- How to cite this renderer? HOT 2
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.
from tungsten.