- 환경변수 등록방법
VARIABLE = value - 개별 환경변수 확인
echo $VARIABLE - 전체 환경변수 확인
printenv - 쉘에 환경변수 적용
export VARIABLE - 환경변수 등록 & 적용
export VARIABLE = value - 환경변수 파일
/etc/profile
~/.bash_profile
~/.bashrc
~/.profile - PATH 추가하기
PATH = $PATH:/usr/directory
export - 출처
https://help.ubuntu.com/community/EnvironmentVariables
https://kldp.org/node/69242
http://ubuntu.or.kr/viewtopic.php?p=115063
2015년 1월 6일 화요일
환경변수
Edison Arduino에서 갑자기 스케치가 업로드 안될때.
#mv the downloaded file to /sketch/sketch.elf
Moving downloaded file to /sketch/sketch.elf on target
target_download_name="${host_file_name##*/}"
echo "Moving downloaded file to /sketch/sketch.elf on target"
#$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" <> $tty_port_id 1>&0
$fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
Retry 0: Got TIMEOUT
Retry 0: Got ZCAN
Transfer incomplete
> rm -r *
출처 : https://communities.intel.com/thread/55976
Moving downloaded file to /sketch/sketch.elf on target
target_download_name="${host_file_name##*/}"
echo "Moving downloaded file to /sketch/sketch.elf on target"
#$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" <> $tty_port_id 1>&0
$fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
Retry 0: Got TIMEOUT
Retry 0: Got ZCAN
Transfer incomplete
You're right Doug, after deleted all contents in from /var/log/journal directory the sketch was correctly uploaded.
Thanks a lot.
> rm -r *
출처 : https://communities.intel.com/thread/55976
2014년 4월 28일 월요일
버추얼박스 디스크 용량 변경 및 Ubuntu 파티션 크기 확장
1. 위도우에서 다음 명령을 이용하여 가상 디스크 파일의 크기를 변경
2. Ubuntu livecd를 통해 부팅
3. Gparted 실행
4. swap 확장 파티션을 확장
5. swap 확장 파티션의 위치를 우측으로 변경
6. root 파티션을 확장
2014년 1월 19일 일요일
Android with Opencv
1. 환경구축
- JAVA SDK 설치
http://www.oracle.com/technetwork/java/javase/downloads/index.html - Android 개발환경 구축
http://developer.android.com/sdk/index.html - NDK 설치
http://developer.android.com/tools/sdk/ndk/index.html#Downloads - NDKROOT 환경변수를 등록
- 참고 사이트
http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html - Opencv for Android 최신버전 설치
http://opencv.org/downloads.html - Opencv 라이브러리 Import
Package Explorer window에서 다운로드한 Opencv SDK를 지정하고 완료 - 참고 사이트
http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html#o4a-sdk
2014년 1월 7일 화요일
Opencv with CUDA
설치전 필요사항
- OpenCV 최신버전 설치
http://opencv.org/downloads.html - CUDA 최신버전 설치
https://developer.nvidia.com/cuda-downloads?sid=422836 - CMake 최신버전 설치
http://www.cmake.org/cmake/resources/software.html
CMake GUI 툴을 이용하여 WITH_CUDA 플래그 활성화, 이때 다른 CUDA 설정이 바르게 로딩 되었는지 확인.
자신의 IDE에 맞는 프로젝트 생성 및 재 빌드.
프로젝트에서 환경설정.
참고자료
VC++ 디렉토리 사라짐
VC 2010 이후 버전에서 도구>>설정에 있던 VC++ 디렉토리 설정 부분이 사라지고 각 프로젝트 속성에 디렉토리 설정 항목이 옮겨 졌다.
하지만 이 항목들에 기본적으로 들어가 있는 경로는
C:\Users\onecue\AppData\Local\Microsoft\MSBuild\v4.0\에 있는 user 프로퍼티 파일을 상속 받도록 변경 되었다.
따라서 기존과 같은 방법으로 디렉토리를 관리하고자 하는 사람은 다음 경로의 파일을 노트패드를 이용하여 수정해야한다.
하지만 이 항목들에 기본적으로 들어가 있는 경로는
C:\Users\onecue\AppData\Local\Microsoft\MSBuild\v4.0\에 있는 user 프로퍼티 파일을 상속 받도록 변경 되었다.
따라서 기존과 같은 방법으로 디렉토리를 관리하고자 하는 사람은 다음 경로의 파일을 노트패드를 이용하여 수정해야한다.
Windows CE 5.0 개발환경 구축
프로그램 설치
1. Embedded Visual C++ 4.0
http://download.microsoft.com/download/WindowsCENETPlatformBuilder/Install/4.0/NT5XP/EN-US/eVC4.exe
2. Embedded Visual C++ 4.0 SP4
3. Microsoft SDK for Windows Mobile 2003-based Pocket PCs
4. Developer Resources for Windows Mobile 2003 Second Edition
5. Pocket PC 2003 Emulator Image(한글)
6. Pocket PC 2003 SE Emulator Image(영문)
피드 구독하기:
글 (Atom)