Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Please, help : Unknown CMake command "BUILDSYS_BUILD_LIB" #7

Closed
omr456 opened this issue Jan 8, 2011 · 8 comments
Closed

Please, help : Unknown CMake command "BUILDSYS_BUILD_LIB" #7

omr456 opened this issue Jan 8, 2011 · 8 comments

Comments

@omr456
Copy link

omr456 commented Jan 8, 2011

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"

@qdot
Copy link
Member

qdot commented Jan 8, 2011

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/

@omr456
Copy link
Author

omr456 commented Jan 9, 2011

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 ?

@omr456
Copy link
Author

omr456 commented Jan 9, 2011

Qdot !

I went thru direction given by Brett Viren

cmake worked OK
when I try to issue "make"

I have "undefined reference to `libusb_close", libusb open and many other libusb.
I have Ubuntu 10.10 and I have libusb-dev package installed.

Any other libusb related packages I need ?

@omr456
Copy link
Author

omr456 commented Jan 9, 2011

SUCCESS !

It was a typo I did which caused make to fail.
I've just succesfully read the stored blood pressure values from my 790IT

Thanks a lot !

@qdot
Copy link
Member

qdot commented Jan 9, 2011

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.

@qdot
Copy link
Member

qdot commented Jan 9, 2011

Oh, awesome, glad you got it to work. Just let me know if you ahve any other issues. :)

@omr456
Copy link
Author

omr456 commented Jan 9, 2011

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.

@qdot
Copy link
Member

qdot commented Jan 9, 2011

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. :)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants