hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

cmake not working properly?

Sun Jul 03, 2016 3:33 pm

Just installed cmake (I had uninstalled it earlier to save space). Downloaded glshim and tried to build it.
http://i.imgur.com/U83WBlV.png
Image
Help?
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

User avatar
Paeryn
Posts: 3055
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: cmake not working properly?

Sun Jul 03, 2016 4:52 pm

For some reason cmake hasn't detected a C++ compiler. Does /usr/bin/c++ exist on your system? If not then you need to install g++ (/usr/bin/c++ is usually a link to /usr/bin/g++ via /etc/alternatives/c++).

If you do have a working C++ compiler then you need to look at why cmake didn't detect it, CMakeFiles/CMakeError.log along with CMakeFiles/CMakeOutput.log should give some hint as to what was tried and what failed.
She who travels light — forgot something.
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!

hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

Re: cmake not working properly?

Sun Jul 03, 2016 6:00 pm

Paeryn wrote:For some reason cmake hasn't detected a C++ compiler. Does /usr/bin/c++ exist on your system? If not then you need to install g++ (/usr/bin/c++ is usually a link to /usr/bin/g++ via /etc/alternatives/c++).

If you do have a working C++ compiler then you need to look at why cmake didn't detect it, CMakeFiles/CMakeError.log along with CMakeFiles/CMakeOutput.log should give some hint as to what was tried and what failed.
Thanks, that worked. Slightly off-topic, does anybody know what's wrong here?
http://i.imgur.com/iWzPmB9.png
Image
I mean, I know a file/directory is missing, but should it be there or not, and what can I do to make it work?
The contents of the directory referenced:
http://i.imgur.com/hyu7Qz8.png
Image
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

User avatar
Paeryn
Posts: 3055
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: cmake not working properly?

Sun Jul 03, 2016 6:17 pm

You need to install the libx11-dev package to get the main X11 library header files. Header files for libraries aren't usually installed by default, generally you need to install the corresponding *-dev package to get them. There may be other X11 libraries that need their *-dev packages installing too depending on what glshim uses.
She who travels light — forgot something.
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!

Return to “General discussion”