我试图安装the GLUI2 library。 我遵循自述文件中的说明,告诉我去GLUI的根目录并运行Make。 我得到以下错误: /usr/bin/ld: Glui2/stb_image.o: relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fP
我有以下使用C++和OpenGL的生成文件。它一直在编译,所以我添加了-m32行以尝试使它在x86_64中编译。现在我得到了同样的错误,但它是说i386。 我该怎么做才能让这个程序编译? 我正在运行OSX 10.8,以防万一。 谢谢大家。 .SUFFIXES: .cpp
#Change the following two lines to reflect the locations
# o
我是新来的glui。我无法创建glui菜单栏。每当我创建一个菜单栏GLUI我收到以下错误: 1.cpp:13: error: expected constructor, destructor, or type conversion before ‘*’ token
1.cpp: In function ‘void controlcallback(int)’:
1.cpp:42: error: