Stephen R. Aylward | 1 Sep 2006 01:46
Favicon

Re: JOIN THE OPEN ACCESS REVOLUTION : MICCAI 2006 Open Source Workshop


The deadline for the open-review process for the open-source workshop at
MICCAI 2006 has been extended to September 4th.   Final decisions will
be sent to the authors on September 9th.

To review the open-source and open-data contributions submitted to the
workshop, visit the Insight Journal website:
http://www.Insight-Journal.org

The quality of the papers, code, and data submitted this year is
outstanding.   Many of the reviews submitted are also outstanding and
significant contributions to the field.

Thank you for your paticipation in this cutting-edge medium for
technology and information sharing!

Luis Ibanez wrote:
> 
> 
> -------- Original Message --------
> Subject: [Insight-users] JOIN THE OPEN ACCESS REVOLUTION : MICCAI 2006 
> Open Source Workshop (TEXT VERSION)
> Date: Fri, 18 Aug 2006 10:54:08 -0400
> From: Luis Ibanez <luis.ibanez@...>
> To: Insight Users <insight-users@...>
> 
> 
> 
> 
>   Here is the opportunity you have been waiting for to demonstrate
(Continue reading)

mhg | 1 Sep 2006 08:54
Picon
Favicon

Re: Possible bugs in vnl and fftw wrappers

Dear Brian,

thanks for the hint. I think that this information should be included in the
wrapper documentation as the fact that fftw only returns half of the
computations should not mean that its wrapper returns half of the 
image, right?

Maybe, for future adaptations of this wrapper there should be a flag to 
let the
algorithm deal with real images considering them as real or complex depending
on the user choice.

Best, Monica.

Quoting Brian Eastwood <beastwoo@...>:

> Sorry I didn't catch this message earlier--I have recently been 
> working with the fftw Fourier transform implementation.  I believe 
> that when the fftw wrapper returns an image of half the size (for 
> real-to-complex), this is completely intentional.  This is because 
> the "other half" of the image is made up of the complex conjugates of 
> the Fourier coefficients from the returned half.  (After all, the DFT 
> can't create more data than you give it.)  The term for this is 
> Hermitian symmetry.  More details are in the fftw documentation. 
> Similarly, for the complex-to-real transform, fftw expects that a 
> caller will provide half of a Hermitian symmetric data set--this is a 
> requirement for the result to be purely real. (n.b.: the Matlab 
> implementation (which is fftw under the covers) takes care of 
> rescaling your data for you, while the pure fftw libraries (and hence 
> itk implementation) don't.)
(Continue reading)

Jaety Edwards | 2 Sep 2006 06:07
Picon
Favicon

Combining transforms in registration?

Hello all,

I'm trying to figure out the best way to solve the following problem:

I have two 3D images that I am trying to register. I know that they
differ by a rigid 3D transformation, and also I know the 3 rotation
parameters, so all I have to solve for are the translation parameters.

What I'm doing right now is resampling the image into the correct
orientation and then using a TranslationTransform in the registration
process, but it seems like it would be cleaner if I could just pass
both original images to the registration and use a transform that
applies my known rotation and then acts like the standard
TranslationTransform.

I figure it shouldn't be too difficult to inherit or build off of the
existing TranslationTransform to do this, and I was going to look into
that next, but I'm a pretty new ITK user, and I thought I would ask
here if there was an easier way to do this before diving in.

Thanks so much,
Jaety
Tao Kai | 2 Sep 2006 17:57
Picon

[Question] How to use ITK with MFC?

hi all,
I'm building a MFC program with some ITK feature, but I met a serious problem:
first I create a common single-view MFC program with Visual Studio, the project name is myAPP,
then I create a CMakelists file under the same folder and write it like this:
 
    

PROJECT(myApp)

# This INCLUDE is to allow developers with both MSVC and Borland compilers installed
# to manually change the FindVTK results to point to the correct (MSVC) vtk build directory

IF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )

  FIND_PACKAGE(ITK)
  IF(ITK_FOUND)
    INCLUDE(${ITK_USE_FILE})
  ELSE(ITK_FOUND)
    MESSAGE(FATAL_ERROR
            "Cannot build InsightApplications without ITK.  Please set ITK_DIR.")
  ENDIF(ITK_FOUND)


ENDIF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
 
IF (NOT USE_ITK_FILE)
  INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)
ENDIF (NOT USE_ITK_FILE)

IF (USE_ITK_FILE)
  INCLUDE(${USE_ITK_FILE})
ENDIF (USE_ITK_FILE)

FILE(GLOB SOURCE_FILES "*.cpp")
FILE(GLOB HEADER_FILES "*.h")

SET(RESOURCE_FILES
 myApp.rc
 res/myApp.ico
 )
SET( myApp_SRCS
 ${SOURCE_FILES}
 ${HEADER_FILES}
 ${RESOURCE_FILES}
)

SOURCE_GROUP("Source" FILES ${SOURCE_FILES})
SOURCE_GROUP("Header" FILES ${HEADER_FILES})
SOURCE_GROUP("Resource" FILES ${RESOURCE_FILES})

LINK_LIBRARIES(
  ITKCommon
  ITKIO
  ITKBasicFilters
  ITKNumerics
  ITKAlgorithms
  ITKFEM
  ITKStatistics
  shlwapi
)

SET(CMAKE_BUILD_SETTING_CXX_FLAGS "  /W3 /Zm1000 /GX /GR")
SET(CMAKE_BUILD_SETTING_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ")
SET(CMAKE_BUILD_SETTING_CXX_FLAGS_RELEASE "/MD /O2")

ADD_DEFINITIONS(-D_AFXDLL)
SET(CMAKE_MFC_FLAG 6)
ADD_EXECUTABLE(myApp WIN32 ${myApp_SRCS})

 and then I use CMake with this folder and generated some extra file such as ALL_BUILD.vcproj,

then I build the solution again, but some surprising thing happen, shown in the picture below attached.

the information was as follow:

c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res \myApp.ico error C2018: unknown character '0x5'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x6'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x8'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x6'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x8'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x8'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C2059: syntax error : 'constant'
c:\Documents and Settings\Taokai\My Documents\Visual Studio Projects\MFC_Test\myApp\res\myApp.ico error C3209: '

_______________________________________________
Insight-users mailing list
Insight-users@...
http://www.itk.org/mailman/listinfo/insight-users
Thomas Boettger | 2 Sep 2006 18:48

Fwd: Optimizing transforms

---------- Forwarded message ----------
From: Thomas Boettger <tboettger@...>
Date: Aug 31, 2006 11:49 AM
Subject: Optimizing transforms
To: insight-users@...

Dear ITK-users,

lately a colleague asked me about how to choose thje 'right' optimizer
for different transforms in ITK and I thought I knew the answer or at
least the software guide could help me.
But I soon figured out that it is not that simple. And there are at
least some important facts missing in the documentation, which I would
like to discuss. It would be interesting to get other users comments
on the problems I ran into.

We want to solve the following scenario:

I want to optimize a points metric using ICP and start with a
Rigid3DTransform and the Levenberg-Marquardt optimizer (just like in
the examples). The optimizer gets passed an array of 12 parameters and
is in fact optimizing the transform as if it were an affine one. I
tested it with the affine transform and the Rigid3DTransform. Results
were the same. I do not wonder, because how would the optimizer know
the difference between an affine matrix and a rigid matrix... You
cannot optimize Rigid3DTransforms? Where is my mistake? If this is
true, I think this fact should be mentioned somewhere in the
documentation.

Optimization works with the Euler3DTransform. It does not work for the
VersorRigid3D transform as the VersorTransform needs the
VersorTransform optimizer which is a single valued one and does not
work with PointsetToPointset metrics...(I can write my own metric...I
know)

Then I went from rigid transformations to similarity transforms.
Unfortunately I looked at Similarity2DTransform and played around with
it and it worked. Then I went to the 3D case and wanted to do the same
as I did with the rigid transform before. It did not work. After a
while I figured out that Similarity3DTransform is derived from the
VersorRigid3DTransform. Then I would have to use the VersorOptimizer(
single valued... pointset metric... write my own... ) What about the
LM-Optimizer? Why? Couldn't one derive a Similarity3DTransform class
from the Euler3DTransform? Everything would be easy.

Or another question could be: Why is Similarity2D derived from Rigid2D
and Similarity3D from VersorRigid3D?

It would be great if someone could explain to me the concept behind
all these design decisions.

All those little things stop me from using different transforms in a
rather exchangable way in my optimization scheme, because a different
transform sometimes even implies different optimizers. And i finally
do not benefit from the generality of the registration framework
design. It only makes things complicated for me.

Please let me know if I do something fundementally wrong.

  Best regards,

    Thomas
Luis Ibanez | 2 Sep 2006 20:49
Favicon
Gravatar

SCHOLARLY PUBLISHING: Particle Physicists Want to Expand Open Access -- Kaiser 313 (5791): 1215 -- Science


http://www.sciencemag.org/cgi/content/full/313/5791/1215

SCHOLARLY PUBLISHING:
Particle Physicists Want to Expand Open Access
Jocelyn Kaiser

Particle physicists have come up with a novel way to promote free,
immediate access to journal articles. Led by CERN, the giant lab near
Geneva, Switzerland, they want to raise at least $6 million a year to
begin buying open access to all published papers in their field.

The proposal adds fuel to the ongoing debate about public access to
research results. Some private biomedical funding groups, such as the
U.K.'s Wellcome Trust, now pay the author fees required for their
grantees to publish in open-access journals. CERN's announcement goes
further, say observers. "Across a discipline is new," says Peter Suber,
a philosophy professor at Earlham College in Richmond, Indiana, who
closely follows open-access developments for the Scholarly Publishing
and Academic Resources Coalition.

CERN organizers cite next year's start-up of the Large Hadron Collider
(LHC), the most powerful accelerator ever, as the proposal's motivation.
That will be "a unique opportunity to reform the publishing paradigm of
the particle physics community to ensure the widest, most efficient
dissemination of results from this unique facility," a task force of
CERN, other particle physics funders, and scientific publishers
concluded in a report issued in June.*

To accomplish this goal, the task force proposed that a consortium of
labs and funding agencies pay publication costs for particle physics
papers. It would cost $6 million or more a year to include all the
journals willing to offer an open-access option, the group estimated.
That would cover up to half of the 6000 or so original theory and
experimental papers published each year.

The task force hopes to start with $3 million to implement the policy at
a few major journals. The practice would begin with the first LHC
technical papers next year, says CERN's Rüdiger Voss.

Last week, the American Physical Society announced that a $975 to $1300
payment to its two main journals would make an article available to all
readers (Science, 25 August, p. 1031). Elsevier, the other major
particle physics publisher, recently announced an open-access option for
$3000, an amount not included in the task force's cost estimate. CERN's
plan to sponsor journals would not be permanent: "We see it primarily as
a transition scenario," Voss says, after which funders would pay author
fees for individual grantees.

Nearly all particle physicists already share preprints of their articles
on free servers such as arXiv.org at Cornell University Library. Voss,
however, argues that the final, vetted article is still what academia
values most and that physicists are losing access as budget-strapped
libraries cut back on journal subscriptions. Paul Ginsparg, who runs
arXiv.org, adds that journals serve as stable, long-term archives and
offer extras such as searching for related papers in other journals.
Luis Ibanez | 3 Sep 2006 15:20
Favicon
Gravatar

Re: [Question] How to use ITK with MFC?


Hi Tao,

Please look at the example code in:

   InsightApplications/ItkMFC

You should not include the icon file
in the list of resource files.

For an example on how to configure a more
complex GUI, you may want to look at the
source code of CMake itself. The MFC GUI
of CMake is in the directory:

     CMake/Source/MFCDialog

(This is in the source code that you can
    download from www.cmake.org).

   Regards,

     Luis

----------------
Tao Kai wrote:
> hi all,
> I'm building a MFC program with some ITK feature, but I met a serious 
> problem:
> first I create a common single-view MFC program with Visual Studio, the 
> project name is myAPP,
> then I create a CMakelists file under the same folder and write it like 
> this:
>  
>     
> 
> PROJECT(myApp)
> 
> # This INCLUDE is to allow developers with both MSVC and Borland 
> compilers installed
> # to manually change the FindVTK results to point to the correct (MSVC) 
> vtk build directory
> 
> IF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
> 
>   FIND_PACKAGE(ITK)
>   IF(ITK_FOUND)
>     INCLUDE(${ITK_USE_FILE})
>   ELSE(ITK_FOUND)
>     MESSAGE(FATAL_ERROR
>             "Cannot build InsightApplications without ITK.  Please set 
> ITK_DIR.")
>   ENDIF(ITK_FOUND)
> 
> 
> ENDIF( BUILD_OUTSIDE_INSIGHT_APPLICATIONS )
>  
> IF (NOT USE_ITK_FILE)
>   INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)
> ENDIF (NOT USE_ITK_FILE)
> 
> IF (USE_ITK_FILE)
>   INCLUDE(${USE_ITK_FILE})
> ENDIF (USE_ITK_FILE)
> 
> FILE(GLOB SOURCE_FILES "*.cpp")
> FILE(GLOB HEADER_FILES "*.h")
> 
> SET(RESOURCE_FILES
>  myApp.rc
>  res/myApp.ico
>  )
> SET( myApp_SRCS
>  ${SOURCE_FILES}
>  ${HEADER_FILES}
>  ${RESOURCE_FILES}
> )
> 
> SOURCE_GROUP("Source" FILES ${SOURCE_FILES})
> SOURCE_GROUP("Header" FILES ${HEADER_FILES})
> SOURCE_GROUP("Resource" FILES ${RESOURCE_FILES})
> 
> LINK_LIBRARIES(
>   ITKCommon
>   ITKIO
>   ITKBasicFilters
>   ITKNumerics
>   ITKAlgorithms
>   ITKFEM
>   ITKStatistics
>   shlwapi
> )
> 
> SET(CMAKE_BUILD_SETTING_CXX_FLAGS "  /W3 /Zm1000 /GX /GR")
> SET(CMAKE_BUILD_SETTING_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ")
> SET(CMAKE_BUILD_SETTING_CXX_FLAGS_RELEASE "/MD /O2")
> 
> ADD_DEFINITIONS(-D_AFXDLL)
> SET(CMAKE_MFC_FLAG 6)
> ADD_EXECUTABLE(myApp WIN32 ${myApp_SRCS})
> 
>  and then I use CMake with this folder and generated some extra file 
> such as ALL_BUILD.vcproj,
> 
> then I build the solution again, but some surprising thing happen, shown 
> in the picture below attached.
> 
> the information was as follow:
> 
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x1'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x10'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res \myApp.ico error C2018: unknown character '0x5'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x6'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x8'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x6'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x8'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2018: unknown character '0x8'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C2059: syntax error : 'constant'
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C3209: '
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C3209: '' : Unicode 
> identifiers are not yet supported
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C3209: '' : Unicode 
> identifiers are not yet supported
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C3209: ' ' : Unicode 
> identifiers are not yet supported
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico error C3209: ' 00' : Unicode 
> identifiers are not yet supported
> c:\Documents and Settings\Taokai\My Documents\Visual Studio 
> Projects\MFC_Test\myApp\res\myApp.ico fatal error C1004: unexpected end 
> of file found
> myApp warning C4821: Unable to determine Unicode encoding type, please 
> save the file with signature (BOM)
> 
> I have never seen such problem before. Does anyone know why? please help!
> 
> Any help will be greatly appreciated!
> 
>  
> 
> Taokai
> 
> Sep 2, 2006
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@...
> http://www.itk.org/mailman/listinfo/insight-users
Luis Ibanez | 3 Sep 2006 15:25
Favicon
Gravatar

Re: Combining transforms in registration?


Hi Jaety,

You have the option of using an even better solution.

Since you know the rotation parameters, you can simply use them
for initializing the rotational component of the Rigid transform.

You don't need to create any new Transform for doing this,
just use the itkVersorRigid3DTransform, and use the rotation
parameters in the Versor. Note that if what you have are Euler
angles, you should convert them to a Versor by passing first
through a rotaion matrix.

What you should carefully choose is the "Center of Rotation"
this parameter is of great importance, since it relates closely
to the Translation that you will obtain at the end.

For details on this relationships, please read the ITK Software Guide:

          htt://www.itk.org/ItkSoftwareGuide.pdf

in particular the Section on "Transforms" in the "Image Registration"
Chapter.

By playing with the parameters scaling values, you can arrange
for the optimizer to focus on changing the translation parameters
of the Rigid transform and leaving almost unchanged the rotational
parameters.

    Regards,

        Luis

--------------------
Jaety Edwards wrote:
> Hello all,
> 
> I'm trying to figure out the best way to solve the following problem:
> 
> I have two 3D images that I am trying to register. I know that they
> differ by a rigid 3D transformation, and also I know the 3 rotation
> parameters, so all I have to solve for are the translation parameters.
> 
> What I'm doing right now is resampling the image into the correct
> orientation and then using a TranslationTransform in the registration
> process, but it seems like it would be cleaner if I could just pass
> both original images to the registration and use a transform that
> applies my known rotation and then acts like the standard
> TranslationTransform.
> 
> I figure it shouldn't be too difficult to inherit or build off of the
> existing TranslationTransform to do this, and I was going to look into
> that next, but I'm a pretty new ITK user, and I thought I would ask
> here if there was an easier way to do this before diving in.
> 
> Thanks so much,
> Jaety
> _______________________________________________
> Insight-users mailing list
> Insight-users@...
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 
Luis Ibanez | 3 Sep 2006 15:36
Favicon
Gravatar

Re: FW: Building Error For ITK ver. 2.6.0


Hi Cem,

      ITK 2.6 has been built with VS 2005.

Please look at the following emails from the archives (May 2006)

http://public.kitware.com/pipermail/insight-users/2006-May/017997.html
http://public.kitware.com/pipermail/insight-users/2006-May/018061.html

It is likely that have not installed all the elements
that VS 2005 needs.

Regards

    Luis

-------------------
Cem DEMiRKIR wrote:
> Dear ITK Members,
>     I built ITK ver. 2.6.0 by creating a solution for VS 2005. When I 
> started the building process I got the following
>  
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
> std::operator<<<char,struct std::char_traits<char>,class 
> std::allocator<char> >(class std::basic_ostream<char,struct 
> std::char_traits<char> > &,class std::basic_string<char,struct 
> std::char_traits<char>,class std::allocator<char> > const &)" 
>
(??$?6DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> ABV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) 
> already defined in vnl_algo.lib(vnl_symmetric_eigensystem.obj)
>  
> error messages for the projects in the solution as given the attachment 
> txt file, and I also got the same error messages for the test examples 
> of ITK library. Can anyone help me resolving this problem ?
> 
>     Sincerely
> 
>     Cem DEMİRKIR
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> ------ Build started: Project: ImageExamples, Configuration: Release Win32 ------
> Linking...
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??$?6DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> ABV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,char const *)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> PBD <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> 0 <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(char const *,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> PBDABV10 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_istream<char,struct
std::char_traits<char> > & __cdecl std::getline<char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)"
(??$getline <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> std <at>  <at> YAAAV?$basic_istream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_istream<char,struct
std::char_traits<char> > & __cdecl std::operator>><char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)"
(??$?5DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_istream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,char)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> D <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class
std::basic_ostream<char,struct std::char_traits<char> > &,char)"
(??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> D <at> Z)
already defined in ImageExamples.obj
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class
std::basic_ostream<char,struct std::char_traits<char> > &,char const *)"
(??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> PBD <at> Z)
already defined in ImageExamples.obj
>    Creating library G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageExamples.lib and
object G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageExamples.exp
> G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageExamples.exe : fatal error
LNK1169: one or more multiply defined symbols found
> Build log was saved at "file://g:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\Examples\DataRepresentation\Image\ImageExamples.dir\Release\BuildLog.htm"
> ImageExamples - 10 error(s), 0 warning(s)
> ------ Build started: Project: ImageAdaptor4, Configuration: Release Win32 ------
> Linking...
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??$?6DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> ABV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,char const *)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> PBD <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> 0 <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(char const *,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> PBDABV10 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_istream<char,struct
std::char_traits<char> > & __cdecl std::getline<char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)"
(??$getline <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> std <at>  <at> YAAAV?$basic_istream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_istream<char,struct
std::char_traits<char> > & __cdecl std::operator>><char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_istream<char,struct std::char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)"
(??$?5DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_istream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct
std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,char)"
(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_string <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> D <at> Z)
already defined in vnl.lib(vnl_vector+double-.obj)
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class
std::basic_ostream<char,struct std::char_traits<char> > &,char)"
(??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> D <at> Z)
already defined in ImageAdaptor4.obj
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class
std::basic_ostream<char,struct std::char_traits<char> > &,char const *)"
(??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> PBD <at> Z)
already defined in ImageAdaptor4.obj
>    Creating library G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageAdaptor4.lib and
object G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageAdaptor4.exp
> G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageAdaptor4.exe : fatal error
LNK1169: one or more multiply defined symbols found
> Build log was saved at "file://g:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\Examples\DataRepresentation\Image\ImageAdaptor4.dir\Release\BuildLog.htm"
> ImageAdaptor4 - 10 error(s), 0 warning(s)
> 
> The build has been canceled at the user's request
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@...
> http://www.itk.org/mailman/listinfo/insight-users
Luis Ibanez | 3 Sep 2006 19:54
Favicon
Gravatar

