-
Notifications
You must be signed in to change notification settings - Fork 30
Please, help : Unknown CMake command "BUILDSYS_BUILD_LIB" #7
Comments
If you're using a version of the git repo, you'll need to run "git submodule update --init" to get the build system repo. However, if you don't need to run from the repo, just get a source package from http://sourceforge.net/projects/nplabs/files/libomron/0.9.0/ |
Qdot ! I tried and downloaded 0.9.0 from sourceforge as you suggested, but I got the same message as before. I took a look on Brett Viren comments ( I never worked with git before). Should I go thru cd ~/git ; git clone ... and all the staff ? |
Qdot ! I went thru direction given by Brett Viren cmake worked OK I have "undefined reference to `libusb_close", libusb open and many other libusb. Any other libusb related packages I need ? |
SUCCESS ! It was a typo I did which caused make to fail. Thanks a lot ! |
Yup! You need libusb-1.0-0-dev, not libusb-dev. Same library, but API is incompatible between old and new versions, and we use the newer version. |
Oh, awesome, glad you got it to work. Just let me know if you ahve any other issues. :) |
qdot , thanks for promt replies and great driver ! Yet another chain which linked me to Windows has just been cut ! Only few more to go ! I needed to go thru whole git things (per comments by Brett) but it's OK. |
Yeah, I'll see about getting that fixed up and releasing an 0.9.1, or better yet, finally just putting ubuntu packages on launchpad. :) |
I am trying to build it under Ubuntu 10.10 but have the following error
Unknown CMake command "BUILDSYS_BUILD_LIB"
What should I do to solve it ?
Attached is full output
~/omron/qdot-libomron-9dfeab5/src/my> 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
CMake Error at CMakeLists.txt:17 (BUILDSYS_BUILD_LIB):
Unknown CMake command "BUILDSYS_BUILD_LIB"
The text was updated successfully, but these errors were encountered: