stevexuzeta
stevexuzeta
@DanqingZ Thank you very much, I tried and it worked.
嗯嗯,是的,设置了MD,编译出的是MDd,编译命令如下,完整输出在log2.txt。 [log2.txt](https://github.com/xmake-io/xmake/files/13803621/log2.txt) (base) PS E:\cpp\xmakextd> xmake -rv checking for cl.exe ... D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\cl.exe checking for the c++ compiler (cxx) ... cl.exe checking for D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\cl.exe ......
安装的既有release版本也有debug版本,使用CMakeList.txt来创建的hello_world,debug和release都是可以运行的 ---------------CMakeLists.txt---------------------- cmake_minimum_required(VERSION 3.3) set(XTD_DOWNLOAD_DOXYGEN OFF) project(hello_world_form) find_package(xtd REQUIRED) add_sources(src/hello_world_form.cpp) target_type(GUI_APPLICATION) ---------------src/hello_world_form.cpp-------------- #include using namespace xtd::forms; class main_form : public form { public: main_form() { text("Hello world (message_box)"); button1.location({ 10,...
xtd库依赖wxwidgets,xtd脚本安装的时候会把wxwidgets安装到C:\Program Files (x86)\wxWidgets路径然后引用,下面写的xtd/xmake.lua该怎么修改呢? -----------x/xtd/xmake.lua---------------------- ``` package("xtd") set_homepage("https://gammasoft71.github.io/xtd") set_description("Free open-source modern C++17 / C++20 framework to create console, GUI (forms like WinForms) and unit test applications on Microsoft Windows, Apple macOS...
It seems that I had the similar problem before which I used ubuntu 22.04 running on virtual machine on windows. I just installed dual system and the problems had gone....