-
July 28th, 2009, 12:43 PM
#1
problem compiling ogl wrapper
hello everyone, i was trying to create a custom opengl32.dll with devcpp
so i could add some functions to add support for a pixelshader (postprocessing)
to enable some effects like SSAO,DoF etc. (pretty much like enbseries does for direct3d)
im using the -def parameter to add a .def file to the project so i can easily export the
glfunctions , unfortinatly there seems to be a little problem:
Code:
Compiler: Default compiler
Building Makefile: "E:\Quake2\glextender\Makefile.win"
Executing make clean
rm -f dllmain.o ../oglextender.dll
gcc.exe -c dllmain.c -o dllmain.o -I"C:/Dev-Cpp/include" -fexpensive-optimizations -O3 -mmmx
dllwrap.exe --output-def ../liboglextender.def --implib ../liboglextender.a dllmain.o -L"C:/Dev-Cpp/lib" -def exports.def -lopengl32 -s -mmmx -o ../oglextender.dll
oglextender.exp(.edata+0x38):fake: undefined reference to `glAccum'
...
oglextender.exp(.edata+0x5d4):fake: undefined reference to `wglUseFontOutlinesW'
collect2: ld returned 1 exit status
dllwrap.exe: gcc exited with status 1
make.exe: *** [../oglextender.dll] Error 1
Execution terminated
Does anybody know how i can get rid of these errors???
-
July 28th, 2009, 12:47 PM
#2
Re: problem compiling ogl wrapper
Why? OpenGL already supports pixel shaders, either via GLSL or Cg. There may be other options.
-
July 28th, 2009, 12:55 PM
#3
Re: problem compiling ogl wrapper
Originally Posted by Lindley
Why? OpenGL already supports pixel shaders, either via GLSL or Cg. There may be other options.
i guess u misunderstood the problem a little bit .... its about adding a pixelshader to games
that doesnt support this feature
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|