MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015623 | CMake | CMake | public | 2015-06-18 09:04 | 2016-01-04 11:51 |
Reporter | Eric Wing | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Raspberry Pi | OS | Raspbian (Debian Linux) | OS Version | 3.18.11 |
Product Version | CMake 3.2.3 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015623: Raspbian puts some system libraries in /usr/lib/arm-linux-gnueabihf which CMake doesn't search | ||||
Description | Raspbian, which is a streamlined offshoot of Debian for Raspberry Pi, puts a lot of system libraries in /usr/lib/arm-linux-gnueabihf, which CMake doesn't search for by default. Some popular libraries include libpng, libjpeg, libcurl, openal, sdl, avahi, freetype, and a lot more. When trying to build on a Raspberry Pi (not cross-compiling), CMake couldn't find and link a lot of common libraries. Since Raspbian is essentially just another Linux distro and probably shouldn't be an entirely different platform, the easiest fix seems to be to add /usr/lib/arm-linux-gnueabihf to CMAKE_SYSTEM_LIBRARY_PATH CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES in Modules/Platform/UnixPaths.cmake | ||||
Steps To Reproduce | I think I originally triggered this by trying to FIND_PACKAGE(OpenAL) on Raspbian. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-06-18 09:04 | Eric Wing | New Issue | |||
2015-06-18 09:25 | Brad King | Note Added: 0038947 | |||
2015-06-18 22:35 | Eric Wing | Note Added: 0038953 | |||
2015-06-19 08:31 | Brad King | Status | new => resolved | ||
2015-06-19 08:31 | Brad King | Resolution | open => no change required | ||
2016-01-04 11:51 | Robert Maynard | Note Added: 0040073 | |||
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|