Open limhyon opened 10 years ago
I just mentioned this in another issue, but I'll post it here in case it helps.
I have the same issue as well, however only when copying my modified version of ETHZ PTAM into the catkinized version of PTAM (I'll admit I'm not very familiar with ROS in general).
The messages the compiler is not finding are located at: catkin_test/src/ethzasl_ptam/ptam/cfg/cpp/ptam.
The solution I got to work was simply copying the header files into the default ETHZ PTAM header directory: catkin_test/src/ethzasl_ptam/ptam/include/ptam.
Obviously this is not a very clean solution but it works (and I didn't have to figure out why catkin wasn't finding the cfg directories). Keep in mind if you modify the reconfigure files you will have to re-copy the header files over again.
My build was working fine if I pulled it directly from github but if I tried with my modified version it failed to build (I have custom messages and modified the rqt reconfigure files a little).
I am running the same version (Ubuntu 14.04 and ROS indigo) The files are generated by dynamic reconfigure from the .py files in the .cfg directory. THey do have to be made executable (sudo chmod +x filename.py or through the file browser, right click, properties, permissions, allow execution...)
The line that generates the files is: generate_dynamic_reconfigure_options(cfg/PTAMVisualizerParams.cfg cfg/PtamParams.cfg) located in /src/ethzasl_ptam/ptam.
Does the ethzasl_ptam support hydro or indigo? It's said only support fuerte&groovy from the wiki website
I do not know if it supports hydro/indigo if you clone it directly from git.
That said, I am currently running ethzasl_ptam on indigo (and I have run it on hydro) and Ubuntu 14.04 LTS. It took a little bit of fiddling around but it does work in the end.
From: LiliMeng [mailto:notifications@github.com] Sent: December 11, 2014 6:07 PM To: ethz-asl/ethzasl_ptam Cc: nplayle Subject: Re: [ethzasl_ptam] PTAM installation problem (#48)
Does the ethzasl_ptam support hydro or indigo? It's said only support fuerte&groovy from the wiki website
— Reply to this email directly or view it on GitHub https://github.com/ethz-asl/ethzasl_ptam/issues/48#issuecomment-66712337 . https://github.com/notifications/beacon/AI4_yrXzp2__hxVmXFmej-NST_4TBgU7ks5nWikqgaJpZM4Ch7yD.gif
As Lim reports above ptam is also working on Indigo. On Dec 12, 2014 9:07 AM, "LiliMeng" notifications@github.com wrote:
Does the ethzasl_ptam support hydro or indigo? It's said only support fuerte&groovy from the wiki website
— Reply to this email directly or view it on GitHub https://github.com/ethz-asl/ethzasl_ptam/issues/48#issuecomment-66712337 .
Hi! I have a problem of build the ptam package. These are steps that I am following: 1 Install Ubuntu 12.04 2 Install ROS groovy( sudo apt-get install ros-groovy-desktop-full) 3 mkdir -p ~/catkin_ws/src 4 cd ~/catkin_ws/src 5 catkin_init_workspace 6 cd ~/catkin_ws/src 7 git clone https://github.com/ethz-asl/ethzasl_ptam 8 cd ../ && catkin_make And then I have an error information.I do not know what is wrong with it . The error informations are as follows: -- Build files have been written to: /home/zl/catkin_ws/src/ethzasl_ptam/ptam/thirdparty/agast/build [100%] Built target agast [ 54%] Built target DEPS [ 56%] Built target ptam_visualizer Linking CXX executable /home/zl/catkin_ws/devel/lib/ptam/cameracalibrator [ 57%] Built target remote_ptam Linking CXX executable /home/zl/catkin_ws/devel/lib/ptam/ptam /usr/bin/ld: cannot find -lblas /usr/bin/ld: cannot find -llapack collect2: ld 返回 1 make[2]: * [/home/zl/catkin_ws/devel/lib/ptam/cameracalibrator] 错误 1 make[1]: * [ethzasl_ptam/ptam/CMakeFiles/cameracalibrator.dir/all] 错误 2 make[1]: * 正在等待未完成的任务.... /usr/bin/ld: cannot find -lblas /usr/bin/ld: cannot find -llapack collect2: ld 返回 1 make[2]: * [/home/zl/catkin_ws/devel/lib/ptam/ptam] 错误 1 make[1]: * [ethzasl_ptam/ptam/CMakeFiles/ptam.dir/all] 错误 2 make: * [all] 错误 2 Invoking "make" failed
You have to install the blas and lapack packages for ubuntu.
On Thu, Mar 12, 2015, 02:39 dragonmind notifications@github.com wrote:
Hi! I have a problem of build the ptam package.
These are steps that I am following:
1.Install Ubuntu 12.04 2.Install ROS groovy( sudo apt-get install ros-groovy-desktop-full)
- mkdir -p ~/catkin_ws/src 4.cd ~/catkin_ws/src
- catkin_init_workspace 6.cd ~/catkin_ws/src 7.git clone https://github.com/ethz-asl/ethzasl_ptam 8.cd ../ && catkin_make And then I have an error information.I do not know what is wrong with it . The error informations are as follows: -- Build files have been written to: /home/zl/catkin_ws/src/ethzasl_ptam/ptam/thirdparty/agast/build [100%] Built target agast [ 54%] Built target DEPS [ 56%] Built target ptam_visualizer Linking CXX executable /home/zl/catkin_ws/devel/lib/ptam/cameracalibrator [ 57%] Built target remote_ptam Linking CXX executable /home/zl/catkin_ws/devel/lib/ptam/ptam /usr/bin/ld: cannot find -lblas /usr/bin/ld: cannot find -llapack collect2: ld 返回 1 make[2]: * [/home/zl/catkin_ws/devel/lib/ptam/cameracalibrator] 错误 1 make[1]: * [ethzasl_ptam/ptam/CMakeFiles/cameracalibrator.dir/all] 错误 2 make[1]: * 正在等待未完成的任务.... /usr/bin/ld: cannot find -lblas /usr/bin/ld: cannot find -llapack collect2: ld 返回 1 make[2]: * [ethzasl_ptam/ptam/CMakeFiles/ptam.dir/all] 错误 2 make: *\ [all] 错误 2 Invoking "make" failed
— Reply to this email directly or view it on GitHub https://github.com/ethz-asl/ethzasl_ptam/issues/48#issuecomment-78408921 .
Hi,I'm trying to install PTAM on ubuntu 14.04 and I have this error :
/usr/bin/ld: GLWindow2.o: référence au symbole non défini «glColorMask» //usr/lib/x86_64-linux-gnu/mesa/libGL.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *\ [PTAM] Erreur 1
Any suggestion please? And, thank you.
@5aou you need to install all system dependencies. You are missing: libglu-dev
thank you for your answer, in fact I installed all system dependencies, I had just to add : LINKFLAGS = -L/usr/local/lib -lGVars3 -lcvd -lopencv_legacy -lopencv_core -lopencv_video -lopencv_highgui -lGLU -lGL -llapack -lblas in the Makefile. Now I have this errors : VideoSource_Linux_DV.cc:(.text+0xcf): référence indéfinie vers « CVD::DV3::RawDVBuffer3::RawDVBuffer3(CVD::DV3::DV3ColourSpace, int, unsigned long, int, bool, bool, CVD::ImageRef, float, CVD::ImageRef, int) » ......... the solution is presented here : http://forum.ubuntu-fr.org/viewtopic.php?pid=3478792 , is that I have to activate the raw1394 module,but I don't know how to do that.
I thought I had the packages as well but I needed different ones: Make sure you have these three: sudo apt-get install freeglut3-dev sudo apt-get install libblas-dev sudo apt-get install liblapacke-dev
I had similar problem, that were resolved by: 1 - Installing freeglut3-dev, liblapacke-dev, liblapack3, libopenblas-base, libopenblas-dev using apt-get install. 2 - Installing Toon, libCVD and gvars3 using git clone, ./configure, make and make install;
then using catkin_ws with ptam successfully compiled and worked.
alexandrewillame, I did like you specified and everything finally worked. Thank you.
just cut the ptam, ptam_com, rqt_ptam folders from repository to src directory in catkin workspace before calling catkin_make you need to set variables by calling cd $catkin_ws . /opt/ros/indigo/setup.bash . ./devel/setup.bash catkin_make
then it will be compiled successfully. May it will help
Can confirm that doing alexandrewillame's steps worked for me.
The solution in my case is below:
The dependency PtamParamsConfig.h file wasn't being generated before packages that needed it were being built. To solve this I called catkin_make for just the config file generator node before calling catkin_make again to make all packages. i.e.:
catkin_make ptam_gencfg
catkin_make
Doing it in this order guaranteed that the PtamParamsConfig.h file was generated before it was required to build the main ptam nodes.
So I found that for a successful clean build in Ubuntu 14.04 follow these steps:
Hopefully that helps some others as well.
Thank you very much.
Hi I have the same problem of issue #39. I also checked out new commit by markus. Which thing generates that header file exactly?
These are steps that I am following: