[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    [Insight-users] A runtime error
From:       "Peng Cheng" <peng-cheng () uiowa ! edu>
Date:       2003-12-31 5:26:36
Message-ID: 200312301728.hBUHS4Qc037268 () day ! its ! uiowa ! edu
[Download RAW message or body]

												peng-cheng@uiowa.edu
												2003-12-30
Dear All,
Thanks for answering my last question. here comes another problem again. :(
When I run my .exe console application. it pop up a message box said:

"Unable To Locate Component
This application has failed to start because ITKCommon.dll was not found. \
Re-installing the application may fix this problem."

I am using Windows XP + VC6.0 + ITK1.4.0 + CMake1.8
I tried to rebuild the ITK,and add the path of the ITKCommon.dll to my program. still \
it does not work.

following is my CMakeList file: Anybody knows how to fix this problem? thanks a lot

PROJECT(Image)
INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)

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

LINK_LIBRARIES( ITKAlgorithms ITKIO ITKBasicFilters ITKCommon itkvnl_algo itkvnl )
LINK_LIBRARIES ( itkzlib itksys )


SET( SRC_COMMON
    ParameterMap.cxx
   )


ADD_EXECUTABLE( Image
    MainFunction.cxx 
    ${SRC_COMMON}
    )


Sincerely yours,
Peng Cheng

Dept. of BME
University of Iowa


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic