[ITK] Compiling problem
Timothee Evain
tevain at telecom-paristech.fr
Thu Sep 24 11:31:13 EDT 2015
Hello,
Just to be sure, don't you have a typo here :
"Error: [...]Optimizer2>> is undefined."
The double chevron at the end of the name ?
Tim
----- Mail original -----
De: "Constantinus Spanakis" <c.spanakis83 at gmail.com>
À: community at itk.org
Envoyé: Jeudi 24 Septembre 2015 15:34:28
Objet: [ITK] Compiling problem
Hello, i copied a pre-existing class of itk in a different location
(outside the itk folder), in order to create a new class. Then i tried
to run a preexisting example, where i replaced the original class with
the copy that lies in a different folder. But i get the same error in
Microsoft Visual studio
Error: identifier <itkOnePlusOneEvolutionaryOptimizer2>> is undefined.
where itkOnePlusOneEvolutionaryOptimizer2 is the copied class. I keep
the main file and the copy in the same folder and the make file
contains the following instructions
project(test)
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
add_executable(test2 test2.cxx itkOnePlusOneEvolutionaryOptimizer2.cxx
itkOnePlusOneEvolutionaryOptimizer2.h)
target_link_libraries(test2 ${ITK_LIBRARIES})
What could be the problem?
_______________________________________________
Community mailing list
Community at itk.org
http://public.kitware.com/mailman/listinfo/community
More information about the Community
mailing list