[Castor-users] compiling CASToR with cmake

tmerlin Thibaut.Merlin at univ-brest.fr
Tue Jun 9 16:04:59 CEST 2020


Hello Aram,

These warnings are harmless. You could get rid of the "CASToR_CONFIG" 
initialization, the real cmake variable is "CASTOR_CONFIG".

Same thing for CASToR_ELASTIX which was only used by and old development 
build. It is deprecated now so you can remove it from your cmake command 
line.

Best regards,
Thibaut


On 28/05/2020 17:45, Aram Teymurazyan wrote:
> Hello Thibaut,
>
> When preparing the build I run the following command:
>
> [root at a011954 opt]# cmake 
> -DCMAKE_INSTALL_PREFIX=/opt/CASTOR/castor_v3.0.1-install 
> -DCASToR_CONFIG=/opt/CASTOR/castor_v3.0.1-install/config 
> -DCASTOR_CONFIG=/opt/CASTOR/castor_v3.0.1-install/config 
> -DCASToR_64bits=ON -DCASToR_ELASTIX=ON -DCASToR_MPI=ON -DCASToR_OMP=ON 
> -DCASToR_ROOT=ON -DCASToR_SIMD=ON /opt/CASTOR/castor_v3.0.1
>
>
> this runs fine with exception of a warning at the end:
>
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     CASToR_CONFIG
>     CASToR_ELASTIX
>
> Thanks,
> -Aram
> Aram Teymurazyan
> Associate Professor
> Fedoruk Research Chair in Nuclear Imaging Technologies
> Dept. of Physics, Univ. of Regina, Regina, SK S4S0A2, Canada.
> tel: 1-306-337-2666. fax: 1-306-585-5659.
> Thibaut Merlin wrote:
>>
>> Hello Aram,
>>
>> What is the exact warning message you get ? Normally you can 
>> configure the config directory with CASTOR_CONFIG cmake variable, it 
>> should be directly editable using cmake GUI.
>>
>> Hope this helps,
>> Thibaut
>>
>> Aram Teymurazyan <teymuraa at uregina.ca <mailto:teymuraa at uregina.ca>> a 
>> écrit :
>>
>>> Hello,
>>>
>>> I am trying to compile castor_v3.0.1 using cmake and get the warning 
>>> that manually specified CASToR_CONFIG
>>> is being ignored... I have seen this in previous versions. any 
>>> suggestions on how to specify an alternate path for config folder at 
>>> compile time?
>>>
>>> Thanks,
>>> Aram
>>>
>>> CMake Warning:
>>>   Manually-specified variables were not used by the project:
>>>
>>>     CASToR_CONFIG
>>>     CASToR_ELASTIX
>>>
>>> _______________________________________________
>>> Castor-users mailing list
>>> Castor-users at lists.castor-project 
>>> <mailto:Castor-users at lists.castor-project>.orghttp://lists.castor-project.org/listinfo/castor-users
>>
>>
>
-- 
Thibaut MERLIN -- PhD

Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Institut Brestois de recherche en Bio-Santé (IBRBS)
12 Avenue Foch, 29200 Brest, FRANCE
Tel: 06.75.12.24.90

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20200609/d4591313/attachment.html>


More information about the Castor-users mailing list