[ITK Community] [Insight-users] Version 4.5 and QT issue
Alessandro
notinmyhead at gmail.com
Wed Jan 15 09:35:30 EST 2014
Since Qt comes from the installation dmg, unfortunately I don’t know how it was compiled.
How the compilation flags may have some impact on the includes used by qmake to compile the project?
Alessandro
On 15/gen/2014, at 15:18, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
> The new clang/XCode changed from GNU's libstdc++ to LLVM's libc++.
>
> Is your Qt library compiled with libc++ or libstdc++? Likely libstdc++. I'd suggest deleting you ITK build and doing a completely fresh configure and build with adding the following on the initial command line: "-DCMAKE_CXX_FLAGS:STRING=-stdlib=libstdc++ "
>
> type_traits are in tr1 and c++11. ITK does try compiles to detect type_traits, changing your C++ Standard library of language version may change the results.
>
> Brad
>
>
>
> On Jan 15, 2014, at 8:58 AM, Alessandro <notinmyhead at gmail.com> wrote:
>
>> Hello,
>>
>> I successfully compiled and installed the 4.5 version on OSX Maverick. When I’ve tried to include new lib in the Qt Project (Qt libraries 4.8.x), I got the following error:
>>
>> /usr/local/include/ITK-4.5/itkImageAlgorithm.h:24:12: fatal error: 'type_traits' file not found
>> # include <type_traits>
>>
>> How can I solve it?
>>
>> Thanks,
>> Alessandro
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list