You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2019. It is now read-only.
make install #Should install Mraa in /usr/lib64/
rm /usr/lib/libmraa.so* #Remove previous version of Mraa
mv /usr/lib64/libmraa.so* /usr/lib #Move NEW Mraa files to lib
mv /usr/lib64/pkgconfig/* /usr/lib/pkgconfig #Move package configuration info
rm -r /usr/lib64/
the install should be made without these hacks, as a patch to CMakeLists.txt, to install directly in /usr/lib.
Explanation:
After install, if you take a look to /usr/lib/pkgconfig/mraa.pc :
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include
Name: mraa
Description: Low Level Skeleton Library for Communication
Version: 1.7.0
Libs: -L${libdir} -lmraa
Cflags: -I${includedir}
It stil points out to lib64, even though it was moved to /usr/lib. And when trying to make use cmake pkg_check_modules in conjuction with INCLUDE_DIRS there will be some problems, meaning that INCLUDE_DIRS will point to usr/lib64 and not to usr/lib.
The text was updated successfully, but these errors were encountered:
fmanea
pushed a commit
to fmanea/joule-code-samples
that referenced
this issue
Jun 29, 2017
make install #Should install Mraa in /usr/lib64/
rm /usr/lib/libmraa.so* #Remove previous version of Mraa
mv /usr/lib64/libmraa.so* /usr/lib #Move NEW Mraa files to lib
mv /usr/lib64/pkgconfig/* /usr/lib/pkgconfig #Move package configuration info
rm -r /usr/lib64/
the install should be made without these hacks, as a patch to CMakeLists.txt, to install directly in /usr/lib.
Explanation:
After install, if you take a look to /usr/lib/pkgconfig/mraa.pc :
It stil points out to lib64, even though it was moved to /usr/lib. And when trying to make use cmake pkg_check_modules in conjuction with INCLUDE_DIRS there will be some problems, meaning that INCLUDE_DIRS will point to usr/lib64 and not to usr/lib.
The text was updated successfully, but these errors were encountered: