Hi Yari,

that is rather strange. Thanks for pointing out the files where you had to add 
the includes. This will be helpful if someone else stumbles over the same 
problem. Which version of Qt are you using? Maybe there was a clean-up in some 
of the included Qt files which used to include algorithm.

Regarding your starting problem. You do not want to select mitkCore as startup 
project, but one of the projects which build executables. Choices are 
(depending on if they are switched on in your cmake configuration):
MitkCoreApp
MitkWorkbench
MitkDiffusion
and if you have not renamed the default application in the template project.
AwesomeApp

Best,
Caspar
________________________________________
Von: yari mattei [[email protected]]
Gesendet: Freitag, 27. Februar 2015 10:02
An: [email protected]
Betreff: Re: [mitk-users] Creating a new MITK project

Hi Caspar,

I tried to follow your instruction and I ve found out that algorithm
header wasn't included in the following files:

CTK project :
ctkcrosshairLabel.cpp
MITK prject:
berryTabbedStackPresentation.cpp
berraQtWidgetsTweakletImpl.cpp
Qxt project:
qxtlineedit.cpp

By adding the inclusion I finally manage to build the solution. Is this
a known problem or I made something wrong?

To do this I downloaded the MITK-2014.10.0-src.tar.gz from the download
section of the MITK website.

Now the problem is run the application. I try to open the
StartVS_debug.bat and I choose the mitkCore project as start up project
but I recieve this error message:

     Unable to start program
'E:\MITK_dev\MITK-superbuild\MITK-build\bin\Debug\MitkCore.dll'

I am not sure if I miss some steps after the building and the running of
the program.

Do you have any advice?

Thank you so much

Yari



Il 26.02.2015 15:20, Goch, Caspar Jonas ha scritto:
> Hi Yari,
>
> Is the build still failing because of the std::min/std::max errors? Have you 
> tried building the failing builds separately? You can open e.g. the CTK.sln 
> in the MITK-superbuild/CTK-build/ directory and try to build CTK manually. If 
> you still get the problems, can you check whether VS finds the corresponding 
> std headers (in this case algorithm), just right click the include and select 
> open document.
>
> Best,
> Caspar
>
> -----Ursprüngliche Nachricht-----
> Von: yari mattei [mailto:[email protected]]
> Gesendet: Donnerstag, 26. Februar 2015 14:52
> An: [email protected]
> Betreff: Re: [mitk-users] Creating a new MITK project
>
> Hi,
>
> I have updated my VS to the udpate 4, but is still not working.
>
> I have tried with the master and the older version (the one shown me by
> Caspar) but in both case I still have
> 3 build faield.
>
> Does someone have an idea of how todo?
>
> Thanks
>
> Yari
> Il 23.02.2015 17:31, Rostislav Khlebnikov ha scritto:
>> 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-bui
>>>> ld\CTK-build\Libs\Widgets\CTKWidgets.vcxproj]
>>>> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-bui
>>>> ld\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-bui
>>>> ld\CTK-build\Libs\Widgets\CTKWidgets.vcxproj]
>>>> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-bui
>>>> ld\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-bui
>>>> ld\CTK-build\Libs\Widgets\CTKWidgets.vcxproj]
>>>> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-bui
>>>> ld\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-bui
>>>> ld\CTK-build\Libs\Widgets\CTKWidgets.vcxproj]
>>>> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-bui
>>>> ld\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-bui
>>>> ld\CTK-build\Libs\Widgets\CTKWidgets.vcxproj]
>>>> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-bui
>>>> ld\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-bui
>>>> ld\CTK-build\Libs\Widgets\CTKWidgets.vcxproj]
>>>> [E:\MITK_dev\CardioProject-superbuild\MITK-superbuild\ep\src\CTK-bui
>>>> ld\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/os
>>>>> tg.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/ost
>>>> g.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
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored by Intel and developed in partnership with Slashdot Media, is your 
> hub for all things parallel software development, from weekly thought 
> leadership blogs to news, videos, case studies, tutorials and more. Take a 
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to