Updated by Kirill Kornyakov over 11 years ago
== ENV ==
<pre>
OpenCV 2.4.2
Mac OS X 10.8.1
Qt 4.8.1
gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/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~28/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)
</pre>
== OUTPUT ==
<pre>
g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/macx-g++ -I../QtOpenCV\ 2 -I../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/Headers -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I. -I../QtOpenCV\ 2 -I. -F/Users/wangeguo/QtSDK/Desktop/Qt/4.8.1/gcc/lib -o main.o ../QtOpenCV\ 2/main.cpp
In file included from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qnamespace.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qobjectdefs.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qobject.h:47,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qcoreapplication.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/Headers/qapplication.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/Headers/QApplication:1,
from ../QtOpenCV 2/main.cpp:5:
../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qglobal.h:328:6: warning: #warning "This version of Mac OS X is unsupported"
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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: *** [main.o] Error 1
</pre>
<pre>
OpenCV 2.4.2
Mac OS X 10.8.1
Qt 4.8.1
gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/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~28/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)
</pre>
== OUTPUT ==
<pre>
g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/macx-g++ -I../QtOpenCV\ 2 -I../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/Headers -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I. -I../QtOpenCV\ 2 -I. -F/Users/wangeguo/QtSDK/Desktop/Qt/4.8.1/gcc/lib -o main.o ../QtOpenCV\ 2/main.cpp
In file included from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qnamespace.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qobjectdefs.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qobject.h:47,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qcoreapplication.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/Headers/qapplication.h:45,
from ../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtGui.framework/Versions/4/Headers/QApplication:1,
from ../QtOpenCV 2/main.cpp:5:
../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qglobal.h:328:6: warning: #warning "This version of Mac OS X is unsupported"
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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
/usr/local/include/opencv2/flann/params.h: 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>]â:
/usr/local/include/opencv2/flann/params.h:87: instantiated from here
/usr/local/include/opencv2/flann/params.h:87: 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: *** [main.o] Error 1
</pre>