Hi Darryl,

Thanks for the quick response..

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: 
/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure 
--disable-checking --enable-werror 
--prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++ 
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
--with-slibdir=/usr/lib --build=i686-apple-darwin11 
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Developer/usr/local
 
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)


SDK 10.8 is the current version - same result when using 10.7 (only have 
those 2 avbl)

I did not specificy -no-stl when building QT as shown below

Will have a look at both patches - tnx


Filip





On 23/10/12 01:17, Darryl Miles wrote:
>
> # What version of gcc are they shipping with?
> gcc -v
>
>
> 10.8 SDK (I don't think this is a teir 1 platform for Qt itself, i.e. 
> building with older SDKs and targetting older versions of MacOSX would 
> support a larger range of MacOSX devices)
>
>
> Was Qt built -no-stl ?  This will have been in the configure log (when 
> builing Qt) maybe set in QT_NO_STL define.  There is a patch 
> concerning this.
>
>
>
> Take a look at these two patches currently on their way to master 
> (most likely fix first, least likely fix second):
>
>
> http://gerrit.smar.fi/#/c/77/
> I2be3559a78577766a67af9f5a4e86d1d34d2cbb5
> generator: missing #include <string> when using std::string in decl
> http://git.smar.fi/?p=qtjambi-community.git;a=commit;h=2be3559a78577766a67af9f5a4e86d1d34d2cbb5
>  
>
>
>
>
> http://gerrit.smar.fi/#/c/75/
> Id9e3a0d1130d3ec318e1c0d51472a76946972455
> Support QT_NO_STL builds of generator (the QtJambi project doesn't 
> need it itself)
> http://git.smar.fi/?p=qtjambi-community.git;a=commit;h=d9e3a0d1130d3ec318e1c0d51472a76946972455
>  
>
>
>
>
> Darryl
>
>
> Filip Jonckers wrote:
>> But getting the same build error as before :-/
>> Most probably a stupid detail I'm missing - would appreciate a helping
>> hand ..
>>
>> [make] g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
>> -mmacosx-version-min=10.5 -Wall -W -isysroot
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
>>  
>>
>> -DRXX_ALLOCATOR_INIT_0 -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB
>> -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.3/mkspecs/macx-g++
>> -I../../generator -I/usr/local/Trolltech/Qt-4.8.3/include/QtCore
>> -I/usr/local/Trolltech/Qt-4.8.3/include/QtXml
>> -I/usr/local/Trolltech/Qt-4.8.3/include -I../../generator
>> -I../../generator -I../../src/cpp/common -I../../generator/parser
>> -I../../generator/parser/rpp -I../../generator/parser/rpp -I.
>> -I../../generator -I. -o binder.o ../../generator/parser/binder.cpp
>> [make] ../../generator/parser/binder.cpp: In instantiation of
>> ‘std::basic_ostream<_CharT, _Traits>&
>> std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
>> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
>> _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
>> [make] ../../generator/parser/binder.cpp:61: instantiated from here
>> [make] ../../generator/parser/binder.cpp:61: error: explicit
>> instantiation of ‘std::basic_ostream<_CharT, _Traits>&
>> std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
>> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
>> _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’ but no
>> definition available
>> [make] ../../generator/parser/binder.cpp: In instantiation of
>> ‘std::basic_ostream<_CharT, _Traits>&
>> std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
>> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
>> _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
>> [make] ../../generator/parser/binder.cpp:61: instantiated from here
>> [make] ../../generator/parser/binder.cpp:61: error: explicit
>> instantiation of ‘std::basic_ostream<_CharT, _Traits>&
>> std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
>> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
>> _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’ but no
>> definition available
>> [make] ../../generator/parser/binder.cpp: In instantiation of
>> ‘std::basic_ostream<_CharT, _Traits>&
>> std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
>> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
>> _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’:
>> [make] ../../generator/parser/binder.cpp:61: instantiated from here
>> [make] ../../generator/parser/binder.cpp:61: error: explicit
>> instantiation of ‘std::basic_ostream<_CharT, _Traits>&
>> std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
>> std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
>> _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’ but no
>> definition available
>> [make] make: *** [binder.o] Error 1
>>
>> BUILD FAILED
>> /Users/filip/src-qtjambi/qtjambi-community/antfiles/generator.xml:41:
>> Running: '[make]' in
>> /Users/filip/src-qtjambi/qtjambi-community/build/qmake-generator failed.
>> exitStatus=2 (0x00000002)
>>
>> Total time: 22 seconds
>

_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest

Reply via email to