Hi Urban, I see, the MITK-ProjectTemplate still uses the deprecated MITK_BUILD_TUTORIAL variable. It should still work though.
Did you specify the MITK_DIR variable in the CMake configuration of AmzPrSb? Since your AwesomeApp runs, you must have a MITK-build somewhere. Where does the MITK_DIR variable point to? And just to make sure: You did first build the BUILD_ALL project from AmzPrSb/AwesomeProject-superbuild.sln, did you? - Sascha On 07/01/2013 11:12 AM, Urban Simoncic wrote: > Hi Sascha, > > let me clarify what exactly I have done: > - I downloaded the template application to C:/amz/AmzPr (shorter folder > names to prevent problems with ITK and path length above 50) > - I configured CMake to build binaries to C:/amz/AmzPrSb - that is my > main build-directory that should be called "AwesomeProject-superbuild" > - In CMake configuraton I can's see MITK_BUILD_EXAMPLES variable, but I > did enabled MITK_BUILD_TUTORIAL variable > - I have built the the > "C:/amz/AmzPrSb/AweseomeProject-build/AwesomeProject.sln" solution and I > am able to run the AwesomeApp in the Visual studio > > I do have source for tutorials in C:\amz\AmzPrSb\MITK\Examples\Tutorial, > but I do not have the directory C:\amz\AmzPrSb\MITK-build. So, do I have > to configure the directory C:\amz\AmzPrSb\MITK using CMake (by enabling > MITK_BUILD_EXAMPLES variable and setting binary directory to > C:\amz\AmzPrSb\MITK-build) and build the newly created > C:\amz\AmzPrSb\MITK-build? > > Thanks in advance, > Urban > > On 1.7.2013 10:40, Sascha Zelzer wrote: >> Hi Urban, >> >> Welcome to MITK! >> >> The tutorial code is not build by default when you build your own >> project. As you might have realized, your project is set-up as a >> "super-build", meaning that it is able to download, configure, and >> build its dependencies. Your project has a dependency on "MITK", and >> the CMake variable "MITK_BUILD_EXAMPLES" is available in your projects >> main build directory. If your main build-directory is called >> "AwesomeProject-superbuild", enabling the MITK_BUILD_EXAMPLES variable >> in the CMake configuration for that directory and building the >> "superbuild project" will build the example executables inside the >> AwesomeProject-superbuild/MITK-build/bin directory. >> >> Best, >> >> Sascha >> >> On 07/01/2013 09:15 AM, Urban Simoncic wrote: >>> Hello, >>> >>> I just started with MITK with the intention to use it for my >>> application. I followed the >>> http://docs.mitk.org/2013.03.2/HowToNewProject.html and successfully >>> build the "AwesomeApp". I want to compile the tutorials >>> http://docs.mitk.org/2013.03.2/Step00Page.html but I don't understand >>> how to proceed. Tutorial says that I have to build examples like the >>> MITK application. So, shall I build what is in the subfolder MITK in the >>> AwesomeProject-superbuild folder? >>> >>> Sorry for novice question, as I have no experiences with so >>> comprehensive C++ projects. >>> >>> Thanks, >>> Urban >>> >>> ------------------------------------------------------------------------------ >>> >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> mitk-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mitk-users >> ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
