我升级到了蚊虫社区2018年( GPL 2017的一切都很好)。我有这个项目档案:
with "opengl";
library project OpenGL.Soil is
for Library_Name use "SoilAda";
for Languages use ("ada", "c");
for Source_Dirs use ("src/soil");
-- snip compiler config
end OpenGL.Soil;
现在在src/soil中,有几个.
我在尝试使用wxWidgets 2.9.4和Xcode 4.5.2时遇到了麻烦,我遇到了各种各样的错误。首先,我认为我正确地安装了wxWidgets,因为每个示例和演示都运行得很好。问题是当我试图创建一个Xcode项目时。
当我按照wxWidgets教程修改构建设置时,如下所示:
- Paste the --cppflags in "Other C++ Flags"
- Paste the --libs in "Other Linker Flags" (REMOVING THE -L)
- Change the compiler to GCC I g
在我的新macbook pro上安装了osx lion和XCode 4.1后,我遇到了一些问题,那就是和gcc的关系。
在/usr/bin中我找不到gcc-4.2
我只有以下版本:
i686-apple-darwin11-llvm-gcc-4.2
llvm-gcc
llvm-gcc-4.2
因此,当我尝试通过port select --set gcc gcc42选择gcc42时,它返回以下错误:Selecting 'gcc42' for 'gcc' failed: could not create new link "/opt/local/bin/gc
我目前正在尝试用OpenGL在Visual C++中创建一个小应用程序。因此,我为自己的Visual Studio2012添加了glfw和glew。我遵循了我为每个人找到的如何将它们链接到项目的指南,但在尝试编译时遇到了一堆错误:
error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_glfwInit" in Funktion ""public: void __thiscall OpenGL::MainLoop(void)" (?MainLoop@OpenGL@@QAEXXZ)
我正在尝试使用我的C++课本中的示例中的相邻列表来编写图形类,并且当我使用以下命令进行编译时: Code: g++ -o prog program.cpp ...I得到以下错误:
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
..。这到底是什么意思?这可能是我的代码
我在这方面遇到了很多问题。当我尝试使用easy_install时,我得到这个错误:
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
unable to execute gcc-4.0: No such file or directory
error: Setup script exited with error: command 'gcc-4.0' failed with exit status 1
如何安装paramiko?当我尝试安装PyCrypto时,我得到了相同的错误。