From be95cddd86397055a102edc6934ac1d77b539cc7 Mon Sep 17 00:00:00 2001 From: taynpg Date: Fri, 3 Jan 2025 16:10:28 +0800 Subject: [PATCH] =?UTF-8?q?init:=E5=88=9D=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 0 README.md | 10 ++++++++++ docs/boost.md | 31 +++++++++++++++++++++++++++++++ docs/sqlite3.md | 15 +++++++++++++++ docs/wxwidgets.md | 19 +++++++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docs/boost.md create mode 100644 docs/sqlite3.md create mode 100644 docs/wxwidgets.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..0021b2b --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# 开发环境 + +| 名称 | 链接地址 | +| ---- | ------------------------------------------------------------ | +| GCC | [x86_64-14.2.0-release-posix-seh-ucrt-rt_v12-rev0.7z](https://taynpg.lanzn.com/iSXVL2jsiogd) | + +# 变量 + +统一开发环境变量为:`TTDEV_ROOT`,下面存放各种库文件,文件夹名称不带版本号且全小写,版本号放入到文件夹内部。 + diff --git a/docs/boost.md b/docs/boost.md new file mode 100644 index 0000000..f1df46d --- /dev/null +++ b/docs/boost.md @@ -0,0 +1,31 @@ +# 编译 + +编译器:`x86_64-14.2.0-release-posix-seh-ucrt-rt_v12-rev0.7z` + +# 过程 + +版本:`1.83` + +```shell +bootstrap.bat mingw +b2.exe link=shared runtime-link=shared threading=multi debug release --build-type=complete toolset=gcc --prefix=C:\bin\boost address-model=64 install +``` + +# 结果 + +下载:[boost_1.83_mgw14.7z - 蓝奏云](https://taynpg.lanzn.com/ij3tl2jsxpfi) + +其中对`include/boost/stacktrace/detail/frame_msvc.ipp`有修正: + +在`UUID`定义前,在: + +```c++ +#ifdef __CRT_UUID_DECL // for __MINGW32__ +``` + +后补充判断: + +```c++ +#if !defined(__MINGW32__) || (__GNUC__ < 12) +``` + diff --git a/docs/sqlite3.md b/docs/sqlite3.md new file mode 100644 index 0000000..ae74a9e --- /dev/null +++ b/docs/sqlite3.md @@ -0,0 +1,15 @@ +# 编译 + +`mgw`编译: + +```shell +gcc -shared sqlite3.c -o sqlite3d.dll +``` + +``` +gcc -shared -O2 sqlite3.c -o sqlite3.dll +``` + +# 结果 + +下载:[sqlite3_mgw14_3470200.7z - 蓝奏云](https://taynpg.lanzn.com/i5dBO2jt8zfe) diff --git a/docs/wxwidgets.md b/docs/wxwidgets.md new file mode 100644 index 0000000..99d55d8 --- /dev/null +++ b/docs/wxwidgets.md @@ -0,0 +1,19 @@ +# 构建 + +版本:`3.2.6` + +# 过程 + +构建命令: + +```shell +cmake -BDBuild -DCMAKE_BUILD_TYPE=Debug -DwxUSE_WEBVIEW_EDGE=ON -DwxUSE_STL=ON -DCMAKE_INSTALL_PREFIX=C:\workspace\output\wxwidgets -G "MinGW Makefiles" +``` + +``` +cmake -BRBuild -DCMAKE_BUILD_TYPE=Release -DwxUSE_WEBVIEW_EDGE=ON -DwxUSE_STL=ON -DCMAKE_INSTALL_PREFIX=C:\workspace\output\wxwidgets -G "MinGW Makefiles" +``` + +# 结果 + +下载:[wxwidgets_3.2.6_mgw14.7z - 蓝奏云](https://taynpg.lanzn.com/ivrLZ2jt8e0d)