DanielVanNoord / open-phd-guiding

Automatically exported from code.google.com/p/open-phd-guiding
0 stars 0 forks source link

Compile Error #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.cmake PHD
2.make
3.lorne@nosferatu:~/PHD$ make -B
[  3%] Building CXX object CMakeFiles/PHD.dir/camera.cpp.o
[  6%] Building CXX object CMakeFiles/PHD.dir/cam_INDI.cpp.o
[  9%] Building CXX object CMakeFiles/PHD.dir/cam_SBIG.cpp.o
[ 12%] Building CXX object CMakeFiles/PHD.dir/cam_simulator.cpp.o
[ 16%] Building CXX object CMakeFiles/PHD.dir/canvas.cpp.o
[ 19%] Building CXX object CMakeFiles/PHD.dir/config_INDI.cpp.o
[ 22%] Building CXX object CMakeFiles/PHD.dir/eegg.cpp.o
[ 25%] Building CXX object CMakeFiles/PHD.dir/frame_events.cpp.o
[ 29%] Building CXX object CMakeFiles/PHD.dir/graph.cpp.o
[ 32%] Building CXX object CMakeFiles/PHD.dir/guide_routines.cpp.o
[ 35%] Building CXX object CMakeFiles/PHD.dir/image_math.cpp.o
[ 38%] Building CXX object CMakeFiles/PHD.dir/phd.cpp.o
[ 41%] Building CXX object CMakeFiles/PHD.dir/prefs.cpp.o
[ 45%] Building CXX object CMakeFiles/PHD.dir/scope.cpp.o
[ 48%] Building CXX object CMakeFiles/PHD.dir/socket_server.cpp.o
[ 51%] Building CXX object CMakeFiles/PHD.dir/tele_INDI.cpp.o
[ 54%] Building CXX object CMakeFiles/PHD.dir/usImage.cpp.o
[ 58%] Building C object CMakeFiles/PHD.dir/libindiclient/indi.c.o
[ 61%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indigui.cpp.o
[ 64%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_io.cpp.o
[ 67%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_list.cpp.o
[ 70%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_config.cpp.o
[ 74%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indisave.cpp.o
[ 77%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/wxled.cpp.o
[ 80%] Building CXX object 
CMakeFiles/PHD.dir/libindiclient/wx/wxchecktreectrl.cpp.o
[ 83%] Building C object CMakeFiles/PHD.dir/libindiclient/base64.c.o
[ 87%] Building C object CMakeFiles/PHD.dir/libindiclient/lilxml.c.o
[ 90%] Building CXX object CMakeFiles/PHD.dir/cam_VIDEODEVICE.cpp.o
[ 93%] Building CXX object CMakeFiles/PHD.dir/config_VIDEODEVICE.cpp.o
[ 96%] Building CXX object CMakeFiles/PHD.dir/v4lcontrol.cpp.o
[100%] Building CXX object CMakeFiles/PHD.dir/cameras/linuxvideodevice.cpp.o
Linking CXX executable PHD
/usr/bin/ld: cannot open output file PHD: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [PHD] Error 1
make[1]: *** [CMakeFiles/PHD.dir/all] Error 2
make: *** [all] Error 2
lorne@nosferatu:~/PHD$ 

What is the expected output? What do you see instead?
lorne@nosferatu:~/PHD$ make -B
[  3%] Building CXX object CMakeFiles/PHD.dir/camera.cpp.o
[  6%] Building CXX object CMakeFiles/PHD.dir/cam_INDI.cpp.o
[  9%] Building CXX object CMakeFiles/PHD.dir/cam_SBIG.cpp.o
[ 12%] Building CXX object CMakeFiles/PHD.dir/cam_simulator.cpp.o
[ 16%] Building CXX object CMakeFiles/PHD.dir/canvas.cpp.o
[ 19%] Building CXX object CMakeFiles/PHD.dir/config_INDI.cpp.o
[ 22%] Building CXX object CMakeFiles/PHD.dir/eegg.cpp.o
[ 25%] Building CXX object CMakeFiles/PHD.dir/frame_events.cpp.o
[ 29%] Building CXX object CMakeFiles/PHD.dir/graph.cpp.o
[ 32%] Building CXX object CMakeFiles/PHD.dir/guide_routines.cpp.o
[ 35%] Building CXX object CMakeFiles/PHD.dir/image_math.cpp.o
[ 38%] Building CXX object CMakeFiles/PHD.dir/phd.cpp.o
[ 41%] Building CXX object CMakeFiles/PHD.dir/prefs.cpp.o
[ 45%] Building CXX object CMakeFiles/PHD.dir/scope.cpp.o
[ 48%] Building CXX object CMakeFiles/PHD.dir/socket_server.cpp.o
[ 51%] Building CXX object CMakeFiles/PHD.dir/tele_INDI.cpp.o
[ 54%] Building CXX object CMakeFiles/PHD.dir/usImage.cpp.o
[ 58%] Building C object CMakeFiles/PHD.dir/libindiclient/indi.c.o
[ 61%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indigui.cpp.o
[ 64%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_io.cpp.o
[ 67%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_list.cpp.o
[ 70%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_config.cpp.o
[ 74%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indisave.cpp.o
[ 77%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/wxled.cpp.o
[ 80%] Building CXX object 
CMakeFiles/PHD.dir/libindiclient/wx/wxchecktreectrl.cpp.o
[ 83%] Building C object CMakeFiles/PHD.dir/libindiclient/base64.c.o
[ 87%] Building C object CMakeFiles/PHD.dir/libindiclient/lilxml.c.o
[ 90%] Building CXX object CMakeFiles/PHD.dir/cam_VIDEODEVICE.cpp.o
[ 93%] Building CXX object CMakeFiles/PHD.dir/config_VIDEODEVICE.cpp.o
[ 96%] Building CXX object CMakeFiles/PHD.dir/v4lcontrol.cpp.o
[100%] Building CXX object CMakeFiles/PHD.dir/cameras/linuxvideodevice.cpp.o
Linking CXX executable PHD
/usr/bin/ld: cannot open output file PHD: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [PHD] Error 1
make[1]: *** [CMakeFiles/PHD.dir/all] Error 2
make: *** [all] Error 2
lorne@nosferatu:~/PHD$ 

What version of the product are you using? On what operating system?
Source Code on this site

Please provide any additional information below.

I am getting a smooth compile intill link

Original issue reported on code.google.com by LorneR...@gmail.com on 17 Jun 2010 at 7:16

GoogleCodeExporter commented 9 years ago
Do you have a directory'PHD' at the root of your build env?
an ls -l at the root level would be helpful.  There should be no such directory 
after an svn checkout

Original comment by geoffr...@gmail.com on 17 Jun 2010 at 10:06

GoogleCodeExporter commented 9 years ago
I have it figured out now, I compile directory to open-phd-guiding, and it 
compiled and works very well, I have not used cmake since FreeBSD and forgot 
about naming syntax errors while compiling.

Original comment by LorneR...@gmail.com on 17 Jun 2010 at 10:58

GoogleCodeExporter commented 9 years ago

Original comment by geoffr...@gmail.com on 17 Jun 2010 at 11:56