Comments (4)
Attached patch got it compiling for me, though I'm having GL issues (old graphics card) so I can't tell if this is a proper fix (or I'd just PR it). Can you please test it and let me know?
from libfive.
Disregard, sorry. Different issue.
from libfive.
I got the following two errors for the same file (evaluator.cpp
).
../kernel/src/eval/evaluator.cpp: In constructor ‘Evaluator::Evaluator(const Tree*, const mat4&)’:
../kernel/src/eval/evaluator.cpp:49:17: error: ‘align’ is not a member of ‘std’
std::align(alignment, sizeof(Clause) * count, buf, bytes));
^
../kernel/src/eval/evaluator.cpp: In function ‘void clause(Opcode, const float*, const float*, float*, size_t)’:
../kernel/src/eval/evaluator.cpp:197:32: error: ‘isnan’ was not declared in this scope
out[i] = isnan(a[i]) ? b[i] : a[i];
^
It turns out gcc-4.9
has a bug in that it's missing std::align
(issue here), so I replaced the call with the fix supplied in the end of that thread.
As for the isnan
error, you can just replace it with std::isnan
.
The patch for both changes is available here.
Edit: @sethalves has a pull request patching these changes (with appropriate compiler directives) in #8.
from libfive.
I've brought in @sethalves 's patches and it looks like @poppingtonic has gotten past this stage (and is having different issues in #11).
from libfive.
Related Issues (20)
- Output final optimized tree as JSON? HOT 1
- nodejs bindings HOT 4
- frac function? Edit: Solved! Use mod 1! HOT 4
- I cant see a Window when opening Libfive Studio HOT 2
- Stream meshing immediately to STL? HOT 2
- Compiling on Fedore FC37 HOT 1
- Problem to compile libfive on FC37 HOT 8
- Embed Libfive in an application - general SDF Question HOT 4
- Feature request: Separate bounds/resolutions for different objects in the same scene? HOT 2
- Return multiple shapes without using union, in Python? HOT 4
- New url for inspekt3d HOT 2
- Double free or corruption error when trying to use libfive HOT 3
- Expose normals in libfive_mesh HOT 2
- Does Mesh::render consume the libfive_tree? HOT 3
- Unioning nothing at the top level causes things to mesh very slow HOT 6
- koffi and ffi-napi both segfault when meshing non-trivial models HOT 6
- Publish new release and set soversion for building shared libraries
- I've packaged this for OpenSuse
- Feature resolution is unexpectedly impacted by the size of the bounding box HOT 3
- Crash in DCTree<3u>::intersection
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 libfive.