Hi, this looks pretty strange. This kind of errors usually shows due to lack of "#include <algorithm>" when using std::max and std::min. However, for me ctkCrosshairLabel.cpp compiles fine. Perhaps, updating your VS 2013 would help - I have Update 4 - which one do you have?
Rostislav. On 23/02/2015 16:24, yari mattei wrote: > Hi Caspar, > > Thanks for the answer, I have tried with the older version, but > unfortunately is still not working. > > Do you have any other suggestion? > > Regards > > Yari > > Il 23.02.2015 10:48, Goch, Caspar Jonas ha scritto: >> Hi Yari, >> >> as far as I can tell your MITK-build errors boil down to: >> E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK\Libs\Widgets\ctkCrosshairLabel.cpp(138): >> error C2039: 'max' : is not a member of 'std' >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK-build\Libs\Widgets\CTKWidgets.vcxproj] >> >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK.vcxproj] >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\CTK.vcxproj] >> E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK\Libs\Widgets\ctkCrosshairLabel.cpp(138): >> error C3861: 'max': identifier not found >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK-build\Libs\Widgets\CTKWidgets.vcxproj] >> >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK.vcxproj] >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\CTK.vcxproj] >> E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK\Libs\Widgets\ctkCrosshairLabel.cpp(147): >> error C2039: 'max' : is not a member of 'std' >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK-build\Libs\Widgets\CTKWidgets.vcxproj] >> >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK.vcxproj] >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\CTK.vcxproj] >> E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK\Libs\Widgets\ctkCrosshairLabel.cpp(147): >> error C3861: 'max': identifier not found >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK-build\Libs\Widgets\CTKWidgets.vcxproj] >> >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK.vcxproj] >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\CTK.vcxproj] >> E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK\Libs\Widgets\ctkCrosshairLabel.cpp(155): >> error C2039: 'min' : is not a member of 'std' >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK-build\Libs\Widgets\CTKWidgets.vcxproj] >> >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK.vcxproj] >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\CTK.vcxproj] >> E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK\Libs\Widgets\ctkCrosshairLabel.cpp(155): >> error C3861: 'min': identifier not found >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK-build\Libs\Widgets\CTKWidgets.vcxproj] >> >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-build\CTK.vcxproj] >> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\CTK.vcxproj] >> >> and your Cardio build does not configure because MITK can not be found. >> >> This might very well have something to do with the recent build system >> changes and for a beginner I would recommend reseting to an older >> ProjectTemplate commit ( the one before the HEAD, >> 8be6a04f2864cf8f307623da1fb7c0f94a5945c4 ). That one will automatically >> build the last release instead of the current master. >> >> Just keep in mind, that you might have to change a couple of things when >> updating your project to a newer MITK. >> >> Best, >> Caspar >> ________________________________________ >> Von: yari mattei [[email protected]] >> Gesendet: Montag, 23. Februar 2015 09:49 >> An: Goch, Caspar Jonas; [email protected] >> Betreff: Re: [mitk-users] Creating a new MITK project >> >> Hi Caspar, >> >> since the error logs are quite big I have created a folder in dropbox >> with the log of each project build. This is the link >> >> https://www.dropbox.com/sh/2z1swxp9j8pxskf/AAC_meQH_TDPJtyxLloc-56za?dl=0 >> >> If you want others informations or you want their in different way just >> let me know. >> >> By the way I think the superbuild (inside the project folders created >> either with the plugin generator either with the project template) >> download the current master, but I am not entierly sure. May you confirm >> that? >> >> Thanks a lot >> >> Yari >> >> Il 19.02.2015 18:31, Goch, Caspar Jonas ha scritto: >>> Hi Yari, >>> >>> are you using the current master or the last release? There have been >>> architectural changes in between which you might be stumbling over. Do you >>> have the error log of the failed builds? >>> >>> Best, >>> Caspar >>> ________________________________________ >>> Von: yari mattei [[email protected]] >>> Gesendet: Donnerstag, 19. Februar 2015 17:03 >>> An: [email protected] >>> Betreff: [mitk-users] Creating a new MITK project >>> >>> Hi, >>> >>> I am trying to create a project to use MITK framework, but I am having >>> problem. >>> >>> I follow the user tutorial on "Creating a new MITK project" ( >>> http://docs.mitk.org/2014.03/HowToNewProject.html ), >>> but is not working. >>> >>> I have tried with both the methods (with the plugin generator and with >>> the project template ) but is not working. >>> >>> I build the project with Visual Studio 2013 and I have 2 build failed >>> and in the "D:\AwesomeProject-superbuild\AwesomeProject-build\" there >>> are not the .bat files. >>> >>> I am using Windows 7 64 bit, Visual Studio 2013 and cmake 3.1.3. >>> >>> Does someone have an idea of what to do? >>> >>> I am of course available to give more information, >>> >>> Thanks in advance >>> >>> Yari >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> mitk-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mitk-users >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >> _______________________________________________ >> mitk-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