Re: FW: Building Error For ITK ver. 2.6.0


Hi Cem,

Thanks for let us know that you found the solution
to your problem.

Why was VXL built with VS2003 ?

    Were you using VXL as system libraries ?

    or

   Did you attempted to reuse a binary directory of
   ITK that was built with VS2003 when you started
   your build with VS2005 ?

   Regards,

      Luis

------------------------
Cem DEMiRKIR wrote:
> Hi Luis,
> 	Thanks for your interest in my problem. I've found out the reason of
> the problem. Since the ITK used the VXL libraries and they were built by
> VS2003, it produces these kind of errors. I've built the VXl using VS2005
> and the problem is fixed.
> 
> 	Sincerely
> 	Cem DEMiRKIR
> 
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez@...] 
> Sent: Sunday, September 03, 2006 4:37 PM
> To: Cem DEMiRKIR
> Cc: insight-users@...
> Subject: Re: [Insight-users] FW: Building Error For ITK ver. 2.6.0
> 
> 
> Hi Cem,
> 
> 
>       ITK 2.6 has been built with VS 2005.
> 
> 
> Please look at the following emails from the archives (May 2006)
> 
> http://public.kitware.com/pipermail/insight-users/2006-May/017997.html
> http://public.kitware.com/pipermail/insight-users/2006-May/018061.html
> 
> 
> It is likely that have not installed all the elements that VS 2005 needs.
> 
> 
> 
> Regards
> 
> 
>     Luis
> 
> 
> 
> -------------------
> Cem DEMiRKIR wrote:
> 
>>Dear ITK Members,
>>    I built ITK ver. 2.6.0 by creating a solution for VS 2005. When I 
>>started the building process I got the following
>> 
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator<<<char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_ostream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > const &)"
>>(??$?6DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_ostre
>>am <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> ABV?$basic_string <at> DU?$char_traits <at> D
>> <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl_algo.lib(vnl_symmetric_eigensystem.obj)
>> 
>>error messages for the projects in the solution as given the 
>>attachment txt file, and I also got the same error messages for the 
>>test examples of ITK library. Can anyone help me resolving this problem ?
>>
>>    Sincerely
>>
>>    Cem DEMİRKIR
>>
>> 
>>
>>
>>----------------------------------------------------------------------
>>--
>>
>>------ Build started: Project: ImageExamples, Configuration: Release 
>>Win32 ------ Linking...
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator<<<char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_ostream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > const &)" 
>>(??$?6DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_ostre
>>am <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> ABV?$basic_string <at> DU?$char_traits <at> D
>> <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &,char const *)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> PBD <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > const &)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> 0 <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(char const *,class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> PBDABV10 <at>  <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_istream<char,struct std::char_traits<char> > & __cdecl 
>>std::getline<char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_istream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > &)" 
>>(??$getline <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> std <at>  <at> YAAAV?$basic
>>_istream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_tr
>>aits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_istream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator>><char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_istream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > &)" 
>>(??$?5DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_istre
>>am <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_traits <at> D
>> <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &,char)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> D <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator<<<struct std::char_traits<char> >(class 
>>std::basic_ostream<char,struct std::char_traits<char> > &,char)" 
>>(??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits
>> <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> D <at> Z) already defined in ImageExamples.obj
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class
> 
> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
> std::operator<<<struct std::char_traits<char> >(class
> std::basic_ostream<char,struct std::char_traits<char> > &,char const *)"
> (??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std
>  <at>  <at>  <at> 0 <at> AAV10 <at> PBD <at> Z) already defined in ImageExamples.obj
> 
>>   Creating library 
>>G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageExamples.li
>>b and object 
>>G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageExamples.ex
>>p 
>>G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageExamples.ex
>>e : fatal error LNK1169: one or more multiply defined symbols found Build
> 
> log was saved at
> "file://g:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\Examples\DataRepresentatio
> n\Image\ImageExamples.dir\Release\BuildLog.htm"
> 
>>ImageExamples - 10 error(s), 0 warning(s)
>>------ Build started: Project: ImageAdaptor4, Configuration: Release 
>>Win32 ------ Linking...
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator<<<char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_ostream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > const &)" 
>>(??$?6DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_ostre
>>am <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> ABV?$basic_string <at> DU?$char_traits <at> D
>> <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &,char const *)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> PBD <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > const &)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> 0 <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(char const *,class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> PBDABV10 <at>  <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_istream<char,struct std::char_traits<char> > & __cdecl 
>>std::getline<char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_istream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > &)" 
>>(??$getline <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> std <at>  <at> YAAAV?$basic
>>_istream <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_tr
>>aits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_istream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator>><char,struct std::char_traits<char>,class 
>>std::allocator<char> >(class std::basic_istream<char,struct 
>>std::char_traits<char> > &,class std::basic_string<char,struct 
>>std::char_traits<char>,class std::allocator<char> > &)" 
>>(??$?5DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YAAAV?$basic_istre
>>am <at> DU?$char_traits <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> AAV?$basic_string <at> DU?$char_traits <at> D
>> <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at>  <at> Z) already defined in 
>>vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > __cdecl std::operator+<char,struct 
>>std::char_traits<char>,class std::allocator<char> >(class 
>>std::basic_string<char,struct std::char_traits<char>,class 
>>std::allocator<char> > const &,char)" 
>>(??$?HDU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 1 <at>  <at> std <at>  <at> YA?AV?$basic_strin
>>g <at> DU?$char_traits <at> D <at> std <at>  <at> V?$allocator <at> D <at> 2 <at>  <at> 0 <at> ABV10 <at> D <at> Z) already 
>>defined in vnl.lib(vnl_vector+double-.obj)
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class 
>>std::basic_ostream<char,struct std::char_traits<char> > & __cdecl 
>>std::operator<<<struct std::char_traits<char> >(class 
>>std::basic_ostream<char,struct std::char_traits<char> > &,char)" 
>>(??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits
>> <at> D <at> std <at>  <at>  <at> 0 <at> AAV10 <at> D <at> Z) already defined in ImageAdaptor4.obj
>>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class
> 
> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
> std::operator<<<struct std::char_traits<char> >(class
> std::basic_ostream<char,struct std::char_traits<char> > &,char const *)"
> (??$?6U?$char_traits <at> D <at> std <at>  <at>  <at> std <at>  <at> YAAAV?$basic_ostream <at> DU?$char_traits <at> D <at> std
>  <at>  <at>  <at> 0 <at> AAV10 <at> PBD <at> Z) already defined in ImageAdaptor4.obj
> 
>>   Creating library 
>>G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageAdaptor4.li
>>b and object 
>>G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageAdaptor4.ex
>>p 
>>G:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\bin\Release\ImageAdaptor4.ex
>>e : fatal error LNK1169: one or more multiply defined symbols found Build
> 
> log was saved at
> "file://g:\Work\Cpp\Libs\InsightToolkit-2.6.0\bin\Examples\DataRepresentatio
> n\Image\ImageAdaptor4.dir\Release\BuildLog.htm"
> 
>>ImageAdaptor4 - 10 error(s), 0 warning(s)
>>
>>The build has been canceled at the user's request
>>
>>
>>
>>----------------------------------------------------------------------
>>--
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users@...
>>http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 
> 
> 

Gmane