Dear Michael,

Thank you very much! I have built MITK-superbuild.sln with standard
debug and release modes successfully.

Regards.
Deqiang

2012/10/24 Müller, Michael <[email protected]>:
> Dear Deqiang,
>
> There are two different errors. OpenCV does not offer RelWithDebug mode. You 
> should, however, be able to build OpenCV in release mode and all other 
> libraries in RelWithDebug. But I am afraid superbuild wont work here because 
> OpenCV simply doesn`t know that configuration. You have to open the 
> respective project files in the superbuild tree and build it manually. Does 
> the superbuild work for standard Debug and Release modes?
> The other error: Linker errors sometimes arise when the superbuild 
> configuration changed and Visual studio does not tidy up previous 
> intermediate files correctly, i.e. corrupted object files are left behind. I 
> recommend rebuilding CTK.
>
> Hope that helps
> Michael
>
>
> -----Ursprüngliche Nachricht-----
> Von: Deqiang Xiao [mailto:[email protected]]
> Gesendet: Dienstag, 16. Oktober 2012 05:08
> An: [email protected]
> Betreff: [mitk-users] "error PRJ0019" occurs when building MITK
>
> Dear All,
>
> I'm getting the following errors when building MITK-superbuild.sln through 
> VS2008 with RelWithDebug mode:
>
> Error   1       error PRJ0019: A tool returned an error code from "Performing
> build step for 'OpenCV'"        OpenCV  OpenCV
> Error   2       error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static void __cdecl 
> DcmRLEDecoderRegistration::registerCodecs(bool,bool)"
> (__imp_?registerCodecs@DcmRLEDecoderRegistration@@SAX_N0@Z) referenced in 
> function "public: void __cdecl 
> ctkDICOMDatabasePrivate::registerCompressionLibraries(void)"
> (?registerCompressionLibraries@ctkDICOMDatabasePrivate@@QEAAXXZ)        
> 1>1>ctkDICOMDatabase.obj        CTK
> Error   556     error PRJ0019: A tool returned an error code from
> "Performing build step for 'CTK'"       CTK     CTK
> Error   563     fatal error LNK1136: invalid or corrupt
> file    2>.\PocoFoundation.dir\RelWithDebInfo\Path.obj  MITK-build
>
> Someone can give any suggestions? Any help is appreciated!
>
> Following information may be helpful:
> OS: win7
> cmake: 2.8.9
> Qt: 4.8.2
> Git: 1.7.11
> complier: visual studio 2008
>
>
> Regards,
> Deqiang
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM 
> Deploy New Relic app performance management and know exactly what is 
> happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at 
> no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to