Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure when building third-party library triangle #345

Open
HJ-Xu opened this issue Feb 11, 2023 · 4 comments
Open

Compilation failure when building third-party library triangle #345

HJ-Xu opened this issue Feb 11, 2023 · 4 comments

Comments

@HJ-Xu
Copy link

HJ-Xu commented Feb 11, 2023

The error message is as follows:

(base) xhj@ryan_server:~/PyMesh/third_party$ python build.py all
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xhj/PyMesh/third_party/build/triangle
Scanning dependencies of target triangle
[ 50%] Building C object CMakeFiles/triangle.dir/triangle.c.o
[100%] Linking C static library libtriangle.a
[100%] Built target triangle
make: *** No rule to make target 'install'. Stop.
Traceback (most recent call last):
File "/home/xhj/PyMesh/third_party/build.py", line 86, in
main();
File "/home/xhj/PyMesh/third_party/build.py", line 83, in main
build(args.package, args.cleanup);
File "/home/xhj/PyMesh/third_party/build.py", line 63, in build
build(libname, cleanup);
File "/home/xhj/PyMesh/third_party/build.py", line 79, in build
build_generic(package, cleanup=cleanup);
File "/home/xhj/PyMesh/third_party/build.py", line 54, in build_generic
subprocess.check_call(cmd.split());
File "/home/xhj/anaconda3/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '/home/xhj/PyMesh/third_party/../third_party/build/triangle', '--target', 'install']' returned non-zero exit status 2.

How do I fix this error?
I eagerly await your help, thank you!
best,
xu

@orange2350
Copy link

hi,
I would like to quest if you have solved the problem? thank U

@yanliang3612
Copy link

+1

2 similar comments
@aungpaing-gw
Copy link

+1

@sugarbeet34
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants