{"action":"created","issue":{"url":"https://api.github.com/repos/yuxng/PoseCNN/issues/28","repository_url":"https://api.github.com/repos/yuxng/PoseCNN","labels_url":"https://api.github.com/repos/yuxng/PoseCNN/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/yuxng/PoseCNN/issues/28/comments","events_url":"https://api.github.com/repos/yuxng/PoseCNN/issues/28/events","html_url":"https://github.com/yuxng/PoseCNN/issues/28","id":336510659,"node_id":"MDU6SXNzdWUzMzY1MTA2NTk=","number":28,"title":"ld cannot find -lkfusion","user":{"login":"TotoLulu94","id":19976776,"node_id":"MDQ6VXNlcjE5OTc2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/19976776?v=4","gravatar_id":"","url":"https://api.github.com/users/TotoLulu94","html_url":"https://github.com/TotoLulu94","followers_url":"https://api.github.com/users/TotoLulu94/followers","following_url":"https://api.github.com/users/TotoLulu94/following{/other_user}","gists_url":"https://api.github.com/users/TotoLulu94/gists{/gist_id}","starred_url":"https://api.github.com/users/TotoLulu94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TotoLulu94/subscriptions","organizations_url":"https://api.github.com/users/TotoLulu94/orgs","repos_url":"https://api.github.com/users/TotoLulu94/repos","events_url":"https://api.github.com/users/TotoLulu94/events{/privacy}","received_events_url":"https://api.github.com/users/TotoLulu94/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T07:49:02Z","updated_at":"2018-06-28T09:49:00Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nWhen I Run make into the build directory, I got this issue : \r\n\r\n```\r\n[ 50%] Linking CXX shared library libsynthesizer.so\r\n/usr/bin/ld: cannot find -lkfusion\r\ncollect2: error: ld returned 1 exit status\r\nCMakeFiles/synthesizer.dir/build.make:417: recipe for target 'libsynthesizer.so' failed\r\nmake[2]: *** [libsynthesizer.so] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/synthesizer.dir/all' failed\r\nmake[1]: *** [CMakeFiles/synthesizer.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\nSo I guess I have to build and compile the directory \"kinect_fusion\" in $ROOT/lib. but then, I receive this error:\r\n```\r\n[  1%] Building NVCC (Device) object CMakeFiles/kinectFusion.dir/src/voxel/kinectFusion_generated_voxelGrid.cu.o\r\n#$ _SPACE_= \r\n#$ _CUDART_=cudart\r\n#$ _HERE_=/usr/local/cuda-9.0/bin\r\n#$ _THERE_=/usr/local/cuda-9.0/bin\r\n#$ _TARGET_SIZE_=\r\n#$ _TARGET_DIR_=\r\n#$ _TARGET_DIR_=targets/x86_64-linux\r\n#$ TOP=/usr/local/cuda-9.0/bin/..\r\n#$ NVVMIR_LIBRARY_DIR=/usr/local/cuda-9.0/bin/../nvvm/libdevice\r\n#$ LD_LIBRARY_PATH=/usr/local/cuda-9.0/bin/../lib:\r\n#$ PATH=/usr/local/cuda-9.0/bin/../open64/bin:/usr/local/cuda-9.0/bin/../nvvm/bin:/usr/local/cuda-9.0/bin:/home/thomas/anaconda3/envs/poseCNN/bin:/usr/local/cuda-8.0/bin:/home/thomas/bin:/home/thomas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda-8.0/bin:/home/thomas/anaconda3/bin\r\n#$ INCLUDES=\"-I/usr/local/cuda-9.0/bin/../targets/x86_64-linux/include\"  \r\n#$ LIBRARIES=  \"-L/usr/local/cuda-9.0/bin/../targets/x86_64-linux/lib/stubs\" \"-L/usr/local/cuda-9.0/bin/../targets/x86_64-linux/lib\"\r\n#$ CUDAFE_FLAGS=\r\n#$ PTXAS_FLAGS=\r\n#$ \"/usr/bin\"/cc -std=c++11 -D__CUDA_ARCH__=610 -E -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_EXTENDED_LAMBDA__ -D__CUDACC_RELAXED_CONSTEXPR__  \"-O3\" \"-DNDEBUG\" -fPIC -O3 -I\"/usr/local/cuda-9.0/include\" -I\"/home/thomas/Desktop/PoseCNN-master/lib/kinect_fusion/include\" -I\"/usr/local/include/pangolin\" -I\"/usr/include/eigen3\" -I\"/usr/include/suitesparse\" -I\"/usr/local/include\" -I\"/usr/include\" \"-I/usr/local/cuda-9.0/bin/../targets/x86_64-linux/include\"   -D\"__CUDACC_VER_BUILD__=176\" -D\"__CUDACC_VER_MINOR__=0\" -D\"__CUDACC_VER_MAJOR__=9\" -D\"__CUDACC__\" -D\"COMPILE_DIR=\\\"/home/thomas/Desktop/PoseCNN-master/lib/kinect_fusion\\\"\" -D\"BUILD_POLY3\" -D\"BUILD_LINEAR\" -D\"NVCC\" -include \"cuda_runtime.h\" -m64 \"/home/thomas/Desktop/PoseCNN-master/lib/kinect_fusion/./src/voxel/voxelGrid.cu\" > \"/tmp/tmpxft_0000180e_00000000-4_voxelGrid.cpp1.ii\" \r\nIn file included from /usr/local/cuda-9.0/include/common_functions.h:50:0,\r\n                 from /usr/local/cuda-9.0/include/cuda_runtime.h:115,\r\n                 from <command-line>:0:\r\n/usr/local/cuda-9.0/include/crt/common_functions.h:64:24: error: token \"\"__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead.\"\" is not valid in preprocessor expressions\r\n #define __CUDACC_VER__ \"__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead.\"\r\n                        ^\r\n/usr/include/eigen3/Eigen/src/Core/util/Macros.h:364:33: note: in expansion of macro ‘__CUDACC_VER__’\r\n #if defined(__CUDACC_VER__) &&  __CUDACC_VER__ >= 70500 && __cplusplus > 199711L\r\n                                 ^\r\n# --error 0x1 --\r\nCMake Error at kinectFusion_generated_voxelGrid.cu.o.Release.cmake:219 (message):\r\n  Error generating\r\n  /home/thomas/Desktop/PoseCNN-master/lib/kinect_fusion/build/CMakeFiles/kinectFusion.dir/src/voxel/./kinectFusion_generated_voxelGrid.cu.o\r\n\r\n\r\nCMakeFiles/kinectFusion.dir/build.make:10209: recipe for target 'CMakeFiles/kinectFusion.dir/src/voxel/kinectFusion_generated_voxelGrid.cu.o' failed\r\nmake[2]: *** [CMakeFiles/kinectFusion.dir/src/voxel/kinectFusion_generated_voxelGrid.cu.o] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kinectFusion.dir/all' failed\r\nmake[1]: *** [CMakeFiles/kinectFusion.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n Has anyone encounter this ? \r\n\r\nI am using : \r\nUbuntu 16.04\r\nCuda 9.0\r\nEigen3 : (3.3~beta1-2)"},"comment":{"url":"https://api.github.com/repos/yuxng/PoseCNN/issues/comments/400979062","html_url":"https://github.com/yuxng/PoseCNN/issues/28#issuecomment-400979062","issue_url":"https://api.github.com/repos/yuxng/PoseCNN/issues/28","id":400979062,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDk3OTA2Mg==","user":{"login":"TotoLulu94","id":19976776,"node_id":"MDQ6VXNlcjE5OTc2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/19976776?v=4","gravatar_id":"","url":"https://api.github.com/users/TotoLulu94","html_url":"https://github.com/TotoLulu94","followers_url":"https://api.github.com/users/TotoLulu94/followers","following_url":"https://api.github.com/users/TotoLulu94/following{/other_user}","gists_url":"https://api.github.com/users/TotoLulu94/gists{/gist_id}","starred_url":"https://api.github.com/users/TotoLulu94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TotoLulu94/subscriptions","organizations_url":"https://api.github.com/users/TotoLulu94/orgs","repos_url":"https://api.github.com/users/TotoLulu94/repos","events_url":"https://api.github.com/users/TotoLulu94/events{/privacy}","received_events_url":"https://api.github.com/users/TotoLulu94/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T09:49:00Z","updated_at":"2018-06-28T09:49:00Z","author_association":"NONE","body":"I finally used Cuda 8.0 and it worked out great !"}}
{"actor":{"display_login":"TotoLulu94"}}