marovira / bsoid Goto Github PK
View Code? Open in Web Editor NEWA modern implementation of the Bsoid polygonizer
License: BSD 3-Clause "New" or "Revised" License
A modern implementation of the Bsoid polygonizer
License: BSD 3-Clause "New" or "Revised" License
Using Linux 4.15, I tried GCC 4.3, GCC 8.1, and Clang 6.0.0. The compilers all gave the same errors, although the ones I copy-paste here are from Clang.
git clone <repo>
cd bsoid
changed .gitmodules url to https://github.com/marovira/atlas
git submodule init
git submodule update
cd .. && mkdir ./build && cd ./build
cmake ../bsoid
got an error
CMake Error: Could not open file for write in copy operation /docs/Doxyfile.tmp
CMake Error: : System Error: No such file or directory
CMake Error at CMakeLists.txt:49 (configure_file):
fixed by adding to CMakeLists.txt after line 31:
set(BSOID_BINARY_DIR "${PROJECT_BINARY_DIR}")
ran make and got an error:
bsoid/source/main.cpp:103:32: error: use of undeclared identifier 'TRUE'
I changed it from TRUE to true and ran make again:
bsoid/polygonizer/uint128_t.hpp:43:30: error: constexpr function
never produces a constant expression
This function calls std::swap, which as of C++20 should work with constexpr. GCC 8.1 has support for at least some of C++20, so I tried hard-coding -std=gnu++2a in the compiler flags (confirmed it added using make VERBOSE=1), but got the same error. I re-cloned and removed the constexpr keyword instead.
Running make again:
bsoid/source/bsoid/tree/Node.cpp:29:33: error: no member named 'join' in
namespace 'atlas::utils'
This looks like a linker error. The function's declared in bsoid/lib/atlas/include/atlas/utils/BBox.hpp
and defined in bsoid/lib/atlas/source/atlas/utils/BBox.hpp, so I tried adding to the Node.cpp file:
#include <atlas/include/utils/BBox.hpp>
That didn't work. I would like to run your polygonizer, so please help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.