Comments (9)
what error do you get? did you try a clean build?
from manifold.
manifold/CMakeFiles/manifold.dir/src/sort.cpp.o -MF CMakeFiles/manifold.dir/src/sort.cpp.o.d -o CMakeFiles/manifold.dir/src/sort.cpp.o -c /home/brian/work/manifold/manifold/src/manifold/src/sort.cpp
make[2]: *** No rule to make target 'Clipper2', needed by 'src/manifold/libmanifold.so.2.3.1'. Stop.
make[2]: Leaving directory '/home/brian/work/manifold/manifold/build'
make[1]: *** [CMakeFiles/Makefile2:584: src/manifold/CMakeFiles/manifold.dir/all] Error 2
make[1]: Leaving directory '/home/brian/work/manifold/manifold/build'
make: *** [Makefile:139: all] Error 2
./build_manifold: line 7: test/manifold_test: No such file or directory
from manifold.
build_manifold is a shell script that I use to git and buiild the latest and greatest...
rm -rf manifold
git clone --recurse-submodules https://github.com/elalish/manifold.git
cd manifold
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DMANIFOLD_JSBIND=OFF -DMANIFOLD_CBIND=ON -DMANIFOLD_PYBIND=ON -DMANIFOLD_EXPORT=OFF -DBUILD_SHARED_LIBS=ON -DMANIFOLD_TEST=ON .. && make
test/manifold_test
from manifold.
@pca006132 manifold/src/third_party has quick_hull but does not have clipper2. This is true on github when I
look there as well. It's like the submodule got removed.
from manifold.
yes I removed it, but it should get the dependency automatically
can you attach the full cmake output?
from manifold.
@pca006132 Here's the output:
out.txt
from manifold.
It is weird, pkg-config
found clipper2 but somehow make is trying to make Clipper2
target. What distribution are you using and did you run anything like cmake --install .
before?
from manifold.
can you try to add the following line to https://github.com/elalish/manifold/blob/master/manifoldDeps.cmake#L11-L14
message("Clipper2_LINK_LIBRARIES: ${Clipper2_LINK_LIBRARIES}")
message("Clipper2_INCLUDE_DIRS: ${Clipper2_INCLUDE_DIRS}")
and show me the output? e.g. for my system:
Clipper2_LINK_LIBRARIES: /nix/store/66bnx3k21rc512r2bzkzmlw6vcf435f3-clipper2-1.3.0/lib/libClipper2.so
Clipper2_INCLUDE_DIRS: /nix/store/66bnx3k21rc512r2bzkzmlw6vcf435f3-clipper2-1.3.0/include
I suspect that Clipper2_LINK_LIBRARIES
is empty in your system. In that case you probably have a faulty installation of Clipper2 and you should remove it.
from manifold.
Clipper2_LINK_LIBRARIES:
Clipper2_INCLUDE_DIRS: /usr/local/include
As far as I can tell I don't have clipper2 installed at all...
For some reason I did have clipper2 header files (no libs) in /usr/local/lib
I deleted them.
Now both messages show empty.
Still failing, doing global find for -iname clipper2
Ah found /usr/local/lib/pkgconfig/Clipper2.pc.
Removed it.
That did it... strangely I don't seem to have an actual library installed for Clipper2!
Thanks much for the help!
from manifold.
Related Issues (20)
- wasm build problem 'Failed to resolve import "./built/manifold"' HOT 7
- mesh size approximation HOT 21
- Wrong pkg-config package name for Clipper2 dependency HOT 2
- Python created object reports as non-manifold. HOT 3
- Watertightness of Mesh with an Edge Shared by 4 Faces
- vertex halfedge iterator
- Manifold 2.4.5 release tar.gz is incomplete HOT 3
- Vec out of Range HOT 8
- Python binding needs two import call HOT 4
- Manifold Decompose doesn't preserve vertex properties HOT 4
- memory leak when TBB and PSTL is enabled HOT 27
- Triangulate bug: Two separate polygons HOT 5
- [Question] robust geometric predicates, polygon triangulation
- Warning comparison of integer expressions of different signedness
- Modularize Manifold HOT 25
- Build without exceptions HOT 3
- Remove Thrust HOT 19
- How to figure out required size of mem in the C-API? HOT 1
- Crash in Project() HOT 4
- gcc14 build failure HOT 7
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 manifold.