- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是使用 Codelite 编程的新手,我使用 wxCrafter 创建了一些简单的框架,但是 Codelight 不会安装(是的,我已经安装了 mingw,在控制台程序上工作)。我想,我在我的框架上犯了一个错误,我决定在不改变任何东西的情况下创建一个新项目,然后只构建项目。我得到相同的错误代码:
C:\Windows\system32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ Test - Debug ]----------"
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
mingw32-make.exe[1]: Entering directory 'C:/Users/user/Documents/CodeLite/Gravitation_Simulator/Test'
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'C:\Program: Invalid argument
g++.exe: error: Files'.: No such file or directory
mingw32-make.exe[1]: *** [Debug/main.cpp.o.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'C:\Program: Invalid argument
g++.exe: error: Files'.: No such file or directory
Test.mk:99: recipe for target 'Debug/main.cpp.o.d' failed
mingw32-make.exe[1]: *** [Debug/MainFrame.cpp.o.d] Error 1
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'C:\Program: Invalid argument
g++.exe: error: Files'.: No such file or directory
mingw32-make.exe[1]: *** [Debug/wxcrafter.cpp.o.d] Error 1
mingw32-make.exe: *** [All] Error 2
Test.mk:107: recipe for target 'Debug/MainFrame.cpp.o.d' failed
Test.mk:115: recipe for target 'Debug/wxcrafter.cpp.o.d' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/user/Documents/CodeLite/Gravitation_Simulator/Test'
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====`
最佳答案
问题不在于 MinGW。您需要设置环境变量 WXCFG
和 WXWIN
您可以在 CodeLite 中执行此操作:Settings->Environment variales
比如你在C:\src\wxWidgets
下安装了wxWidgets开发包
您应该像这样在 CodeLite 的环境变量部分添加 2 个条目:
WXCFG=gcc_dll\mswu
WXWIN=C:\src\wxWidgets
这应该会为您修复这些警告。
艾兰
关于c++ - Codelite 构建错误 'No such file or directory',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38510648/
这个问题在这里已经有了答案: Compile-time error: Multiple definition of 'main' (4 个回答) 2年前关闭。 当我在 codelite IDE [13
我尝试在 Windows 10 上下载 Codelite,但仅下载为“7z”文件并且无法打开。我真的不知道自己在做什么。谢谢! 最佳答案 7z 是 archive file format (如 zip
我正在尝试编译我的项目,该项目有一个使用 gcc 和 CodeLite 的 sstream 库。但由于某种原因编译器找不到 sstream fatal error :sstream:没有这样的文件或目
我创建了一个简单的项目来学习如何创建静态库。我在 CodeLite 中创建了一个新的工作区、一个新的项目和一个新的静态库。 在我得到的静态库中,在“include”文件夹中有一个名为 hellowor
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 3 年前。
我是 C++ 初学者,我开始了 Udemy 类(class)。在那门类(class)中,他们推荐使用 CodeLite 作为 IDE,所以我决定尝试一下。在类(class)中,他们编写了一个显示“He
当我尝试编译任何在 CodeLite 中使用多线程的程序时,我遇到了一些奇怪的行为。 我得到错误: terminate called after throwing an instance of 'st
使用 CodeLite c++14,mingw-32。我是一个新手,正在学习一门语言类(class)以进行编程,但是在过去的几天里我遇到了一个我无法弄清楚的问题。出于某种原因,命令行提示仅显示我输出代
由于未知原因,我无法在我的 CodeLite 环境中用 C++ 编译单个文件/项目。 我使用的是最新版本的 CodeLite,即:带有预安装 MinGW 库的 7.0。操作系统/Windows 7。
我正在尝试在 Codelite 上运行一个程序,它在我的 PC 上运行良好,但在我的 Mac 上,我不断收到以下错误消息 输出窗口显示 当前工作目录:/Users/me/Desktop/Class/C
我正在尝试在 CodeLite 中使用 OpenCV 框架。我是 MacOS 用户。 我在官网下载了OpenCV 4.1.0,里面有opencv2.framework。但是,我找不到将它包含在我的 C
我刚刚在我的两台 PC 上安装了 CodeLite 6.0,但是在这两台计算机上我都遇到了同样的问题:我能够构建和运行项目,但是当控制台开始运行时我看到的是: 这是我的代码: #include in
我使用 CodeLite用于 C++ 开发的 IDE,但我还没有找到任何方法来选择 -> 正确格式化文本。 这个: if(1 == 1){ return 1; } 格式应为: if(1 == 1){
我在 Windows 7 上使用 Codelite 5.3。我创建了一个新工作区并在其中添加了一个新项目。但是当我尝试构建项目时,Codelite 没有编译并以构建消息结束: C:\Windows\s
我目前在我的 C++ IDE 中使用 CodeLite。 IDE 中有许多我喜欢使用的功能,而且界面非常简单。 最近,我将我的 wxWigets 代码从 3.0 移到了 3.1。有许多 3.1 独有的
我已经安装了带有 minGW 和 wxWidget 的 CodeLite(我认为是这样)。我用 C++ 写过程序,简单、小。问题是,当我点击构建菜单时,所有选项都是灰色的。 我检查了build设置,我
我正在从事一个项目,其中有几个人通过 Git 处理相同的代码。 我只是想知道从事这个项目的每个人是否应该共享同一个工作区(通过 ./foo.workspace 文件),或者只是共享项目(通过 ./fo
我最近开始使用 CodeLite,因为我认为它会是一个很棒的软件,但我不知道如何将库添加到项目中。 谁能帮我吗 ? 最佳答案 but i don't know how to add libraries
It was a header that was available in old Borland compilers. Used strictly for graphics in MS-Dos ap
Codelite在makefile中放入绝对路径,如: === mygreatapp.workspace === WorkspacePath := "/home/vladon/Pr
我是一名优秀的程序员,十分优秀!