Hi Stefan,

thanks for the answer. I will list the steps I did in order to see if I made something wrong :)

- create a directory -> E:\MITK-d2
- download the project template ( https://github.com/MITK/MITK-ProjectTemplate ) as ZIP file - put the contenct of the ZIP (the folder named "MITK-ProjectTemplate-master") file in E:\MITK-d2 - rename the folder as MITK ( E:\MITK-d2\MITK-ProjectTemplate-master becomes E:\MITK-d2\MITK )
- create a directory -> E:\MITK-d2\MITK-build
Now I have the following tree :
- E
    - MITK -d2
            - MITK (with the project template)
            - MITK-build
- Open cmake gui
- set "where is the source code:" as E:\MITK-d2\MITK
- set "where to build the binaries:" as E:\MITK-d2\MITK-build
- click configure
choose the generator as "visual studio 12 2013 Win64" and the option "use default native compilers"
- I get "Error in configuration process, project files may be invalid"
- set "Qt5_DIR" (that is NOTFOUND) as as E:\Qt5\5.4\msvc2013_64_opengl\lib\cmake\Qt5
- choose to build_tutorial
- click configure
- No more error and I get "cofiguring done"
- click generate
- close cmake
- go to E:\MITK-d2\MITK-build and open AwesomeProject-superbuild.sln ff
- click the key F7 to start building
- I get the error (the complete log of the building is available here https://www.dropbox.com/s/a3rzmm3aush277b/error-log.txt?dl=0 )

This are all the steps I made.

If you need any other information don't hesitate to ask me :)

Cheers,

Yari


Il 08.07.2015 13:34, Kislinskiy, Stefan ha scritto:
Hi Yari,

we need more information on what you did exactly. I just cloned from 
https://github.com/MITK/MITK-ProjectTemplate, configured (had to set 
CMAKE_PREFIX_PATH to Qt 5), opened AwesomeProject-suberbuild.sln and start 
building ALL_BUILD which is working fine for me.

Best regards,
Stefan


-----Original Message-----
From: yari mattei [mailto:yari.mat...@student.supsi.ch]
Sent: Montag, 6. Juli 2015 14:04
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] prject template problem

Hi everybody,

I am trying to create a MITK project using the porject template, but everytime I start 
bulding the "AwesomeProject-superbuild.sln" I get this
error:

5>  CMake Error at CMakeLists.txt:125 (find_package):
5>    By not providing "FindMITK.cmake" in CMAKE_MODULE_PATH this
project has
5>    asked CMake to find a package configuration file provided by
"MITK", but
5>    CMake did not find one.
5>
5>    Could not find a package configuration file provided by "MITK"
(requested
5>    version 2015.05.0) with any of the following names:
5>
5>      MITKConfig.cmake
5>      mitk-config.cmake
5>
5>    Add the installation prefix of "MITK" to CMAKE_PREFIX_PATH or set
5>    "MITK_DIR" to a directory containing one of the above files.  If
"MITK"
5>    provides a separate development package or SDK, be sure it has been
5>    installed.

I am using windows 7 with Visual Studio 2013.
Notice that I can build the MITK framework itself from the master branch and 
from the last release (2015.05.0) without any problem.

Does someone have a suggestion?

Thanks in advance.

Best,
Yari



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need 
to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to