다운로드 링크: https://github.com/lucasg/Dependencies
cmd 창에서 아래 실행
Dependencies.exe -chain <파일명> > result.txt
하면 모든 의존성 검사 후 result.txt 에 저장
의존성있는데 못 찾은 파일은 NOT_FOUND 로 표시됨
다운로드 링크: https://github.com/lucasg/Dependencies
cmd 창에서 아래 실행
Dependencies.exe -chain <파일명> > result.txt
하면 모든 의존성 검사 후 result.txt 에 저장
$ source /opt/ti-processor-sdk-linux-am69-sk-10_00_07_06/linux-devkit/environment-setup
$ ./configure --prefix=/home/kimdh/work/mingw/build/ffmpeg-3.3.3/ffmpeg_am69 --enable-shared --disable-static --enable-gpl --enable-cross-compile --arch=arm64 --target-os=linux --cross-prefix=aarch64-oe-linux- --sysroot=$SDKTARGETSYSROOT --pkgconfigdir=$PKG_CONFIG_SYSROOT_DIR --pkg-config=/opt/ti-processor-sdk-linux-am69-sk-10_00_07_06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/pkg-config --disable-doc
make
make install
sudo apt-get install -y \
libx11-xcb-dev \
libxcb1-dev \
libxcb-render0-dev \
libxcb-shm0-dev \
libxcb-keysyms1-dev \
libxcb-image0-dev \
libxcb-icccm4-dev \
libxcb-sync-dev \
libxcb-xfixes0-dev \
libxcb-shape0-dev \
libxcb-randr0-dev \
libxcb-render-util0-dev \
libxrender-dev \
libxcb-xinerama0-dev
mkdir build && cd build
../configure \
-platform linux-g++ \
-prefix /home/kimdh/Qt-5.15.2 \
-opensource \
-confirm-license \
-release \
-gstreamer \
-opengl desktop \
-optimized-qmake \
-nomake tests \
-nomake examples \
-skip qtandroidextras \
-skip qtconnectivity \
-skip qtwebchannel \
-skip qtwebengine \
-skip qtwebsockets \
-skip qtactiveqt \
-skip qtandroidextras \
-skip qtdatavis3d \
-skip qtgamepad \
-skip qtlocation \
-skip qtlottie \
-skip qtmacextras \
-skip qtpurchasing \
-skip qtremoteobjects \
-skip qtscript \
-skip qtwebglplugin \
-skip qtwebview \
-skip qtspeech \
-skip qtserialport \
-skip qtserialbus
make
make install
1. openssl 을 static 라이브러리 방식으로 빌드한다.
설치 경로 : D:\MyProjects\OpenSSL\build\Win64-static
2. tcl 을 설치한다.
설치 경로 : c:\tcl
tcl 빌드 및 설치 : tcl 소스코드 다운로드 후 아래 실행
call "%ProgramFiles%\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" x64 && cd D:\MyProjects\Download\tcl9.0.1\win && nmake -f makefile.vc INSTALLDIR=C:\tcl release && nmake -f makefile.vc INSTALLDIR=C:\tcl install
3. sqlcipher 소스 코드를 다운 받는다.
4. x64 Native Tools Command Prompt for VS 2022 실행
5. 환경 변수 설정 및 Makefile.msc 수정
SET PATH=%PATH%;c:\tcl\bin
SET PLATFORM=x64
Makefile.msc 제일 상단에 아래와 같이 추가
SQLITE_TEMP_STORE=2
TCC = $(TCC) -DSQLITE_HAS_CODEC -I"D:\MyProjects\OpenSSL\build\Win64-static\include"
LTLIBPATHS = $(LTLIBPATHS) /LIBPATH:$(ICULIBDIR) /LIBPATH:"D:\MyProjects\OpenSSL\build\Win64-static\lib"
LTLIBS = $(LTLIBS) libcrypto.lib libssl.lib ws2_32.lib shell32.lib advapi32.lib gdi32.lib user32.lib crypt32.lib kernel32.lib
6. sqlite3.dll과 sqlite3.exe을 각각 아래와 같이 빌드한다.
nmake /f Makefile.msc sqlite3.dll USE_NATIVE_LIBPATHS=1 OPTS="-DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_OPENSSL -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_EXTRA_INIT=sqlcipher_extra_init -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown -I\"D:\MyProjects\OpenSSL\build\Win64-static\include\""
nmake /f Makefile.msc sqlite3.exe USE_NATIVE_LIBPATHS=1 OPTS="-DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_OPENSSL -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS5=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_TEMP_STORE=2 -DSQLITE_EXTRA_INIT=sqlcipher_extra_init -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown -I\"D:\MyProjects\OpenSSL\build\Win64-static\include\""
* 아래와 같은 에러 발생 시 sqlite3.c 파일을 열어서 소스코드 제일 위에 아래 코드를 추가한다.
sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev