Hi,

these warnings appear if the PACKAGE build cannot find a file (and/or it does 
not exist). As these seem to be files essential to running MITK and I presume, 
that you tried running the application before building, they should be present.

You should find these files at [1]
/path/to/your/superbuild/MITK-superbuild/MITK-build/bin/Release 
During the package build they are collected and copied to  
/path/to/your/superbuild/MITK-superbuild/MITK-build/_CPack_Packages/(architecture)/NSIS/MITK-(number)-(hash)-(architecture)/bin/
Are there any .dlls there? If only the mitk related ones are missing (e.g. ITK 
dlls are all there) that would be a hint, that [1] is missing from your path 
variable, in that case you might want to consider using the .bat file mentioned 
by Sascha to start your Visual Studio. If there are no .dlls whatsoever you 
might still want to give the .bat a try.

Regards,
Caspar

-----Ursprüngliche Nachricht-----
Von: Sascha Zelzer [mailto:[email protected]] 
Gesendet: Dienstag, 9. August 2011 09:45
An: Miklos Espak
Cc: mitk-users
Betreff: Re: [mitk-users] windows installer

Hi,

well, your warnings actually sound serious. Are you aware of the fact 
the Windows packaging support included only Release mode builds? Make 
sure that *every* dependent library is built in Release mode (changing 
the build type at the superbuild level will re-configure all 
dependencies automatically).

Did you use the startVS_release.bat file to open your .sln file?

Did you modify your PATH environment variable in some way?

Zip files are automatically generated. If NSIS is found, a NSIS 
installer is generated *additionally*. If the packaging process was 
successfull, the created packages are located directly in your project's 
build directory.

Best,
Sascha

On 08/08/2011 05:45 PM, Miklos Espak wrote:
> Hi,
>
> I have successfully built my external application based on the latest
> MITK on Windows with VS2008 (x32).
>
> Now, I want to create an installer. I installed NSIS, and when I
> configure my app, its path appears correctly in the CMake GUI.
>
> If I build the PACKAGE target from VS, however, I get warnings like this:
>
> warning: target 'Qmitk.dll' is not absolute...
> warning: target 'Qmitk.dll' does not exist...
>
> for all the dll-s in MITK and in my application. As a consequence at
> the end of the output there are lines like "Error copying file
> "Qmitk.dll" to ...".
>
> Did somebody encounter this problem?
>
> I read that it is possible to create a deployable zip file. That would
> be also fine. What is the way to make that?
>
> Thanks!
>
> Best regards,
> Miklos
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos&  much more. Register early&  save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to