search for: lglut

Displaying 13 results from an estimated 13 matches for "lglut".

Did you mean: lglu
2013 Jan 26
1
[LLVMdev] lli problem with a simple OpenGL
...clude int main(int argc, char **argv) {   glutInit(&argc, argv);   glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);   glutCreateWindow("red 3D lighted cube");   printf("GL_VERSION = %s\n",glGetString(GL_VERSION) );   return 0; } Compiling it with Clang and adding -lglut option worked correctly $ clang  simple.c  -o  simple  -lglut $ ./simple GL_VERSION = 2.1 Mesa 7.10.2 But, adding the -emit-llvm option to clang, does not work as below $ clang -O3 -emit-llvm simple.c  -o simple.bc -lglut /usr/bin/ld: /usr/local/bin/../lib/LLVMgold.so: error loading plugin /usr/bi...
2008 Jul 29
2
[LLVMdev] llvm-gcc linking errors
...errors main.c main.c: In function 'KeyPressed': main.c:291: warning: unused parameter 'x' main.c:291: warning: unused parameter 'y' gcc -c -g -O2 -std=c99 -Wall -Wextra -Werror-implicit-function-declaration -Wshadow -Wstrict-prototypes -pedantic-errors trirast.c gcc -g -lGL -lglut -o trirast main.o trirast.o 16:24|paul at tabu:~/> ============= With llvm-gcc ============= 16:25|paul at tabu:~/> make llvm-gcc -c -g -O2 -std=c99 -Wall -Wextra -Werror-implicit-function-declaration -Wshadow -Wstrict-prototypes -pedantic-errors main.c main.c: In function 'KeyPressed...
2007 Dec 29
2
[LLVMdev] llvm-gcc-4.2 and -O4
...gl_utils.o ogl_body.o ogl_bitmap_character.o llvm-gcc -o molscript -O4 molscript.tab.o global.o lex.o col.o select.o state.o graphics.o segment.o coord.o xform.o postscript.o raster3d.o vrml.o regex.o opengl.o image.o eps_img.o sgi_img.o jpeg_img.o png_img.o clib/clib.a \ -L/sw/lib -lglut -lGLU -lGL /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib -L/usr/X11R6/lib -lX11 -lXi -lXmu -L/sw/lib -ljpeg -L/sw/lib -lpng -lz -bind_at_load -lm ld: warning in molscript.tab.o, file is not of required architecture ld: warning in global.o, file is not of required architecture l...
2006 Oct 16
0
No window decorations for simple glut app on compiz/aiglx?
...a title bar, window frame or any other wm decorations. Same results when passing -direct or -indirect on command line. It works as expected when compiz isn't the WM. Can anyone else confirm they see this too? Any suggestions on how to fix this up? Thanks much, Sean P.S. compiled with -lGL -lglut and using r300 driver. #include <GL/glut.h> void DrawScene(void) { glClearColor(0.5, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); glColor3f(0.0, 0.1, 1.0); glutSolidTeapot(0.6); glFlush(); } int main(int argc, char *argv[]) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGL...
2007 Mar 19
1
OpenGL support on wine 0.9.21 in Fedora Core 5
...form in -lXrender... yes checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glext.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for glXCreateContext in -lGL... no checking for gluLookAt in -lGLU... no checking for glutMainLoop in -lglut... no I have 3d acceleration, so what's holding wine up? :(
2006 Aug 26
2
Compiling wine on AMD64
...form in -lXrender... no checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glext.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for glXCreateContext in -lGL... no checking for gluLookAt in -lGLU... yes checking for glutMainLoop in -lglut... no So, am I close? Or should I give up this method and try one of the others? I had one unsuccessful attempt using this: https://help.ubuntu.com/community/WineForAMD64 Like a lot of other people I'm trying to get WoW running - I've seen it already on a 386 kernel and was amazed at ho...
2012 Oct 29
3
[Bug 56546] New: crash at the second render when applying gamma correction
...ere a very simple program which illustrate a bug in driver 2.1 Mesa 8.0.4 when applying a gamma value with opengl. (The program is OK with driver NVIDIA). In attachment, the file utc24.tga used by the program glut_gamma_bug.cpp. Compile the program with the command: g++ -L/usr/lib64 -lGL -lGLU -lglut -lX11 -lXi -lxcb-glx -lxcb-xlib -ldl glut_gamma_bug.cpp Start it with: ./a.out It will open a small window with an image composed of vertical strips. Press the enter key (it apply a gamma correction of 3 to the image): a) it will print a message: KEY_ENTER b) it will print another message: curr...
2007 Dec 29
0
[LLVMdev] llvm-gcc-4.2 and -O4
...ap_character.o > llvm-gcc -o molscript -O4 molscript.tab.o global.o lex.o col.o > select.o state.o graphics.o segment.o coord.o xform.o postscript.o > raster3d.o vrml.o regex.o opengl.o image.o eps_img.o sgi_img.o > jpeg_img.o png_img.o clib/clib.a \ > -L/sw/lib -lglut -lGLU -lGL /System/Library/Frameworks/ > OpenGL.framework/Libraries/libGL.dylib -L/usr/X11R6/lib -lX11 -lXi - > lXmu -L/sw/lib -ljpeg -L/sw/lib -lpng -lz -bind_at_load -lm > ld: warning in molscript.tab.o, file is not of required architecture > ld: warning in global.o, file is not of...
2015 Feb 16
4
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
...sh happens here: glutDisplayFunc(display); glutMainLoop(); } daniel at ubuntu32-dev:~/projects/llvmcrash/app$ cat compile_and_run.sh rm -rvf libcrashme.so app g++ -shared -o libcrashme.so crashme.cpp `llvm-config-3.6 --cxxflags` && \ g++ -rdynamic -o app app.cpp -L. -lcrashme -lGL -lglut `llvm-config-3.6 --ldflags --libs` -lpthread -ldl -lncurses && \ LD_LIBRARY_PATH=. ./app daniel at ubuntu32-dev:~/projects/llvmcrash/app$ ./compile_and_run.sh removed ‘libcrashme.so’ removed ‘app’ ./compile_and_run.sh: line 4: 6160 Segmentation fault (core dumped) LD_LIBRARY_PATH=. ./...
2013 Jan 28
0
[LLVMdev] Testing canaries
...{ > ? glutInit(&argc, argv); > ? glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); > ? glutCreateWindow("red 3D lighted cube"); > ? printf("GL_VERSION = %s\n",glGetString(GL_VERSION) ); > ? return 0; > } > > Compiling it with Clang and adding -lglut option worked correctly > $ clang? simple.c? -o? simple? -lglut > $ ./simple > GL_VERSION = 2.1 Mesa 7.10.2 > > But, adding the -emit-llvm option to clang, does not work as below > $ clang -O3 -emit-llvm simple.c? -o simple.bc -lglut > /usr/bin/ld: /usr/local/bin/../lib/LLVMgol...
2013 Feb 28
7
[Bug 61635] New: glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE, ...) does not work
https://bugs.freedesktop.org/show_bug.cgi?id=61635 Priority: medium Bug ID: 61635 Assignee: nouveau at lists.freedesktop.org Summary: glVertexAttribPointer(id, GL_UNSIGNED_BYTE, GL_FALSE,...) does not work Severity: normal Classification: Unclassified OS: All Reporter: rodrigorivascosta at
2004 Oct 23
1
Issues with compiling wine
...Xext -lX11 -lm -lsocket -lnsl -lresolv -lsocket -lnsl >&5 configure:8535: $? = 0 configure:8538: test -z || test ! -s conftest.err configure:8541: $? = 0 configure:8544: test -s conftest configure:8547: $? = 0 configure:8560: result: yes configure:8570: checking for glutMainLoop in -lglut configure:8600: gcc -o conftest -g -O2 -I/usr/openwin/include conftest.c -lglut -lGL -lGLU -L/usr/openwin/lib -R/usr/openwin/lib -lSM -lICE -lXmu -lXi -lX11 -lsocket -lnsl -lresolv -lsocket -lnsl >&5 ld: fatal: library -lglut: not found ld: fatal: File processing errors. No output wri...
2006 May 18
2
Problems compiling Wine
...rm in -lXrender... yes checking for GL/gl.h... yes checking for GL/glx.h... yes checking for GL/glext.h... yes checking for GL/glu.h... yes checking for up-to-date OpenGL version... yes checking for glXCreateContext in -lGL... yes checking for gluLookAt in -lGLU... yes checking for glutMainLoop in -lglut... yes checking audio/audiolib.h usability... yes checking audio/audiolib.h presence... yes checking for audio/audiolib.h... yes checking for audio/soundlib.h... yes checking for AuCreateFlow in -laudio... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checki...