Hi guys,

is finally working :)

Thank you so much for the help.

Best,

Yari

Il 09.07.2015 13:21, Rostislav Khlebnikov ha scritto:

To shorten the path you can use something like VisualSubst. Just create a drive letter for a folder you use for MITK-related stuff.

Rostislav.

On 9 Jul 2015, at 12:10, "Kislinskiy, Stefan" <[email protected] <mailto:[email protected]>> wrote:

    Hi, from your log:

    2>    CMake Error at CMakeLists.txt:36 (message):

    2>      ITK build directory path length is too long (54 >
    50).Please set the ITK

    2>      build directory to a directory with a shorter path.

    You need to shorten your build path, e.g. use something like
    “E:/MITK-sb”.

    *From:*yari mattei [mailto:[email protected]]
    *Sent:* Donnerstag, 9. Juli 2015 11:36
    *To:* [email protected]
    *Subject:* Re: [mitk-users] prject template problem

    Hi,

    I tried to set CMAKE_PREFIX_PATH with the shorter path but is not
    working. I tried to do combination of shorter and longer path and
    the only way to get a different error
    is to set CMAKE_PREFIX_PATH and Qt5_DIR to
    E:/Qt5/5.4/msvc2013_64_opengl/lib/cmake/Qt5

    The new error log is available at

    https://www.dropbox.com/s/a3rzmm3aush277b/error-log.txt?dl=0

    Cheers,

    Yari

    Il 09.07.2015 09:45, Kislinskiy, Stefan ha scritto:

        Hi, thanks for the info. The actual problem is right below the 
clone-step in your log, not at the bottom:

        2>  CMake Error at CMakeLists.txt:226 (find_package):

        2>    By not providing "FindQt5.cmake" in
        CMAKE_MODULE_PATH this project has

        2>    asked CMake to find a package configuration file provided by 
"Qt5", but

        2>    CMake did not find one.

        2>

        2>    Could not find a package configuration file provided by "Qt5" 
(requested

        2>    version 5.0.0) with any of the following names:

        2>

        2>      Qt5Config.cmake

        2>      qt5-config.cmake

        2>

        2>    Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set 
"Qt5_DIR"

        2>    to a directory containing one of the above files.  If "Qt5" 
provides a

        2>    separate development package or SDK, be sure it has been
        installed.

        2>

        2>

        2>  -- Configuring incomplete, errors occurred!

        Could you please try to set CMAKE_PREFIX_PATH to 
"E:\Qt\5.4\msvc2014_64_opengl" instead of Qt5_DIR (note the shorter path)? I 
guess you have to do this from scratch (in a clean build dir).

        Best regards,

        Stefan

        ________________________________________

        Von: yari mattei [[email protected]  
<mailto:[email protected]>]

        Gesendet: Donnerstag, 9. Juli 2015 09:19

        An:[email protected]  
<mailto:[email protected]>

        Betreff: Re: [mitk-users] prject template problem

        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 
herehttps://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 
fromhttps://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:[email protected]]

        Sent: Montag, 6. Juli 2015 14:04

        To:[email protected]  
<mailto:[email protected]><mailto:[email protected]>  
<mailto:[email protected]>

        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

        [email protected]  
<mailto:[email protected]><mailto:[email protected]>  
<mailto:[email protected]>

        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
    [email protected]
    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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to