[ros-users] Fwd: cameradc1394 and stereo images
Antons Rebguns
arebgun at gmail.com
Sun Jun 20 22:38:04 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Actually, I am using new opencv includes, the ones in opencv2/include, the older ones are generating deprecation
warnings now, so I assume they will deprecated at some point. And it is in ROS already, both cturtle and latest are
pulling newer version of opencv and videre_stereo_cam should compile fine with those. Can you guys update ROS? I could
switch back to older includes if really needed.
Anton
On 06/20/2010 01:17 PM, Peter Brook wrote:
> Looking at this, it appears that videre_stereo_cam is referencing a version of opencv that its not the one in vision_opencv. include/dcam1394/image_proc
> h is looking for opencv2/core/core_c.h which is not found. That path is in the opencv project, not in ros, so it seems like that header file needs to be updated.
>
> rombokas <rombokas at cs.washington.edu> wrote:
>
>>
>> Making videre_stereo_cam directly reveals a bad path for opencv2 (below) Is
>> it possible I checked out/ built opencv2 incorrectly?
>>
>> grasping at owyhee-ubuntu:~/ros/stacks/image_pipeline/videre_stereo_cam$ make
>> mkdir -p bin
>> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
>> rosbuild`/rostoolchain.cmake ..
>> [rosbuild] Building package videre_stereo_cam
>> [rosbuild] Including /home/grasping/ros/ros/core/rospy/cmake/rospy.cmake
>> [rosbuild] Including /home/grasping/ros/ros/core/roscpp/cmake/roscpp.cmake
>> MSG: gencfg_cpp on:VidereStereoCam.cfg
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to:
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build
>> cd build && make
>> make[1]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[2]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> [ 11%] Built target ROSBUILD_gencfg_cpp
>> make[3]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> [ 11%] Built target rospack_gencfg
>> make[3]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> [ 11%] Built target rospack_genmsg_libexe
>> make[3]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> [ 11%] Built target rosbuild_precompile
>> make[3]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[3]: Entering directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> [ 22%] Building CXX object CMakeFiles/dcam1394.dir/src/dcam1394/dcam1394.o
>> In file included from
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/dcam1394.h:45,
>> from
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/src/dcam1394/dcam1394.cpp:45:
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:59:33:
>> error: opencv2/core/core_c.h: No such file or directory
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:60:39:
>> error: opencv2/imgproc/imgproc_c.h: No such file or directory
>> In file included from
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/dcam1394.h:45,
>> from
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/src/dcam1394/dcam1394.cpp:45:
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:227:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:227:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:228:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:228:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:229:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:229:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:230:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:230:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:232:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:232:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:233:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:233:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:234:
>> error: ISO C++ forbids declaration of ‘CvMat’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:234:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:235:
>> error: ISO C++ forbids declaration of ‘IplImage’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:235:
>> error: expected ‘;’ before ‘*’ token
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:236:
>> error: ISO C++ forbids declaration of ‘IplImage’ with no type
>> /home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/include/dcam1394/image_proc.h:236:
>> error: expected ‘;’ before ‘*’ token
>> make[3]: *** [CMakeFiles/dcam1394.dir/src/dcam1394/dcam1394.o] Error 1
>> make[3]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[2]: *** [CMakeFiles/dcam1394.dir/all] Error 2
>> make[2]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory
>> `/home/grasping/ros/stacks/image_pipeline/videre_stereo_cam/build'
>> make: *** [all] Error 2
>>
>> --
>> View this message in context: http://ros-users.122217.n3.nabble.com/cameradc1394-and-stereo-images-tp210461p909540.html
>> Sent from the ROS-Users mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit. See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> ros-users mailing list
>> ros-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ros-users
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwemEwACgkQ1B2I24nMQmos1wCfUKKxk8mCUcnU+KfUSBi0uuLg
4tYAmwXdUxFzCAPnhyzplHwrTFi4Dlas
=KgOn
-----END PGP SIGNATURE-----
More information about the ros-users
mailing list