[MINC-development] compiling Display from github

Vladimir S. FONOV vladimir.fonov at gmail.com
Mon Nov 5 14:44:11 EST 2012


Hello,

use libminc ( https://github.com/BIC-MNI/libminc ) I just convert all 
CMakeLists to use that instead of minc.

I think, basically what you see on the screen is your config.log

On 12-11-05 02:35 PM, Jason Lerch wrote:
> Thanks Jordi and Vlad for the cmake tips! Onwards in my attempt to demonstrate my ignorance: tried to build minc from git master, and cmake produces the following:
>
> <snip>
> -- Looking for include file pwd.h - found
> -- Found BISON: /usr/bin/bison (found version "2.5")
> -- Found FLEX: /usr/bin/flex (found version "2.5.35")
> CMake Error at progs/CMakeLists.txt:191 (INSTALL):
>    install FILES given directory "/home/jason/git/minc/progs/minchistory" to
>    install.
>
>
> CMake Error at progs/CMakeLists.txt:196 (INSTALL):
>    install PROGRAMS given directory "/home/jason/git/minc/progs/mincpik" to
>    install.
>
>
> -- Configuring incomplete, errors occurred!
>
> (same error whether I type 'cmake CMakeLists.txt' or whether I add the -DCMAKE_INSTALL_PREFIX)
>
> Is there an equivalent of config.log to see what it's trying to do? Does that error ring any bells?
>
> Jason
>
>
> On 2012-11-05, at 1:54 PM, "Vladimir S. FONOV" <vladimir.fonov at gmail.com> wrote:
>
>> Hello,
>>
>> On 12-11-05 01:42 PM, Jordi Gutiérrez Hermoso wrote:
>>> Basically, you can use -D to set any CMake variable.
>>>
>>>> and our --with-build-path?
>>>
>>> This I don't know, but if you do "ccmake ." in your build directory,
>>> you'll get an ncurses interface for setting other CMake variables.
>>> They're mostly documented in the giant cmake manpage.
>>
>> Basically each MINC package which provides a library (libminc,ebtks,bicpl etc) creates a configuration file, and you have to specify it's location using CMAKE variables. So, there is no direct equivalent to with-build-path anymore.
>>
>> --
>> Best regards,
>>
>> Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
>> _______________________________________________
>> MINC-development mailing list
>> MINC-development at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development
>
> _______________________________________________
> MINC-development mailing list
> MINC-development at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development
>


-- 
Best regards,

  Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com


More information about the MINC-development mailing list