dart icon indicating copy to clipboard operation
dart copied to clipboard

Problem of compiling the demo

Open YantianZha opened this issue 8 years ago • 1 comments

Hello,

I'm having a problem of compiling the "track_space_justin_demo.cpp" file in the demo. I used the command "g++ -I Pangolin/include/ -I Pangolin/build/src/include/ -I /usr/include/eigen3/ -I /usr/local/cuda/include/ -I src/ dartExample/track_space_justin_demo.cpp -std=c++11 ". The screenshot of some parts of the error is shown below: screenshot from 2018-04-08 12-05-1311

Thanks!

YantianZha avatar Apr 08 '18 19:04 YantianZha

Dart includes CUDA code which is compiled with nvcc, Nvidia's compiler with gpu extensions for c++. You should compile using cmake instead of doing it directly

xclucas avatar Mar 07 '22 03:03 xclucas