|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
OpenCV 1.1.0 compiling on ARM - pthread.h errorHello there,
Since days I'm trying to compile OpenCV 1.1.0 for our ARM processor. I read many times, i.e. here http://www.computer-vision-software.com/blog/2009/03/arm-wrestling-with-opencv/ that this has been done before and therefore should be possible. Following the script of that blog, I created a new one, that will set all (?) variables to the correct value. In know this looks ugly, but I'll post it anyway ;) Bash-Skript: #!/bin/bash ### Windows (Cygwin) host. EABI compiler (Codesourcery 2008q3-72) export APP_PREFIX=arm-none-eabi export DEVROOT=/cygdrive/c/_devtools/CodeSourcery/SourceryG++Lite export GCC_HOST=i686-pc-cygwin export PATH=$DEVROOT/$APP_PREFIX/bin:$PATH ./configure \ --target=$APP_PREFIX \ --host=$GCC_HOST \ --disable-shared \ --enable-static \ --without-pic \ --disable-debug \ --disable-sse2 \ --disable-mmx \ --without-imageio --without-carbon \ --without-quicktime --without-python \ --without-gtk --without-swig \ --without-gthread \ --without-v4l \ --without-gstreamer \ --without-ocatave \ --without-xine \ --without-ffmpeg \ --without-unicap \ --without-1394libs \ --disable-apps \ --disable-openmp \ --prefix=$DEVROOT/$APP_PREFIX \ CC=$DEVROOT/bin/$APP_PREFIX-gcc \ CXXFLAGS="-fsigned-char $OFLAGS -pipe" \ LD=$DEVROOT/bin/$APP_PREFIX-ld \ CPP=$DEVROOT/bin/$APP_PREFIX-cpp \ CXXCPP=$DEVROOT/bin/$APP_PREFIX-cpp \ CXX=$DEVROOT/bin/$APP_PREFIX-g++ \ AR=$DEVROOT/bin/$APP_PREFIX-ar\ RANLIB=$DEVROOT/bin/$APP_PREFIX-ranlib \ NM=$DEVROOT/bin/$APP_PREFIX-nm \ STRIP=$DEVROOT/bin/$APP_PREFIX-strip \ AS=$DEVROOT/bin/$APP_PREFIX-as -------------------------------------------------------------------------------------------------------------------- The script works just fine and configures the makefiles. But when typing "make" it get's messy. When "cxerror.cpp" is going to get build the make process returns with the following errors: cxerror.cpp:96: error: 'pthread_key_t' does not name a type cxerror.cpp:424: error: 'g_TlsIndex' was not declared in this scope cxerror.cpp:424: error: 'pthread_key_create' was not declared int this scope I tried to google this error but found only a page in chinese - at least I think it's chinese - which i translated an found out, that they hat the same issue. But unluckily there was no solution. It would be great if someone could help me though the compiling process. I tried almost every available opencv version, but as far as this i could only configure the 1.1.0 (official release). Thanks for your help! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
| Free embeddable forum powered by Nabble | Forum Help |