Hi! Is it true, that if I use a 64bit-machine, I HAVE to compile Qt in 64bit? Or is it supposed to work fine in 32bit? Or is there something special I have to pay attention when building Qt 32bit on a 64bit system?
@Miklos: SP1 is installed. You did also use the Windows SDK, right? Do you have an idea, why it didn't generate the registry entries for 64bit-compilation? Best Regards, Martin -------- Original-Nachricht -------- > Datum: Fri, 25 Jan 2013 13:02:02 +0000 > Von: Miklos Espak <[email protected]> > An: Sascha Zelzer <[email protected]> > CC: "Goch, Caspar Jonas" <[email protected]>, Martin Tatzber > <[email protected]>, "[email protected]" > <[email protected]> > Betreff: Re: [mitk-users] laptop crashing while building MITK with Visual > Studio > I have successfully built MITK with VS2010 Express SP1 on 64 bit about ten > months ago. (Have not tried since then.) > Make sure that the SP1 is installed. > > Regards, > Miklos > > > > On Fri, Jan 25, 2013 at 12:49 PM, Sascha Zelzer > <[email protected] > > wrote: > > > Hi, > > > > I have personally used VS 2008 Express and VS 2010 Express successfully > > in 32 bit mode. There is actually no reason why MITK shouldn't work with > > the express editions. However, we do not have experience with setting up > > a 64 bit toolchain based on the express products and hence cannot > > provide support for them. If you need bug fixes to the code or build > > system to make it work, we will gladly apply them. > > > > Best, > > Sascha > > > > On 01/25/2013 01:27 PM, Goch, Caspar Jonas wrote: > > > Hi Martin, > > > > > > we are using the Professional Editions of MS Visual Studio 2008/2010. > We > > have had a few tries with the Express Editions which worked with mixed > > successes (ranging from "basically everything" to "mostly" ). Personally > I > > have not tried them so I would be grateful if somebody successfully > working > > with any of the express editions chips in. > > > > > > That aside, some suggestions that might help you: > > > - A guide to compiling Qt for 64 Bit (aimed MSVC 2010, but you more > or > > less only need to switch some variables) [1] > > > - A qt creator 64 Bit for windows (I have not tried it, so I do not > > know how well it works) [2] > > > - A question about building qt 64 Bit [3] > > > > > > Maybe someone else care to comment on some of the pitfalls installing > > the Windows SDK? > > > > > > Regards, > > > Caspar > > > > > > [1] > > > http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/ > > > [2] http://code.google.com/p/qt-msvc-installer/ > > > [3] http://stackoverflow.com/questions/4628045/qt-building-64-bits > > > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: Martin Tatzber [mailto:[email protected]] > > > Gesendet: Freitag, 25. Januar 2013 11:05 > > > An: Goch, Caspar Jonas; [email protected]; > > [email protected] > > > Betreff: Re: [mitk-users] laptop crashing while building MITK with > > Visual Studio > > > > > > Hi Caspar! > > > > > > First of all thanks for reply. > > > > > > I think I found the mistake, but I'm still stuck... I use Win7 64bit, > > but I now read, that Qt and everything builds for 32bit as default, and > > that this is not good. I followed these instructions to get VS working > as > > 64bit: > > > > > > http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/ > > > > > > So I installed Windows SDK 7.1 (for Windows 7 and .NET Framework 4 as > my > > system is). To configure it, I opened the Windows SDK command prompt, > > switched to C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup and typed > > WindowsSdkVer.exe -version:v7.1 It said something like Visual Studio > 2008 > > now uses Windows SDK, so that should have worked. > > > > > > The instructions contain a paragraph "VC2008 Express installed on a > > 64-bit operating system ", where it says I should find the registry key > > > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\9.0\VC\bin\eamd64 > > for the 64bit-compiler. I found the VC key, but it only contains > > VC_OBJECT_PLATFORM_INFO with Win32 as the only subkey. Did I miss > something > > when installing the Windows SDK? > > > > > > To answer the questions: > > > > > > No, I haven't built anything big on this laptop before, but since it > is > > less than a year old, I don't think that this really is an issue. > > > > > > The .exe seems to work, but I need to create a plugin in C++ later on, > > therefore I need to get it done with Visual Studio. > > > > > > Yes, I first tried to open the MITK-superbuild.sln with VS2010 and > build > > the ALL_BUILD, but it crashed there, that's why I'm now trying to build > > separately. The very first time I tried to build it, it worked about 1 > or 2 > > hours and produced 30k lines of output, then it crashed. It was after I > > inserted the battery to connect the plug to another power socket, so it > ran > > on battery for some seconds. I usually have no problems with the > battery. > > Could there still have went something so wrong, that it now won't build > it > > at all ...? > > > > > > And another question: Do you agree, that VS2008 Express is better > > supported than VS2010 Express? Or is this information out of date and > > meanwhile it is better to use VS2010 Express? > > > > > > Best Regards, > > > Martin > > > > > > -------- Original-Nachricht -------- > > >> Datum: Wed, 23 Jan 2013 18:18:59 +0100 > > >> Von: "Goch, Caspar Jonas" <[email protected]> > > >> An: "\'Martin Tatzber\'" <[email protected]>, > > >> "[email protected]" <[email protected]> > > >> Betreff: Re: [mitk-users] laptop crashing while building MITK with > > >> Visual Studio > > >> Hi Martin, > > >> > > >> I am not aware of anyone encountering this problem before, but it > > >> might possibly be due to a memory or cpu issue. > > >> > > >> Regarding your question about the recommended hardware, I believe we > > >> do not have any definite specs we would suggest, but generally using > a > > >> 64 Bit system is preferable. We do have some dart clients and test > > >> machines using 32 Bit, but considering image processing tends to be a > > >> very memory intensive task it is not really recommended and now and > > >> then results in long swapping and freezes. The number of cores and > > >> their speed will mostly affect the time any given task takes (be it > > >> compiling or running an algorithm) so the minimum specs depend on > your > > patience. > > >> > > >> A couple of questions which might help shedding light on the > situation: > > >> Have you tried building any "big" projects using your system before > > >> (QT/ITK/VTK for example)? Was heat memory an issue there? > > >> Have you downloaded and tried out one of our installers[1]? Did it > run > > >> fine? > > >> Have you tried doing the entire superbuild, instead of building each > > >> project separately? > > >> > > >> I hope this helps, > > >> Caspar > > >> > > >> [1] http://www.mitk.org/Download > > >> > > >> > > >> -----Ursprüngliche Nachricht----- > > >> Von: Martin Tatzber [mailto:[email protected]] > > >> Gesendet: Mittwoch, 23. Januar 2013 16:54 > > >> An: [email protected] > > >> Betreff: [mitk-users] laptop crashing while building MITK with Visual > > >> Studio > > >> > > >> Hi! > > >> > > >> I want to build MITK under Windows 7 Professional SP1, but my laptop > > >> keeps crashing while building the projects in Visual Studio. > > >> > > >> I tried to do the steps as described here: > > >> http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html > > >> Programs used: > > >> CMake 2.8.9 > > >> git version 1.8.0.msysgit.0 > > >> Microsoft Visual Studio 2008 Express > > >> Qt v4.8.4 (VS2008 OpenSource) > > >> > > >> It seems to me that the CPU is too weak, because everytime, the > laptop > > >> crashes, it's while compiling some *.c or *.cc files, resulting in > > >> 100% CPU usage. My processor is an Intel Core i3-2350M CUP @ 2.30GHz. > > >> But it doesn't heat up or anything, at least I cannot feel anything > on > > >> the surface. If so, what processor do I need to get the thing done? > > >> > > >> Here is what I did: > > >> > > >> I made the git clone in C:\MITK\MITK-repository and then built the > new > > >> MITK directory into C:\MITK\MITK-repository\MITK-suberbuild using the > > >> cmake-gui. In CMake, I chose Visual Studio 9 2008 as generator, > > >> configured, left all parameters at default and generated. > > >> > > >> After that, I opened the Visual Studio 2008 Command prompt and tried > > >> to build the projects separately, according to the build order of > > >> ALL_BUILD. The first one, ZERO_CHECK, worked fine. Next was DCMTK, > > therefore I typed: > > >> vcbuild /errfile:C:\MITK\errfile-vcbuild.txt > > >> /htmllog:C:\MITK\htmllog.html > > >> C:\MITK\MITK-repository\MITK-superbuild\DCMTK.vcproj > > >> > > >> This results in a crash. No bluescreen, no freeze, it's just shutting > > >> down, as if I would just press the power button. > > >> > > >> errfile-vcbuild.txt is empty after this, but in an earlier try, where > > >> I accidentally had Qt 4.8.4 for VS2010 installed, it complained very > > >> often about missing iostream.h > > >> > > >> htmllog.html says someting like: > > >> > > >> Creating temporary file > > >> "C:\Users\***\AppData\Local\Temp\BAT00000164403932.bat" with contents > > >> [...] Creating command line > > "C:\Users\***\AppData\Local\Temp\BAT00000164403932.bat" > > >> Creating temporary file > > >> "C:\Users\***\AppData\Local\Temp\BAT00000264403932.bat" with contents > > >> [...] > > >> > > >> and so on, and at the end: > > >> > > >> Creating command line > > >> "C:\Users\***\AppData\Local\Temp\BAT00000664403932.bat" > > >> Creating temporary file "C:\Users\***\AppData\Local\Temp\BAT0000076 > > >> > > >> So apparently it was interrupted, but I see no error message... > > >> > > >> > > >> I began to work with Visual Studio 2010 Express, but someone here in > > >> the mailing list recommended VS2008, so i deinstalled 2010 and > > >> continued with 2008. > > >> > > >> Hope someone can help :) > > >> > > >> Best Regards, > > >> Martin > > >> -- > > >> Martin Tatzber > > >> Student der FH Technikum Wien > > >> > > >> Matrikelnummer: 1010227025 > > >> Lehrverband: 5D2 > > >> > > >> -- > > >> > > >> > > >> > ---------------------------------------------------------------------- > > >> -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > > >> HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your > > >> skills current with LearnDevNow - 3,200 step-by-step video tutorials > > >> by Microsoft MVPs and experts. ON SALE this month only -- learn more > > >> at: > > >> http://p.sf.net/sfu/learnnow-d2d > > >> _______________________________________________ > > >> mitk-users mailing list > > >> [email protected] > > >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > >> > > >> > ---------------------------------------------------------------------- > > >> -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > > >> HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your > > >> skills current with LearnDevNow - 3,200 step-by-step video tutorials > > >> by Microsoft MVPs and experts. ON SALE this month only -- learn more > > >> at: > > >> http://p.sf.net/sfu/learnnow-d2d > > >> _______________________________________________ > > >> mitk-users mailing list > > >> [email protected] > > >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > > > > > ------------------------------------------------------------------------------ > > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills > current > > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > > MVPs and experts. ON SALE this month only -- learn more at: > > > http://p.sf.net/sfu/learnnow-d2d > > > _______________________________________________ > > > mitk-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/mitk-users > > > > > > > > > ------------------------------------------------------------------------------ > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > MVPs and experts. ON SALE this month only -- learn more at: > > http://p.sf.net/sfu/learnnow-d2d > > _______________________________________________ > > mitk-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/mitk-users > > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
