astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
17 stars 13 forks source link

cmake error #28

Closed Luke-Pratley closed 8 years ago

Luke-Pratley commented 8 years ago

While trying to rebuild purify I had some trouble with dependencies. But I got it to work.

First, I had to install sdplog manually, cmake failed to install it.

Second, there is a missing bracket on line 43 of purify/build/external/src/GreatCMakeCookOff/modules/FindCFitsIO.cmake

Also, I had to choose the branch of sopt that was downloaded to development-c-and-cpp, but I am guessing leaving the default to master is okay most of the time.

mdavezac commented 8 years ago

Yeah, we'll have to keep entering the branch for now...

Luke-Pratley commented 8 years ago

Cool, no problem. But, do we also have to turn the logging output for sopt on?

Luke-Pratley commented 8 years ago

Cool, I worked that out. You change the logging setting in config.h, with the options in logging.enabled.h

Luke-Pratley commented 8 years ago

Oh also, the last note (mostly for myself) is to use the flag -DCMAKE_BUILD_TYPE=Release