2016년 9월 18일 일요일

Unsupported major.minor version 52.0

Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'RecodiaPlayer'.
com/android/dx/command/dexer/Main : Unsupported major.minor version 52.0


solved :
jre1.8.0_102 installed

2016년 9월 16일 금요일

ORA-12638: 신용 검색에 실패했습니다

ORA-12638: 신용 검색에 실패했습니다
C:\oracle\product\11.2.0\client_1\network\admin\sqlnet.ora 파일에 대한 권한을 Authenticated Users 에 모든 권한을 준다
#SQLNET.AUTHENTICATION_SERVICES= (NTS)

2016년 6월 1일 수요일

bit check for installed oracle

%ORACLE_HOME%\inventory\ContentsXML\comps.xml

PLAT="NT_AMD64" : 64 bit.
PLAT="NT_X86"  : 32 bit.

2016년 5월 19일 목요일

nfs with ubuntu

host-pc : 192.168.0.100
target-board : 192.168.0.200

[ host-pc ]
apt-get install nfs-kernel-server nfs-common

vi /etc/exports
/nfs-folder 192.168.0.200(rw,no_root_squash,sync,no_subtree_check)

service nfs-kernel-server restart

[ target board ]
mount -t nfs -o nolock 192.168.0.100:/nfs-folder /mnt

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월 10일 화요일

eclipse 한글 크기

window - preferences - General - Appearance - Colors and Fonts - Basic - Text Font
Edit button

Courier New ( c:\windows\fonts )

스크립트 부분을 "키릴 자모" 로 변경

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년 4월 14일 목요일

top select with cubrid

SELECT * FROM tbl_raw_power
WHERE ROWNUM BETWEEN 1 AND 10
ORDER BY reg_date DESC

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

crome shortcuts

Ctrl+N : 새 창을 엽니다
Ctrl+T : 새 탭을 엽니다
Ctrl+W : 현재 탭을 닫는다
Ctrl+J : 다운로드 페이지를 엽니다
Ctrl+Shift+T : 마지막으로 닫았던 탭을 다시 엽니다
Ctrl+1 ~ Ctrl+8 : 탭 표시줄에 있는 특정 위치 번호의 탭으로 전환합니다
Ctrl+9 : 마지막 탭으로 전환합니다
Ctrl+Shift+B : 북마크바를 표시하거나 숨깁니다
Shift+Esc : 작업 관리자를 엽니다
F6 또는 Shift+F6 : 검색주소창의 URL 강조표시

iPhone Bettery check

1. http://goo.gl/KKbXP2 에서 iBackupBot for Windows 설치
2. 시작 메뉴 - VOWSoft iPod Software 에서 iBackupBot for iTunes 실행
3. 왼쪽 하단의 ***의 iPhone 클릭
4. 화면 중앙 하단의 More Infomation 클릭
Full Charge Capacity ( iPhone5 1440, 5s 1570, 6 2915 )

iPhone factory reset

1. 전원 off
2. PC 에 USB 연결
3. power button & home button 10초 이상 대기
4. 사과 모양이 나오면 home button 만 10초 이상 더 대기
5. PC의 iTunse 에서 복구 버튼 클릭 ( 약 10~ 20분 정도 소요 )

2016년 3월 24일 목요일

description of linux library

/lib/libfoo.so        # symlink to shared object
/lib/libfoo.so.1      # symlink to shared object
/lib/libfoo.so.1.0.1  # shared object
/lib/libfoo.a          # static library
/lib/libfoo.la         # libtool library

2016년 3월 23일 수요일

zconf.h re-install

root@ubuntu:/usr/include/i386-linux-gnu# uname -ar
Linux ubuntu 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:27 UTC 2016 i686 i686 i686 GNU/Linux

i missed delete /usr/include/i386-linux-gnu/zconf.h

apt-get remove zlib1g-dev
apt-get install zlib1g-dev

