Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with cmake: library ilclient without any source files #10

Closed
emiel1234 opened this issue Aug 15, 2019 · 3 comments
Closed

Error with cmake: library ilclient without any source files #10

emiel1234 opened this issue Aug 15, 2019 · 3 comments
Labels
wontfix This will not be worked on

Comments

@emiel1234
Copy link

emiel1234 commented Aug 15, 2019

I get this when using cmake.
Any help?
Thanks

- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libssl.so;/usr/lib/arm-linux-gnueabihf/libcrypto.so (found version "1.1.0k") 
You have called ADD_LIBRARY for library ilclient without any source files. This typically indicates a problem with your CMakeLists.txt file
-- Configuring done
CMake Error: Cannot determine link language for target "ilclient".
CMake Error: CMake can not determine linker language for target: ilclient
-- Generating done
@FD-
Copy link
Owner

FD- commented Aug 15, 2019

It seems the ilclient library is not where it's supposed to be. What OS are you using?

@FD- FD- changed the title Error with cmake Error with cmake: library ilclient without any source files Aug 15, 2019
@emiel1234
Copy link
Author

It is osmc, so that could probably be it. Is there any way to correct that?

@FD-
Copy link
Owner

FD- commented Aug 15, 2019

RPiPlay's build system requires the VideoCore libraries that Raspbian provides at the paths

  • /opt/vc/include/
  • /opt/vc/include/interface/vcos/pthreads
  • /opt/vc/include/interface/vmcs_host/linux
  • /opt/vc/src/hello_pi/libs/ilclient

Building fails with the error above if the OS you use doesn't provide these libraries. You could try to download them from the Raspbian firmware repo to the locations listed above. Alternatively, you could copy them into any other location and modify the includes in renderers/CMakeLists.txt accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants