I too have been fighting with this problem for several days.  I can not seem to 
track it down.

in a file called flags.make, there is a line:

CXX_DEFINES = -D) -DITK_IOFACTORY_REGISTERMANGER ….< other stuff>

This happens when building agains VTK and ITK, but with ITK I have VTKGlue 
turned off.

It has been very hard to track down.  I don’t understand where the 
“CXX_DEFINES” are being set.


Additonally, a related error message shows up during configuration:

WARNING:  Function-style preprocessor definitions may not be passed on the 
compiler command line because many compilers do not support it.
CMake is dropping a preprocessor definiton: (
Consider defining the macro in a (configured) header file.


I have been trying to figure out what is going on for almost a day now.


========================================================================
Hans J. Johnson, Ph.D.,  Associate Professor
Electrical and Computer Engineering (Primary), Biomedical Engineering, 
Psychiatry
hans-john...@uiowa.edu
(319) 621 7185 (cell)
(319) 384 3538  ECE Phone (Primary)
(319) 353 8587 Psychiatry Phone (Secondary)

4613 Seamans Center
Iowa City, IA 52242

> On Jan 30, 2015, at 12:50 PM, Kevin H. Hobbs <hob...@ohio.edu> wrote:
>
> On 01/30/2015 01:18 PM, Dzenan Zukic wrote:
>> /bin/sh: -c: line 0: syntax error near unexpected token `)'
>>> /bin/sh: -c: line 0: `/usr/lib64/ccache/c++   -D)
>
> I think it's the -D) that's causing the problem.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-developers



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and 
may be legally privileged.  If you are not the intended recipient, you are 
hereby notified that any retention, dissemination, distribution, or copying of 
this communication is strictly prohibited.  Please reply to the sender that you 
have received the message in error, then delete it.  Thank you.
________________________________
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers

Reply via email to