Comments (3)
Or, thinking about it, what I actually needed to do was install libmpdclient-dev as well as the library itself... It would be good to add this in the dependencies list.
H
Thanks rafi; I hadn't installed the libmpdclient source; having done this and added these it worked:
set(LIBMPDCLIENT_LIBRARY /usr/lib/libmpdclient.so.2)
include_directories(/home/hamish/libmpdclient-2.9/include)
Best,
H
from ympd.
I seem to have a similar problem at the cmake stage (building on Ubuntu 14.10). It complains libmpdclient isn't present; I duly installed it, but cmake still fails to find it. I tried deleting the cmake cache and so on, but no luck :-(
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- 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
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
CMake Error at
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108
(message):
Could NOT find LibMPDClient (missing: LIBMPDCLIENT_LIBRARY
LIBMPDCLIENT_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
(_FPHSA_FAILURE_MESSAGE)
cmake/FindLibMPDClient.cmake:27 (find_package_handle_standard_args)
CMakeLists.txt:18 (find_package)
The libmpdclient package is now called libmpdclient2, but it installs as:
ls -lh /usr/lib/libmpdclient*
lrwxrwxrwx 1 root root 21 Dec 30 2013 /usr/lib/libmpdclient.so.2 -> libmpdclient.so.2.0.9
-rw-r--r-- 1 root root 92K Dec 30 2013 /usr/lib/libmpdclient.so.2.0.9
Any ideas?
Tnx,
Hamish
from ympd.
I solved this by adding INCLUDE_DIRECTORIES(/opt/local/include)
in CMakeLists.txt
.
from ympd.
Related Issues (20)
- Invalid password error
- Header layout issue
- Missing Speaker selection HOT 1
- my playlists keep disapearing when a radio url channel is not working.... HOT 2
- letters not functional at all directory levels HOT 4
- Dirble stuck loading
- Add volume + and - buttons? HOT 2
- cue playlists have not show
- nginx: auto-redirect to http://host/#/0
- Only shows "404 file not found" HOT 1
- Inline <audio> tag HOT 1
- Queue display crashes on long entries
- cmake, Manually-specified variables were not used by the project
- Litte(!?) dependencies HOT 1
- maintenance and next release HOT 2
- Linker error: mpd_client.c.o:(.bss+0x0): multiple definition of `mpd'; CMakeFiles/ympd.dir/src/ympd.c.o:(.bss+0x0): first defined here HOT 6
- Linker error when compiling latest master HOT 5
- Does not properly encode '+' in url through browser HOT 2
- Speeddial Logo?
- Reversal of Play and Pause icons when playing music
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ympd.