-
Notifications
You must be signed in to change notification settings - Fork 213
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
cmake error in ply_c #138
Comments
Hi, what did your set CONDAENV to? and what is the results of
in a terminal? |
@loicland Please have a llook |
CONDAENV should be more like something like Find it by typing |
@loicland |
In ply_c while doing MAKE, I am getting following error: [ 50%] Building CXX object CMakeFiles/ply_c.dir/ply_c.cpp.o |
Have you tried the latest commit? Otherwise reinstall Eigen. |
I tried the commit which was there 24 hours ago approx |
@loicland **BUT, NOW I AM GETTING FOLLOWING ISSUE:- fatal error: pyconfig.h: No such file or directory** |
Check whether your anaconda is using python3.6m, and if not adapt the cmake options (and dont forget to destroy all the cmakefiles). |
Thanks, it worked, I changed to 3.7m in cmake, because thats what I had in my cmake Now @loicland cmake .. -DPYTHON_LIBRARY=$CONDAENV/lib/libpython3.7m.so -DPYTHON_INCLUDE_DIR=$CONDAENV/include/python3.7m -DBOOST_INCLUDEDIR=$CONDAENV/include -DEIGEN3_INCLUDE_DIR=$CONDAENV/include/eigen3 |
you should remove the |
@loicland |
Have you tried the symbolic link fix I added today to the readme? Otherwise replace in cut pursuit /sec/cmakeist |
@loicland |
Anywhere bumpy appears. But try the symbolic link first. And dont forget to remove makefiles etc... after the changes. |
@loicland
-- Build files have been written to: /home/spartan/Desktop/superpoint_graph/partition/cut-pursuit/build But now make has some issues:- include <pyconfig.h>
src/CMakeFiles/cp.dir/build.make:62: recipe for target 'src/CMakeFiles/cp.dir/cutpursuit.cpp.o' failed |
This thread adapted to your python version. |
No again a warning has popped up. |
I tried various other things to export path, but issue persists.... Please have a look |
@loicland : Have a look at this too |
While doing cmake, I was getting following cmake-warning. |
Isn't your python version 3.7m? Try the export with this, and dont forget to erase the cmakefiles before. |
@loicland : What do you think might be causing the same and what can I do to rectify it For your reference:- |
@loicland |
Your path has an upper case to the first letter of Anaconda which is not the case in your drive. |
Yep, it's done. Choose a dataset, open its .md file and follow the instructions. Or run the test.py function of cut pursuit. |
@loicland : I tried putting pretrained models in results/s3dis/pretrained/best after extracting like this:_ Then, I put test.sh in Desktop/superpoint_graph like this:- Then after running this on terminal I get this:- @loicland |
On running ./test.sh , I get something like this:- original error: libcublas.so.9.0: cannot open shared object file: No such file or directory |
you can use the option Also it seems that cupy is not found. Try to install it through conda:
|
You won't be able to install cupy if you don't have the nvidia drivers or no GPU, which is fine. With the flag above it should all work. |
@loicland @nicolas-chaulet Then I updated test.sh, located here:- I tried testing with test.sh containing all this:- On doing pip freeze I get this:- I tried removing the one I did try running through through conda's cupy but I get error when running test.sh:- Also, when I tried running through only cupy-cuda90==6.2.0 installed, I was still getting errors.(same has been attached in my previous yesterday's message) @loicland @nicolas-chaulet |
what are the output of: |
On running nvcc --version, I get:- Also, conda list gives the following:- WARNING: The conda.compat module is deprecated and will be removed in a future release. packages in environment at /home/spartan/anaconda3/envs/my_env:Name Version Build Channel_libgcc_mutex 0.1 main |
Hi, pull a fresh commit, it seems like your @nicolas-chaulet I see you added a I don't see pytroch in either your pip or conda install. In a terminal, run:
|
Your S3DIS_DIR folder should have a |
How to solve this compilation error? Thanks. |
While running cmake . -DPYTHON_LIBRARY=$CONDAENV/lib/libpython3.6m.so -DPYTHON_INCLUDE_DIR=$CONDAENV/include/python3.6m -DBOOST_INCLUDEDIR=$CONDAENV/include -DEIGEN3_INCLUDE_DIR=$CONDAENV/include/eigen3
I am getting an error that boost is too old, despite of installing boost 1.66.
What all can I do to make this work?
The text was updated successfully, but these errors were encountered: