On Mon Mar 28, 2011 at 05:17:25PM +0200, Jasper Lievisse Adriaanse wrote:
> Hi,
> 
> I didn't look any further at this anymore...feel free to pick it up though.
> 
> -- 
> Cheers,
> Jasper
> 
> "Capable, generous men do not create victims, they nurture them."

Hi Jasper, Hi @ports,

I'm working on OpenCV 2.2 port, but this version needs gcc 4.3. How can
I build a port with gcc 4.3. Any advice or example port. 

GCC4.2 will seg:

[ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.o
cd /usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core && /usr/bin/c++   
-Dopencv_core_EXPORTS -DHAVE_CONFIG_H -DCVAPI_EXPORTS -O2 -pipe    -Wall 
-pthread -ffunction-sections  -DNDEBUG  -fomit-frame-pointer -DNDEBUG  -fPIC 
-I/usr/local/lib/python2.6/site-packages/numpy/core/include 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/. 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/include 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/include/opencv 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/../../3rdparty/include 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/include 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/src 
-I/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core   -D PYTHON_USE_NUMPY=1 
 -include /usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/precomp.hpp 
-Winvalid-pch  -o CMakeFiles/opencv_core.dir/src/alloc.o -c 
/usr/obj/ports/opencv-2.2.0/OpenCV-2.2.0/modules/core/src/alloc.cpp
<command-line>:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

best regards 

        Rafael Sadowski

-- 
http://www.sizeofvoid.org - [email protected]
XMPP: [email protected]
Key fingerprint: BDDD 91E9 28CB 3A52 3E99  61B0 C359 2691 BAC6 A3B1

Reply via email to