Sarteck, thanks for your response,
i installed libglew-dev, and then i tried compiling it again
heres what came up:
Code:
aaron@aaron-desktop:~/pcsx2$ sh build.sh all
----------------------------------------
Building Graphics Synthesizer plugins...
----------------------------------------
----------------------
Building ZeroGS OpenGL
----------------------
Linux/Makefile.am:5: shell pkg-config --cflags gtk+-2.0: non-POSIX variable name
Linux/Makefile.am:5: (probably a GNU make extension)
Linux/Makefile.am:6: compiling `callbacks.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking debug build... no
checking for _aligned_malloc... no
checking for _aligned_free... no
checking for development build...... no
checking check for sse2...... yes
checking for a x86-64 CPU... no
checking gtk2+... checking for pkg-config... pkg-config
checking OpenGL... checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lGLEW... yes
checking Cg... checking for main in -ljpeg... yes
checking for main in -lpthread... yes
checking for main in -lstdc++... yes
checking for main in -lz... yes
checking for main in -ldl... yes
checking for main in -lXxf86vm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Linux/Makefile
config.status: executing depfiles commands
Configuration:
Target system type:
x86-64 build? no
Debug build? no
Dev build? no
SSE2 enabled? yes
Making clean in Linux
make[1]: Entering directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl/Linux'
test -z "libZeroGSLinux.a" || rm -f libZeroGSLinux.a
rm -f *.o
make[1]: Leaving directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl/Linux'
Making clean in .
make[1]: Entering directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl'
test -z "libZeroGSogl.a" || rm -f libZeroGSogl.a
test -z "libZeroGSoglr.so.0.96.2" || rm -f libZeroGSoglr.so.0.96.2
rm -f *.o
make[1]: Leaving directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl'
Making install in Linux
make[1]: Entering directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl/Linux'
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -MT libZeroGSLinux_a-callbacks.o -MD -MP -MF .deps/libZeroGSLinux_a-callbacks.Tpo -c -o libZeroGSLinux_a-callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c
mv -f .deps/libZeroGSLinux_a-callbacks.Tpo .deps/libZeroGSLinux_a-callbacks.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -MT libZeroGSLinux_a-Conf.o -MD -MP -MF .deps/libZeroGSLinux_a-Conf.Tpo -c -o libZeroGSLinux_a-Conf.o `test -f 'Conf.cpp' || echo './'`Conf.cpp
mv -f .deps/libZeroGSLinux_a-Conf.Tpo .deps/libZeroGSLinux_a-Conf.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -MT libZeroGSLinux_a-interface.o -MD -MP -MF .deps/libZeroGSLinux_a-interface.Tpo -c -o libZeroGSLinux_a-interface.o `test -f 'interface.c' || echo './'`interface.c
mv -f .deps/libZeroGSLinux_a-interface.Tpo .deps/libZeroGSLinux_a-interface.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -MT libZeroGSLinux_a-Linux.o -MD -MP -MF .deps/libZeroGSLinux_a-Linux.Tpo -c -o libZeroGSLinux_a-Linux.o `test -f 'Linux.cpp' || echo './'`Linux.cpp
mv -f .deps/libZeroGSLinux_a-Linux.Tpo .deps/libZeroGSLinux_a-Linux.Po
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../ -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -fPIC -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -MT libZeroGSLinux_a-support.o -MD -MP -MF .deps/libZeroGSLinux_a-support.Tpo -c -o libZeroGSLinux_a-support.o `test -f 'support.c' || echo './'`support.c
mv -f .deps/libZeroGSLinux_a-support.Tpo .deps/libZeroGSLinux_a-support.Po
rm -f libZeroGSLinux.a
ar cru libZeroGSLinux.a libZeroGSLinux_a-callbacks.o libZeroGSLinux_a-Conf.o libZeroGSLinux_a-interface.o libZeroGSLinux_a-Linux.o libZeroGSLinux_a-support.o
ranlib libZeroGSLinux.a
make[2]: Entering directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl/Linux'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl/Linux'
make[1]: Leaving directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl/Linux'
Making install in .
make[1]: Entering directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl'
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/cg/include -L/opt/cg/lib -O3 -fomit-frame-pointer -MT libZeroGSogl_a-GSmain.o -MD -MP -MF .deps/libZeroGSogl_a-GSmain.Tpo -c -o libZeroGSogl_a-GSmain.o `test -f 'GSmain.cpp' || echo './'`GSmain.cpp
In file included from GSmain.cpp:39:
zerogs.h:41:19: error: Cg/cg.h: No such file or directory
zerogs.h:42:21: error: Cg/cgGL.h: No such file or directory
zerogs.h:124: error: ‘CGprogram’ does not name a type
zerogs.h:132: error: ‘CGprogram’ does not name a type
zerogs.h:133: error: ‘CGparameter’ does not name a type
zerogs.h:134: error: ‘CGparameter’ does not name a type
zerogs.h:135: error: ‘CGparameter’ does not name a type
zerogs.h: In constructor ‘FRAGMENTSHADER::FRAGMENTSHADER()’:
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘prog’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sMemory’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sFinal’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sBitwiseANDX’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sBitwiseANDY’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sInterlace’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sCLUT’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sOneColor’
zerogs.h:128: error: class ‘FRAGMENTSHADER’ does not have any field named ‘sBitBltZ’
zerogs.h:129: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTexAlpha2’
zerogs.h:129: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTexOffset’
zerogs.h:129: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTexDims’
zerogs.h:129: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTexBlock’
zerogs.h:129: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fClampExts’
zerogs.h:129: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTexWrapMode’
zerogs.h:130: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fRealTexDims’
zerogs.h:130: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTestBlack’
zerogs.h:130: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fPageOffset’
zerogs.h:130: error: class ‘FRAGMENTSHADER’ does not have any field named ‘fTexAlpha’
zerogs.h: At global scope:
zerogs.h:145: error: ‘CGprogram’ does not name a type
zerogs.h:146: error: ‘CGparameter’ does not name a type
zerogs.h: In constructor ‘VERTEXSHADER::VERTEXSHADER()’:
zerogs.h:144: error: class ‘VERTEXSHADER’ does not have any field named ‘prog’
zerogs.h:144: error: class ‘VERTEXSHADER’ does not have any field named ‘sBitBltPos’
zerogs.h:144: error: class ‘VERTEXSHADER’ does not have any field named ‘sBitBltTex’
zerogs.h: At global scope:
zerogs.h:182: error: ‘CGparameter’ does not name a type
ZeroGSShaders/zerogsshaders.h:27: error: ‘CGcontext’ does not name a type
ZeroGSShaders/zerogsshaders.h:29: error: ‘CGprogram’ does not name a type
make[1]: *** [libZeroGSogl_a-GSmain.o] Error 1
make[1]: Leaving directory `/home/aaron/pcsx2/plugins/gs/zerogs/opengl'
make: *** [install-recursive] Error 1
Error with building plugins
i think i got a lot more errors..
Bookmarks