레이블이 c++인 게시물을 표시합니다. 모든 게시물 표시
레이블이 c++인 게시물을 표시합니다. 모든 게시물 표시

2016년 5월 17일 화요일

add include for eclipse cdt

project select, right mouse click

properties - C/C++ General - Paths and Symbols

includes tab select

add - workspace - select folder

2016년 5월 6일 금요일

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20'

( target board )
# ./uvc_checkers
./uvc_checkers: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libopencv_highgui.so.2.4)
./uvc_checkers: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libopencv_highgui.so.2.4)
./uvc_checkers: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libopencv_core.so.2.4)
./uvc_checkers: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/libopencv_core.so.2.4)

( target board )
# strings /usr/lib/libstdc\+\+.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

( host machine )
root@ubuntu:/usr# strings /usr/arm-linux-gnueabi/lib/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_DEBUG_MESSAGE_LENGTH

solved : copy host libstdc++.so.6(s) to target board

2016년 3월 29일 화요일

Symbol 'V4L2_PIX_FMT_YUV422P' could not be resolved on eclipse cdt

cp linux mechine ( /usr/include/linux/* ) windows mechine cygwin/usr/include/

project select - right mouse click - Index -> Search For Unresolved Includes

2016년 3월 7일 월요일

format a floating for __android_log_print

__android_log_print("test=%g", (float)f);

2015년 11월 11일 수요일

cygwin & eclipse

## for c / c++
cygwin (32bit)
server : http://ftp.daum.net
cygwin install ( devel full ) : D:\cygwin

envirenment add
CYGWIN_HOM = D:\cygwin
Path = ";%CYGWIN_HOME%\bin;%CYGWIN_HOME%\usr\include;"

eclipse
eclipse c/c++ plugin install ( https://eclipse.org/cdt/downloads.php )
Name : CDT
Location : http://download.eclipse.org/tools/cdt/releases/8.8.1


## for android
ndk
install ( D:\android\android-ndk-r10e )

bash file edit
D:\cygwin\home\Administrator\.bashrc
export ANDROID_NDK_ROOT=/cygdrive/d/android/android-ndk-r10e

2015년 11월 2일 월요일

*** commands commence before first target. Stop

*** 첫번째 타겟보다 앞에서 명령어가 시작되었습니다.  멈춤.

==> space check of line end