Thanks Sasha. Today I have solved the problem and I was going to write to
the list about what happened. The problem was exactly what you're
mentioning in your e-mail. I've installed Qt for VS2010 some months ago,
and then I forgot about it. Yesterday, I was tracing an "access violation"
with a very basic string conversion routine (QString to std::string) and I
noticed, using dependency walker, that Qt was linking to the VS2010
runtime. So, after installing Qt for VS2008 and rebuilding, everything
started working OK.

I have one more question about building for Windows: is it normal that the
superbuild takes so long? It's taking about 4 hours in my Intel Core i5
(3550S). Then I've constant problems with the incremental linking in
VS2008...how can I disable this "feature" in the projects generated in the
superbuild solution? (Now I'm solving it by deleting the affected dll, pdb,
ilk and in some cases the affected obj files).

Thanks again for all your support!

Federico

On Tue, Mar 19, 2013 at 10:37 AM, Sascha Zelzer <[email protected]
> wrote:

>  Hi Federico,
>
> I admit, I am a little lost here... you could try to load one of your
> failing plug-ins with the Dependency Walker and see what problems it finds.
>
> Another thing people usually are not aware of is that you should in
> general not mix debug and release libraries on Windows (i.e. linking a
> debug library with a release library). The same applies for 32 and 64 bit
> libraries as well as Visual Studio compiler versions. Hence you need to be
> careful to use the proper Qt build or compile it yourself.
>
> Best,
> Sascha
>
>
> On 03/14/2013 01:24 PM, Federico Milano wrote:
>
> Hi Sasha. This is the PATH when trying to run the application:
>
>
> C:/bin/MITK-superbuild/VTK-build/bin/release;C:/bin/MITK-superbuild/ITK-build/bi
>
> n/release;C:/bin/MITK-superbuild/MITK-build/bin/release;C:/Qt/4.8.4/lib/../bin;C
>
> :/bin/MITK-superbuild/CTK-build/CTK-build/bin/release;C:/bin/MITK-superbuild/MIT
>
> K-build/bin/plugins/release;C:/bin/MITK-superbuild/GDCM-build/bin/release;C:/bin
>
> /SxPlanner/bin/release;C:/bin/SxPlanner/bin/plugins/release;C:\Windows\system32;
>
> C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
> C:\Program Files\TortoiseSVN\bin;C:\Program Files\CMake 2.8\bin;C:\Program
> Files
> \Microsoft ASP.NET <http://asp.net/>\ASP.NET <http://asp.net/> Web
> Pages\v1.0\;C:\Program Files\Windows Kits\8.0\Win
> dows Performance Toolkit\;C:\Program Files\Microsoft SQL
> Server\110\Tools\Binn\;
> C:\Program Files\Microsoft\Web Platform Installer\;c:\Program
> Files\Microsoft SQ
> L Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;c:\
> Program Files\Microsoft SQL
> Server\110\Tools\Binn\ManagementStudio\;c:\Program F
> iles\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\TortoiseGit\bin
>
>  I've also tried to compile & run it in Windows XP (I was using Windows
> 8). Now, in debug, starting VS 2008 with the debug batch file, I get one
> exception for each plugin I try to load. This is captured in the screenshot
> I'm attaching here.
>
>  Thanks!
>
>  Federico
>
> On Tue, Feb 26, 2013 at 1:09 PM, Sascha Zelzer <
> [email protected]> wrote:
>
>> Hi Frederico,
>>
>> the path is supposed to point somewhere into your home directory. What is
>> the output of
>>
>> echo %PATH%
>>
>> when typed in a Windows command prompt?
>>
>> - Sascha
>>
>>
>> On 02/19/2013 05:42 PM, Federico Milano wrote:
>>
>>> Hi. I've developed and tested an application based on MITK Project
>>> Template in GNU/Linux Now I'm trying to make it work in Windows. I've
>>> compiled and linked, and everything is, apparently,  fine; but the
>>> application won't start. I'm attaching a screenshot that shows some paths
>>> that just have some garbled text (I've used the console logs command line
>>> option and this is all it shows). I've never found a problem like this in
>>> my development platform and I don't have much expertise in developing for
>>> Windows. I'm using Windows 8 (32bits) and Visual Studio 2008. I would
>>> really appreciate any hint.
>>>
>>> Thanks in advance,
>>>
>>> Federico
>>>
>>
>>
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to