Posted by 구차니
Linux2021. 1. 21. 10:31

라즈베리 파이 3에서 테스트 했는데

아쉽게도(?) 재생이후 프로그램 종료하면 사라지는 것과

저 망할(?) 커서가 계속 깜박이는게 걸리네 -_-

 

전체화면 동영상 재생

mplayer -fs -vo fbdev test.mp4 

[링크 : https://askubuntu.com/questions/46871/how-can-i-play-videos-in-a-framebuffer]

 

이미지 출력

fim  -a --quiet file.jpg

[링크 : https://ostechnix.com/how-to-display-images-in-the-terminal/]

 

fb 커서 깜박이는 것 없애기/켜기

# echo 0 > /sys/class/graphics/fbcon/cursor_blink
# echo 1 > /sys/class/graphics/fbcon/cursor_blink

커서 없애기

# echo -e -n '\033[?25l' > /dev/tty0 

[링크 : https://community.nxp.com/t5/i-MX-Processors/Remove-Cursor-pointer/m-p/159574]

 

 

+

[링크 : http://www.armadeus.org/wiki/index.php?title=Framebuffer]

'Linux' 카테고리의 다른 글

linux smart card  (0) 2021.02.02
linux shared memory 확인 및 삭제  (0) 2021.01.22
sit1 인터페이스  (0) 2021.01.20
특정 버전의 파일로 링크걸어서 빌드하기  (0) 2021.01.12
libc static build 하기  (0) 2021.01.12
Posted by 구차니

이번에 중고로 사긴했지만 V50S 잘쓰고 있는데 ㅠㅠㅠ 

안돼애애애애 ㅠㅠ

 

[링크 : https://news.v.daum.net/v/20210120184107269]

[링크 : https://news.v.daum.net/v/20210120204010700]

[링크 : https://news.v.daum.net/v/20210120213014642]

Posted by 구차니
Linux2021. 1. 20. 14:52

용도가 멀까나..

 

SIT stands for Simple Internet Transition. The main purpose is to interconnect isolated IPv6 networks, located in global IPv4 internet.

[링크 : https://developers.redhat.com/blog/2019/05/17/an-introduction-to-linux-virtual-interfaces-tunnels/#sit]

Posted by 구차니
프로그램 사용/vi2021. 1. 20. 11:07

vimdiff 시에 다른 부분의 글씨가 안보여서 다른 색상을 찾는데

blue / darkblue / default / delek / desert / elflord / evening / industry / koehler / morning / murphy

pablo / peachpuff / ron / shine / slate / torte / zellner

정도가 있는데 좀 찾아봐야 할 듯.. 몇개는 너무 칙칙하고 몇개는 너무 눈 아프고 ㅠㅠ

 

colorscheme <TAB>

[링크 : https://stackoverflow.com/questions/7331940/how-to-get-the-list-of-all-installed-color-schemes-in-vim]

 

+

개인적으로 torte가 가장 무난한듯.

'프로그램 사용 > vi' 카테고리의 다른 글

vi 이전 위치 다음 위치로 이동하기  (0) 2022.08.04
vi가 늦게 켜지는 이유  (0) 2022.07.28
vi 에서 매칭되는 갯수 확인하기  (0) 2019.12.18
vi gg=G와 set ts  (0) 2019.07.04
vi 검색 취소하기  (0) 2019.06.04
Posted by 구차니

cmake 시에 -D 플래그로 옵션을 활성화 가능한데

그 플래그 목록을 확인하는 cmake 옵션은 -LA

$ cmake -LAH

 

openCV-4.5.1 에서 하다 보니 무조건 다른 디렉토리에서 빌드 하라고 나오는지라

한번은 cmake 하고 ccmake로 볼 수 있는건지 확인이 좀 필요할 듯.

sudo apt-get install cmake-curses-gui
ccmake ..

[링크 : https://stackoverflow.com/questions/16851084/how-to-list-all-cmake-build-options-and-their-default-values]

'프로그램 사용 > make, configure' 카테고리의 다른 글

make 조건식  (0) 2023.08.16
cmake ninja, cmake 옵션주기  (0) 2022.12.07
cmake 빌드 에러시  (0) 2021.01.19
make order  (0) 2016.06.16
make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
Posted by 구차니

어우.. cmake 너무 시르다..

빌드 하는데 안되면 CMakeCache.txt 파일 삭제하고 재시도 하면 된다.

 

[링크 : https://stackoverflow.com/questions/45518317/in-source-builds-are-not-allowed-in-cmake]

'프로그램 사용 > make, configure' 카테고리의 다른 글

cmake ninja, cmake 옵션주기  (0) 2022.12.07
cmake 옵션 확인  (0) 2021.01.20
make order  (0) 2016.06.16
make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
make 기본셸  (0) 2016.06.08
Posted by 구차니
프로그램 사용/gcc2021. 1. 19. 11:00

 

tensorflow lite 빌드해서 static libaray 로 libtensorflow-lite.a는 얻어냈는데

얘를 링크해서 빌드하니 dynamic link가 된다.

 

궁금해서 hello.cpp 이런거 하나 구해서 g++로 빌드하니

무조건 끌어가는 것 같긴한데

$ cat hello.cpp
// hello.cpp file
#include <iostream>
int main()
{
    std::cout << "Hello Geek\n";
    return 0;
}

$ g++ hello.cpp
$ ldd a.out
        linux-vdso.so.1 (0x7efa4000)
        /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so (0x76f7e000)
        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76e19000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76d97000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76d6a000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76c1c000)
        /lib/ld-linux-armhf.so.3 (0x76f93000)

 

혹시나 해서 g++ -static 옵션을 주니 되긴 되네..

$ g++ hello.cpp -o b.out -static
$ ldd b.out
        not a dynamic executable

'프로그램 사용 > gcc' 카테고리의 다른 글

Auto-vectorization in GCC  (0) 2021.03.25
gcc -march 옵션  (0) 2021.01.24
gcc offloading support  (0) 2020.11.24
gcc 특정 영역만 최적화 하지 않게 하기  (0) 2020.10.21
gcc의 linker 옵션 은 가장 끝에  (0) 2019.06.21
Posted by 구차니

오디오의 날이군 ㅋㅋ

 

필립스 사운드 바

입력 소스 변경 버튼 불량, 스피커 좌우가 없는줄 알았는데

좌우가 조립된 채로 저렇게 긴~ 거란거(위에 TV는 55인치)

[링크 : http://blog.naver.com/dutni72/120194655008]

 

소니 미니 콤포?

아내의 대만족 ㅋ FM도 나름 잘 나오고!!

그런데 티비 옆으로 옮기니 안나온다. 본체 위에 핸드폰 올려놨더니 FM이 잘 안잡히던데 옆에 공유기 있어서 그런가?

[링크 : http://www.sony.co.kr/electronics/support/product/cmt-eh25/manuals]

 

 

 

 

 

Posted by 구차니