root@ubuntu:/usr/include/i386-linux-gnu# find /usr -name "zconf.h" -print
/usr/lib/syslinux/com32/include/zconf.h
/usr/src/linux-headers-4.2.0-27/include/linux/zconf.h
/usr/include/i386-linux-gnu/zconf.h

2016년 3월 8일 화요일

google search tips

text filetype:doc
intitle:text
define:text
"text"

2016년 3월 7일 월요일

format a floating for __android_log_print

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

2016년 3월 2일 수요일

allow list cubrid firewall

1523, 30000-30039, 33000-33039, 8001, 8002

2016년 3월 1일 화요일

시스템에 지원하는 JDBC 드라이버가 없습니다. 등록하십시요

cubrid manager 설치 후, 처음 접속하려 하니 다음과 같은 에러 발생

"시스템에 지원하는 JDBC 드라이버가 없습니다. 등록하십시요"

jre, cubrid, cubrid manager 모두 64 bit

CUBRID-Windows-x64-9.3.5.0002
CUBRIDManager-9.3.3.706-windows-x64

D:\CUBRID\jdbc>java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)

1. cubrid manager 시작
2. 찾아보기 버튼
3. 추가 버튼 ( D:\CUBRID\jdbc\cubrid_jdbc.jar 선택 )
4. 드라이버 버전은 auto detect 로 하고 접속


2016년 2월 18일 목요일

CString to wchar_t on MFC

first ansi to uncode

#include <atlbase.h>

...
CString path = m_filename;
pfile = _wfopen(CT2W(path) , L"wb");

2016년 2월 17일 수요일

shutdown with remote desktop ( windows 7 )

shutdown : command prompt > shutdown /p
reboot : command prompt > shutdown /r

2016년 2월 4일 목요일

gateway setting with dual nic

eth0
111.111.111.111
255.255.255.0

eth1
222.222.222.222
255.255.255.0
222.222.222.254

list for route
111.111.12.0
111.111.22.0
111.111.32.0
111.111.42.0

cmd prompt ( administrator )
route print
route -p add 111.111.0.0 mask 255.255.0.0 111.111.111.254

2016년 2월 2일 화요일

YUV Format

YUY2 = YUYV = V422 = Y0, U0, Y1, V0 = Packet Format

Component Range
Y' 16–235
Cb/Cr 16–240, with 128 representing zero

Color R G B Y' Cb Cr
Black 0 0 0 16 128 128
Red 255 0 0 81 90 240
Green 0 255 0 145 54 34
Blue 0 0 255 41 240 110
Cyan 0 255 255 170 166 16
Magenta 255 0 255 106 202 222
Yellow 255 255 0 210 16 146
White 255 255 255 235 128 128

2016년 1월 28일 목요일

ARM Architecture

ARM EABI ( Embedded-Application binary Interface ) ( armel ) : older 32-bit ARM devices
ARM hard-float ( armhf ) : powerful 32-bit devices using version 7 of the ARM
64bit ARM : 64-bit ARM-powered devices

intel x86 : i386
amd 64, intel 64 : amd64
ARM : armel
ARM, hw FPU : armhf
64-bit ARM : arm64

2016년 1월 26일 화요일

cubrid start/stop with windows

cmd prompt start
cd cubrid installed path/bin
cubrid service start / stop / status

2016년 1월 21일 목요일

2016년 1월 18일 월요일

nfs mount failure with ubuntu

mount: wrong fs type, bad option, bad superblock on 192.168.0.62:/home/musesoft/work2,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

apt-get install nfs-common

2016년 1월 14일 목요일

x window disable with ubuntu 14.04

disable

cp -n /etc/default/grub /etc/default/grub.enable

vi /etc/default/grub

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="text"
GRUB_TERMINAL=console

update-grub

reboot

enable

cp /etc/default/grub /etc/default/grub.disable

vi /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_TERMINAL=console

update-grub

reboot


or

service lightdm start
service lightdm stop