Comments (2)
Similarly here on Ubuntu 20.04:
tokyo@tokyo-Z87-DS3H:~/assimp2json/build$ make [ 20%] Building CXX object CMakeFiles/assimp2json.dir/assimp2json/json_exporter.cpp.o /home/tokyo/assimp2json/assimp2json/json_exporter.cpp:23:10: fatal error: assimp/../../code/BoostWorkaround/boost/scoped_ptr.hpp: No such file or directory 23 | #include <assimp/../../code/BoostWorkaround/boost/scoped_ptr.hpp> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/assimp2json.dir/build.make:76: CMakeFiles/assimp2json.dir/assimp2json/json_exporter.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/assimp2json.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
Does anyone know how to fix this? Assimp homepage, building without Boost mentions this:
``
These implementations are very limited and are not intended for use outside assimp. A compiler with full support for partial template specializations is required. To enable the workaround, put the following in your compiler's list of predefined macros:
#define ASSIMP_BUILD_BOOST_WORKAROUND
``
Where exactly does this line need to be placed in order to compile assimp without Boost, why does assimp2json use this non-intended case of assimp?
from assimp2json.
In case someone makes this mistake, I forgot to git clone assimp2json recursively, i.e. use "git clone --recurse-submodules" or "git clone" followed by "git submodule init && git submodule update" as Readme.md indicates. This seems to be an old code base that uses assimp v3 provided with it, the error above is the case when I try to use assimp2json with the assimp version 5.0.0 supplied by default on Ubuntu 20.04.
The compilation via direct "make" fails indeed on gtest as indicated at issue #17, but fortunately this is just some testing phase irrelevant to the program binary produced correctly as indicated there, "make assimp2json" works fine.
from assimp2json.
Related Issues (20)
- failure reading file HOT 1
- Failure reading file withe the win32 binaries
- What --flags are an option?
- how do we minify the JSON? HOT 2
- json2assimp
- Install with Homebrew? HOT 3
- compile error with gtest HOT 6
- /usr/bin/ld: cannot open output file assimp2json: Is a directory HOT 1
- emscriptening this thing did not quite work HOT 1
- ubuntu build error HOT 5
- "bad escaped character" error in json HOT 2
- Children not being written
- missing material properties HOT 1
- Converted models are in black sometimes HOT 2
- convert fbx to json not working HOT 1
- Compiling error with latest assimp commit HOT 3
- Allow configuration of flags
- Win32 binaries
- Make dropping lines optional?
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 assimp2json.