PhroZenOne / heatseeker

SeekThermal in Rasberry PI joined with a webcam.
MIT License
5 stars 3 forks source link

raspicamConfig.cmake missing #2

Open zeilsteen2 opened 6 years ago

zeilsteen2 commented 6 years ago

Hello, I must be missing something here but:

I do not have a raspicamConfig.cmake file. How to fix it? I had the cam disabled when I installed cmake but enabled it later.

CMake Error at CMakeLists.txt:10 (find_package): By not providing "Findraspicam.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "raspicam", but CMake did not find one.

Could not find a package configuration file provided by "raspicam" with any of the following names:

raspicamConfig.cmake
raspicam-config.cmake

Add the installation prefix of "raspicam" to CMAKE_PREFIX_PATH or set "raspicam_DIR" to a directory containing one of the above files. If "raspicam" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/home/pi/heatseeker/build/CMakeFiles/CMakeOutput.log". See also "/home/pi/heatseeker/build/CMakeFiles/CMakeError.log".

zeilsteen2 commented 6 years ago

I have installed the rapsicam cv module and then I can run the cmake but after the make i get the next build error:

pi@raspberrypi:~/heatseeker/build $ make [ 14%] Built target gpio [ 35%] Built target utils [ 57%] Built target picam [ 64%] Linking CXX executable heatseeker /usr/bin/ld: cannot find -lGLESv2 /usr/bin/ld: cannot find -lEGL collect2: error: ld returned 1 exit status CMakeFiles/heatseeker.dir/build.make:222: recipe for target 'heatseeker' failed make[2]: [heatseeker] Error 1 CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/heatseeker.dir/all' failed make[1]: [CMakeFiles/heatseeker.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

zeilsteen2 commented 6 years ago

Maybe the Raspian lite I downloaded was not the old version like:

2016-05-10-raspbian-jessie-lite.iso

Will try that

PhroZenOne commented 6 years ago

Hi, I have not really worked on this project for a long time but I could give it a shot to get it working this weekend. Curious: Is there something special that you are planning to do?

zeilsteen2 commented 6 years ago

Hello, great work on getting this to the pi! Thanks for your answer. I got it running on a pi3 after I installed the openCV raspicam software and used the older image (the exact version you posted in the readme :). But there is no video on the hdmi. Maybe it is written just for the LCD only?

I would like to stream the framebuffer over wifi. I know how to stream with the gpu on the Pi but at the moment it starts the camera's and gives the value's of the camera but the image is not on the HDMI.

I have a camera system for wildlife filming and would like an extra thermal video link on the RCcamera boat for animal spotting.

PhroZenOne commented 6 years ago

Hi again. Sorry for the late response but I did not have time to look at this until now.

If I remember correctly I did have it running on the hdmi a while but we did switch to the internal connected LCD in the end so there might be some specific code for that. But it should not be that hard to get it working again for the hdmi output as it is just a different display in regards to opengl.

I might have some time this week to look into the code and see if I can figure it out. :P

zeilsteen2 commented 6 years ago

That would be great!

Thanks