Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Hi,
the library versions look good, as far as i can tell, and a missing one would
lead to a different error message.
Could You please add the complete console output (starting with 'cmake .') as
well, that'd be great?!
As a sidenote - could You try to compile the program without 'sudo', please?
You could e.g. use the '/tmp' directory for that purpose.
Regards,
Steffen
Original comment by steffen....@gmail.com
on 8 Jun 2011 at 6:17
OK, the whole shebang :)
darren@frodo2 /tmp $ svn checkout
http://open-phd-guiding.googlecode.com/svn/trunk/ open-phd-guiding-read-only
A open-phd-guiding-read-only/usImage.h
A open-phd-guiding-read-only/graph.cpp
A open-phd-guiding-read-only/GC_USBST4.h
A open-phd-guiding-read-only/ascom.cpp
A open-phd-guiding-read-only/cam_INDI.cpp
A open-phd-guiding-read-only/cam_simulator.h
A open-phd-guiding-read-only/v4lcontrol.cpp
A open-phd-guiding-read-only/cam_VIDEODEVICE.cpp
A open-phd-guiding-read-only/eegg.cpp
A open-phd-guiding-read-only/config_INDI.cpp
A open-phd-guiding-read-only/cam_SBIG.h
A open-phd-guiding-read-only/scope.h
A open-phd-guiding-read-only/prefs.cpp
A open-phd-guiding-read-only/config_VIDEODEVICE.h
A open-phd-guiding-read-only/phd.h
A open-phd-guiding-read-only/PHDGuideHelp.zip
A open-phd-guiding-read-only/cam_ascom.cpp
A open-phd-guiding-read-only/socket_server.h
A open-phd-guiding-read-only/extras
A open-phd-guiding-read-only/extras/cam_QGuide.cpp
A open-phd-guiding-read-only/extras/cam_LEwebcam.cpp
A open-phd-guiding-read-only/extras/cam_SXV.cpp
A open-phd-guiding-read-only/extras/cam_SAC42.h
A open-phd-guiding-read-only/extras/cam_firewire.h
A open-phd-guiding-read-only/extras/cam_QGuide.h
A open-phd-guiding-read-only/extras/cam_Starfish.cpp
A open-phd-guiding-read-only/extras/cam_LEwebcam.h
A open-phd-guiding-read-only/extras/cam_SXV.h
A open-phd-guiding-read-only/extras/cam_firewire_IC.cpp
A open-phd-guiding-read-only/extras/cam_wdm.cpp
A open-phd-guiding-read-only/extras/cam_Starfish.h
A open-phd-guiding-read-only/extras/cam_WDM.h
A open-phd-guiding-read-only/extras/cam_Atik16.cpp
A open-phd-guiding-read-only/extras/cam_VFW.cpp
A open-phd-guiding-read-only/extras/cam_Atik16.h
A open-phd-guiding-read-only/extras/ShoeString.cpp
A open-phd-guiding-read-only/extras/cam_firewire_OSX.cpp
A open-phd-guiding-read-only/extras/cam_VFW.h
A open-phd-guiding-read-only/extras/cam_ascomlate.cpp
A open-phd-guiding-read-only/extras/ShoeString.h
A open-phd-guiding-read-only/extras/cam_SAC42.cpp
A open-phd-guiding-read-only/INSTALL
A open-phd-guiding-read-only/guide_routines.cpp
A open-phd-guiding-read-only/cmake_modules
A open-phd-guiding-read-only/cmake_modules/FindCFITSIO.cmake
A open-phd-guiding-read-only/cmake_modules/FindZLIB.cmake
A open-phd-guiding-read-only/cmake_modules/FindASCOM_INTERFACE.cmake
A open-phd-guiding-read-only/libindiclient
A open-phd-guiding-read-only/libindiclient/indi_io.h
A open-phd-guiding-read-only/libindiclient/lilxml.c
A open-phd-guiding-read-only/libindiclient/indi_list.h
A open-phd-guiding-read-only/libindiclient/indi.c
A open-phd-guiding-read-only/libindiclient/base64.c
A open-phd-guiding-read-only/libindiclient/lilxml.h
A open-phd-guiding-read-only/libindiclient/indi.h
A open-phd-guiding-read-only/libindiclient/base64.h
A open-phd-guiding-read-only/libindiclient/CMakeLists.txt
A open-phd-guiding-read-only/libindiclient/README
A open-phd-guiding-read-only/libindiclient/wx
A open-phd-guiding-read-only/libindiclient/wx/bitmaps
A open-phd-guiding-read-only/libindiclient/wx/bitmaps/checked_dis.xpm
A open-phd-guiding-read-only/libindiclient/wx/bitmaps/checked.xpm
A open-phd-guiding-read-only/libindiclient/wx/bitmaps/unchecked_dis.xpm
A open-phd-guiding-read-only/libindiclient/wx/bitmaps/unchecked.xpm
A open-phd-guiding-read-only/libindiclient/wx/indi_list.cpp
A open-phd-guiding-read-only/libindiclient/wx/wxchecktreectrl.cpp
A open-phd-guiding-read-only/libindiclient/wx/indisave.cpp
A open-phd-guiding-read-only/libindiclient/wx/wxled.cpp
A open-phd-guiding-read-only/libindiclient/wx/wxchecktreectrl.h
A open-phd-guiding-read-only/libindiclient/wx/indi_main.cpp
A open-phd-guiding-read-only/libindiclient/wx/indisave.h
A open-phd-guiding-read-only/libindiclient/wx/indi_config.cpp
A open-phd-guiding-read-only/libindiclient/wx/wxled.h
A open-phd-guiding-read-only/libindiclient/wx/indigui.cpp
A open-phd-guiding-read-only/libindiclient/wx/indi_io.cpp
A open-phd-guiding-read-only/libindiclient/indi_config.h
A open-phd-guiding-read-only/libindiclient/indigui.h
A open-phd-guiding-read-only/camera.cpp
A open-phd-guiding-read-only/usImage.cpp
A open-phd-guiding-read-only/simimage.fit
A open-phd-guiding-read-only/CMakeLists.txt
A open-phd-guiding-read-only/GC_USBST4.cpp
A open-phd-guiding-read-only/cam_simulator.cpp
A open-phd-guiding-read-only/image_math.h
A open-phd-guiding-read-only/cam_template.h
A open-phd-guiding-read-only/tele_INDI.h
A open-phd-guiding-read-only/cam_SBIG.cpp
A open-phd-guiding-read-only/graph.h
A open-phd-guiding-read-only/ChangeLog
A open-phd-guiding-read-only/ascom.h
A open-phd-guiding-read-only/cam_INDI.h
A open-phd-guiding-read-only/scope.cpp
A open-phd-guiding-read-only/phd.cpp
A open-phd-guiding-read-only/v4lcontrol.h
A open-phd-guiding-read-only/canvas.cpp
A open-phd-guiding-read-only/cam_VIDEODEVICE.h
A open-phd-guiding-read-only/config_VIDEODEVICE.cpp
A open-phd-guiding-read-only/socket_server.cpp
A open-phd-guiding-read-only/frame_events.cpp
A open-phd-guiding-read-only/README.MSVC
A open-phd-guiding-read-only/cam_ascom.h
A open-phd-guiding-read-only/cameras
A open-phd-guiding-read-only/cameras/linuxvideodevice.cpp
A open-phd-guiding-read-only/cameras/sbigudrv.h
A open-phd-guiding-read-only/cameras/linuxvideodevice.h
A open-phd-guiding-read-only/icons
A open-phd-guiding-read-only/icons/loop3.xpm
A open-phd-guiding-read-only/icons/brain1.xpm
A open-phd-guiding-read-only/icons/brain1_disable.xpm
A open-phd-guiding-read-only/icons/measure.xpm
A open-phd-guiding-read-only/icons/cam2.xpm
A open-phd-guiding-read-only/icons/stop1.xpm
A open-phd-guiding-read-only/icons/scope1.xpm
A open-phd-guiding-read-only/icons/sm_PHD.xpm
A open-phd-guiding-read-only/icons/phd.xpm
A open-phd-guiding-read-only/cam_template.cpp
A open-phd-guiding-read-only/image_math.cpp
A open-phd-guiding-read-only/tele_INDI.cpp
A open-phd-guiding-read-only/xhair.xpm
A open-phd-guiding-read-only/camera.h
A open-phd-guiding-read-only/PHD.cbp
U open-phd-guiding-read-only
Checked out revision 74.
darren@frodo2 /tmp $ cd open-phd-guiding-read-only
darren@frodo2 /tmp/open-phd-guiding-read-only $ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- checking for module 'libudev'
-- found libudev, version 167
-- checking for modules 'libv4l2;libv4lconvert'
-- found libv4l2, version 0.8.3
-- found libv4lconvert, version 0.8.3
-- Found wxWidgets: TRUE
-- found version string 3.26
-- Found CFITSIO 3.26: /usr/lib/libcfitsio.so
-- Found ZLIB: /usr/include
-- Performing Test COMPILER_SUPPORTS_WARNINGS
-- Performing Test COMPILER_SUPPORTS_WARNINGS - Success
-- Performing Test COMPILER_SUPPORTS_WALL
-- Performing Test COMPILER_SUPPORTS_WALL - Success
-- Performing Test COMPILER_SUPPORTS_WEXTRA
-- Performing Test COMPILER_SUPPORTS_WEXTRA - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/open-phd-guiding-read-only
darren@frodo2 /tmp/open-phd-guiding-read-only $ make
Scanning dependencies of target PHD
[ 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
[ 15%] Building CXX object CMakeFiles/PHD.dir/canvas.cpp.o
[ 18%] Building CXX object CMakeFiles/PHD.dir/config_INDI.cpp.o
[ 21%] Building CXX object CMakeFiles/PHD.dir/eegg.cpp.o
[ 25%] Building CXX object CMakeFiles/PHD.dir/frame_events.cpp.o
[ 28%] Building CXX object CMakeFiles/PHD.dir/graph.cpp.o
[ 31%] Building CXX object CMakeFiles/PHD.dir/guide_routines.cpp.o
[ 34%] Building CXX object CMakeFiles/PHD.dir/image_math.cpp.o
[ 37%] Building CXX object CMakeFiles/PHD.dir/phd.cpp.o
[ 40%] Building CXX object CMakeFiles/PHD.dir/prefs.cpp.o
[ 43%] Building CXX object CMakeFiles/PHD.dir/scope.cpp.o
[ 46%] Building CXX object CMakeFiles/PHD.dir/socket_server.cpp.o
[ 50%] Building CXX object CMakeFiles/PHD.dir/tele_INDI.cpp.o
[ 53%] Building CXX object CMakeFiles/PHD.dir/usImage.cpp.o
[ 56%] Building CXX object CMakeFiles/PHD.dir/GC_USBST4.cpp.o
[ 59%] Building C object CMakeFiles/PHD.dir/libindiclient/indi.c.o
[ 62%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indigui.cpp.o
[ 65%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_io.cpp.o
[ 68%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_list.cpp.o
[ 71%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indi_config.cpp.o
[ 75%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/indisave.cpp.o
[ 78%] Building CXX object CMakeFiles/PHD.dir/libindiclient/wx/wxled.cpp.o
[ 81%] Building CXX object
CMakeFiles/PHD.dir/libindiclient/wx/wxchecktreectrl.cpp.o
[ 84%] 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: CMakeFiles/PHD.dir/libindiclient/indi.c.o: undefined reference to
symbol 'inflate'
/usr/bin/ld: note: 'inflate' is defined in DSO /usr/lib/libz.so.1 so try adding
it to the linker command line
/usr/lib/libz.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [PHD] Error 1
make[1]: *** [CMakeFiles/PHD.dir/all] Error 2
make: *** [all] Error 2
Original comment by daretheh...@gmail.com
on 8 Jun 2011 at 7:02
Hi,
thanks for the additional info.
I set up a VM running Linux Mint Debian Edition 2011 today including all
updates, installed all the libraries necessary for OpenPHD and got the same
linking error.
Don't yet know what the problem is, but i'm working on it.
Regards,
Steffen
Original comment by steffen....@gmail.com
on 9 Jun 2011 at 7:53
Thanks for your efforts! One of the reasons I went to LMDE is that I thought
that it would be the closest to a 'pure' Debian environment (compared to Ubuntu
and Linux Mint regular) and the most likely to succeed with anything I would
want to do -- but I have since learned that this is not necessarily true :/
Original comment by dme...@gmail.com
on 9 Jun 2011 at 8:02
Ok,
found a solution.
If the linker doesn't auto-guess library dependencies ... 'libz' is not found.
Added an explicit dependency in CMakeLists.txt (Rev. 75).
Compiles successfully on Linux Mint (Debian Edition) 2011 and Ubuntu 10.04 LTS
Cheers,
Steffen
Original comment by steffen....@gmail.com
on 10 Jun 2011 at 5:58
Great! Thanks for the solution! And I thank you for all the future LMDE
astronomers who will also be wanting the same thing :)
Original comment by daretheh...@gmail.com
on 10 Jun 2011 at 6:57
Thanks Steffen
Original comment by geoffr...@gmail.com
on 19 Jun 2011 at 12:54
Original issue reported on code.google.com by
daretheh...@gmail.com
on 8 Jun 2011 at 4:56