Page 1 of 1

cmake error

Posted: Sat Dec 21, 2013 6:07 pm
by sgrobinson

I seem to be getting this problem recently when trying to build. I got ZM to automatically create the zm_conf.cmake file but I cant run sudo cmake -C zm_conf.cmake because of the below error. Any suggestions? :( Sorry - I have googled and this was a last resort asking!

Re: cmake error

Posted: Sun Dec 22, 2013 4:24 am
by mastertheknife

It seems you are running cmake without specifying the source folder.
It should be like this (don't forget the period at the end):

Code: Select all

cmake -C zm_conf.cmake .
After that, make and then sudo make install. You might also need to update the symlinks for the images/ and events/ folder because make install overrides them. can help you with that. e.g. if your events folder is /zm/events and the images folder is /zm/images, you should run:

Code: Select all

sudo ./ /zm"

Re: cmake error

Posted: Sun Dec 22, 2013 8:46 am
by sgrobinson
There I was about to submit an update to the INSTALL file, but If I had actually read it properly there is a . at the end of that command.

Sorry - I did look there, promise!
Thanks :)