One more note as you seem to be confused about x86 and x64 build configurations with Visual Studio: Visual Studio itself is a x86 (32 bit) application. Nevertheless you can create x86 and x64 applications with it, which can be specified in the build configuration of Visual Studio projects. CMake will do that for you. For example - I guess you have a 64-bit Windows and you want to build a 64-bit MITK - you should install the msvc2013_64_opengl version of Qt, and when pressing Configure in CMake for the first time, select the Visual Studio 2013 Win64 generator. This generator will automatically set the default configurations of the generated Visual Studio projects to 64 bit. If you want to build a 32-bit MITK, you should (also) install msvc2013_32_opengl and choose the Visual Studio 2013 Win32 generator. In both examples make sure to set CMAKE_PREFIX_PATH to the according Qt path, as you cannot link a 32-bit application to 64-bit libraries and vice versa. ________________________________________ Von: Kislinskiy, Stefan [s.kislins...@dkfz-heidelberg.de] Gesendet: Mittwoch, 26. August 2015 00:45 An: Heraldo Sifuentes; mitk-users@lists.sourceforge.net Betreff: Re: [mitk-users] Building MITK from source
Hi, as Poco is included in the superbuild and it can't be found there was probably an error when building it. Since you had numerous errors, changed compilers, CMake, and Qt versions I would recommend to start from scratch with a fresh build directory. Usually you don't get any errors when configuring and building the MITK superbuild. Well, except for missing Qt the very first time you configure. You can even prevent this configure error by adding the CMAKE_PREFIX_PATH variable (type: path, value: something like C:\Qt\5.4\msvc2013_64_opengl) to the cache before pressing configure (there's a button in the CMake GUI in the top right corner for that purpose). It's impossible to help you remotely after all of your manual interventions on the superbuild. Regarding errors in the MITK superbuild: As projects in the MITK-superbuild solution just are lists of external commands to be executed, you will only get those typical "cmd.exe exited with code X" messages in the Errors window. But those messages are obviously not the actual errors. Hence, double click on such errors in the Errors window and then change to the Output window. The cursor is now at the according error. From here, scroll up to see the actual error that caused CMake or MSBuild to exit with code 1. The true error messages will be much more descriptive. Best, Stefan ________________________________________ Von: Heraldo Sifuentes [e0607...@gmail.com] Gesendet: Mittwoch, 26. August 2015 00:16 An: mitk-users@lists.sourceforge.net Betreff: Re: [mitk-users] (no subject) Hi, I managed to somehow let Visual Studio run till the very end. Now I only get these errors: Error 1927 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 MITK-Configure Error 1928 error : could not find CMAKE_GENERATOR in Cache D:\Programs\MITK\MITK-superbuild\CUSTOMBUILD MITK-build What does this mean? When trying to configure MITK-build with CMAKE I also get this error: CMake Error at CMakeLists.txt:837 (find_package): Could not find a package configuration file provided by "Poco" with any of the following names: PocoConfig.cmake poco-config.cmake Add the installation prefix of "Poco" to CMAKE_PREFIX_PATH or set "Poco_DIR" to a directory containing one of the above files. If "Poco" provides a separate development package or SDK, be sure it has been installed. I've found the path to this PocoConfig.cmake file, but I'm not sure if its the one the build wants: D:\Programs\MITK\MITK-superbuild\ep\src\Poco-build\Poco Is it that one or are they referring to another PocoConfig file? Best, Heraldo 2015-08-25 9:02 GMT+02:00 Kislinskiy, Stefan <s.kislins...@dkfz-heidelberg.de>: > I recommend VS 2013 Community Edition as well, but in case you want to keep > VS 2012 Express, which is also fine, make sure you install the latest update > (at least Update 4). To get a 64-bit Qt 5 for VS 2015, you have to select Qt > 5.2.1 (OpenGL) from the Qt online installer. With VS 2013, please use Qt 5.4 > for example but no later version, as we don't support Qt 5.5 for now. You > always have to register "free" versions of VS, otherwise they stop working > after 30 days as far as I know. > ________________________________________ > Von: Heraldo Sifuentes [e0607...@gmail.com] > Gesendet: Montag, 24. August 2015 18:42 > An: mitk-users@lists.sourceforge.net > Betreff: Re: [mitk-users] (no subject) > > So, I downloaded and installed VS2012 Express. When I try to run the > application, I get the message, that there is a compability problem, > but the program can be executed. So, I execute the program without > solving the compability issues, but I need a product key to use VS2012 > or sign in to MSN. I use the sign option, but the whole registration > doesn't work. > > Is there any way to use VS2012 Express without signing in or using a > product key? > > About Qt: the website only offers a 32bit version of the 5.4.1 > release. Trying to build Qt myself didn't work, 'cause the compiler > got into an endless loop. > > Am I the only one having so many issues to just build up a single program? > > 2015-08-24 11:43 GMT+02:00 Goch, Caspar Jonas <c.g...@dkfz-heidelberg.de>: >> Hi Heraldo, >> >> that is probably the problem. We currently do not officially support (read, >> nobody of us is using it and we have not tested it yet) VS 2015. Please take >> a look at the supported platforms for alternatives [1]. Also, as far as I am >> aware Qt is not available for VS 2015 yet? Did you build your version >> yourself? >> >> Regarding 32/64 Bit, just make sure that your installed Qt matches the >> target you are trying to build. >> >> I can understand your frustration, but so far there has been nothing we can >> do about but point you at the documentation. >> >> Best, >> Caspar >> >> P.S: Please be so kind as to use a subject, that really helps deciding at a >> glance whether it is something one might be most qualified to answer. >> >> [1] http://docs.mitk.org/2015.05/SupportedPlatformsPage.html >> >> -----Ursprüngliche Nachricht----- >> Von: Heraldo Sifuentes [mailto:e0607...@gmail.com] >> Gesendet: Montag, 24. August 2015 10:27 >> An: mitk-users@lists.sourceforge.net >> Betreff: [mitk-users] (no subject) >> >> Hi, >> >> I'm using Visual Studio Company 2015, which can be downloaded from this site: >> https://www.visualstudio.com/products/visual-studio-community-vs >> >> But I don't really know where I can get some information about the compiler. >> I changed the CMakeList.txt file. I assigned the CMAKE_PREFIX_PATH variable >> the path to Qt, because CMAKE didn't accept the path as input while >> configurating MITK. >> >> My Qt is a 32bit version and I suppose that my Visual Studio is a 64bit >> application. May that be the problem? If so, where can I get a Visual Studio >> Express 32bit version? I don't know which version is been offered by the >> homepage. >> >> >> Regarding the plugin. >> I downloaded and installed this version of MITK >> http://www.mitk.org/download/releases/MITK-2015.05/Windows/ >> >> I downloaded this application for the creation of plugins: >> http://mitk.org/wiki/Downloads#Plugin_Generator >> >> I followed this manual: >> http://docs.mitk.org/nightly/NewPluginPage.html >> >> I create my plugin with this command: >> >> ./MitkPluginGenerator --plugin-symbolic-name org.mycompany.myplugin >> --view-name "My View" >> >> I copied my plugin to the MTIK/Plugin directory, but I couldn't configure >> the plugin.cmake file, because there is no cmake file. >> Do I need any extra software to create plugins? Or is the creation of >> plugins only possible when building MITK? >> >> I want to solve this problems this week, 'cause I need to advance with my >> work, but every time I solve a problem, another one shows up. >> >> Best regards, >> Heraldo >> >> >> -------------------------------------------------------------------------------------------------------------------------------------------- >> Hi Heraldo, >> >> which Visual Studio compiler are you using? Have you changed any CMake >> setting? Does this happen if you follow the build instructions exactly? >> >> Regarding the plugin: >> I do not understand your question. Where did you generate your code? >> What have you installed? What are you trying to do? >> If you want to create a new plugin take a look at [1]. >> >> Best, >> Caspar >> >> P.S: Please avoid sending screenshots over the users list as this leads to a >> lot of people getting large mails. Generally sending links to the >> screenshots is better, or in the case of error messages sending the log >> itself (or the relevant part thereof, if one knows which one is relevant). >> >> [1] http://docs.mitk.org/nightly/NewPluginPage.html >> ________________________________________ >> Von: Heraldo Sifuentes [e0607...@gmail.com] >> Gesendet: Freitag, 21. August 2015 15:26 >> An: mitk-users@lists.sourceforge.net >> Betreff: [mitk-users] Superbuild >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> mitk-users mailing list >> mitk-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > ------------------------------------------------------------------------------ > _______________________________________________ > mitk-users mailing list > mitk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users