FLIR / BosonUSB

Tool to capture Boson USB video in Linux
MIT License
64 stars 26 forks source link

cmake not working, make directory does not exist #1

Closed jgiesen closed 6 years ago

jgiesen commented 6 years ago

Hello, i get following error, when i use cmake:

~/BosonUSB$ cmake . make CMake Error: The source directory "/home/jens/BosonUSB/make" does not exist.

JimKlingshirn commented 6 years ago

I think the readme is wrong. It's a two step process, first running cmake, and then running make: cmake . make

JimKlingshirn commented 6 years ago

I've updated the readme. Thanks for the feedback!

jgiesen commented 6 years ago

thanks alot! now i learned that "cmake . && make" works also.

ghost commented 6 years ago

Sorry for late answer here... yes it was a typo. just a note. cmake . -> creates the makefile and CMmakeFiles directory. You do it once. make -> compile, you do it every time you do modifications make clean -> to start fresh, but doesn't delete the CMakeCache, Makefile, CMakeFiles.

so: cmake . && make will add unnecessary work ...

Thank you Jim for fixing it.