eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.37k stars 614 forks source link

Fresh compile and install from source on rock-4c on Armbian lates. No GPIO list! #1037

Closed britus closed 3 years ago

britus commented 3 years ago

root@rockpi-4c:~/projects/mraa/build# /usr/local/bin/mraa-gpio list No Pins

root@rockpi-4c:~/projects/mraa/build# cmake ../ -- The C compiler identification is GNU 7.5.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 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- The CXX compiler identification is GNU 7.5.0 -- 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 -- Performing Test HAS_CWall -- Performing Test HAS_C__Wall - Success -- Performing Test HAS_CWerror_main -- Performing Test HAS_CWerror_main - Success -- Performing Test HAS_CWformat -- Performing Test HAS_CWformat - Success -- Performing Test HAS_C__Wmain -- Performing Test HAS_CWmain - Success -- Performing Test HAS_CWuninitialized -- Performing Test HAS_C__Wuninitialized - Success -- Performing Test HAS_CWinit_self -- Performing Test HAS_CWinit_self - Success -- Performing Test HAS_CWerror_implicit -- Performing Test HAS_CWerror_implicit - Success -- Performing Test HAS_CWerror_missing_parameter_type -- Performing Test HAS_CWerror_missing_parameter_type - Success -- Performing Test HAS_CXXWall -- Performing Test HAS_CXXWall - Success -- Performing Test HAS_CXXWerror_main -- Performing Test HAS_CXXWerror_main - Success -- Performing Test HAS_CXX__Wformat -- Performing Test HAS_CXXWformat - Success -- Performing Test HAS_CXXWmain -- Performing Test HAS_CXX__Wmain - Success -- Performing Test HAS_CXXWuninitialized -- Performing Test HAS_CXXWuninitialized - Success -- Performing Test HAS_CXXWinit_self -- Performing Test HAS_CXXWinit_self - Success -- Performing Test HAS_CXX__Wnon_virtual_dtor -- Performing Test HAS_CXXWnon_virtual_dtor - Success -- Performing Test HAS_CXXWoverloaded_virtual -- Performing Test HAS_CXXWoverloaded_virtual - Success -- Performing Test HAS_CXX__Wreorder -- Performing Test HAS_CXX__Wreorder - Success -- INFO - libmraa Version v2.1.0-13-gaa7c419 -- INFO - cmake Version 3.10.2 -- INFO - Target arch is aarch64 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.9", minimum required is "3") -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.6m.so (found suitable exact version "3.6.9") -- INFO - Adding onewire backend support -- INFO - Adding support for platform ALL -- INFO - Adding support for all platforms -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") INFO - Adding ARM platforms -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- Could not run tests since python interpreter or python bindings not built -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Install Google Test to enable additional unit testing -- Configuring done -- Generating done -- Build files have been written to: /root/projects/mraa/build root@rockpi-4c:~/projects/mraa/build# make -j4 all && make install

britus commented 3 years ago

Habe ich selber korrigiert. Kannst ' in meinem Repo finden