..:: PCSX2 Forums ::..

Full Version: ZZogl -- Zero GS KOSMOS fork
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
But you should try 0.9.4 -- playground versions are break this game. And ZZogl get a normal picture (I don't know about Windows, but I guess, it should be o'k).
Hello everybody,

I have an error when I try to compile this plugin.

Code:
'./'`Conf.cpp
In file included from Conf.cpp:25:
./../GS.h:51:22: error: PS2Edefs.h: Aucun fichier ou dossier de ce type
In file included from Conf.cpp:25:
./../GS.h:53: erreur: ‘u32’ does not name a type
./../GS.h:54: erreur: ‘u32’ does not name a type
./../GS.h:55: erreur: expected initializer before ‘PS2EgetLibName’
In file included from Conf.cpp:25:
./../GS.h:67: erreur: ‘u32’ does not name a type
./../GS.h:73: erreur: expected initializer before ‘void’
./../GS.h:85: erreur: expected initializer before ‘void’
make[1]: *** [libZeroGSLinux_a-Conf.o] Erreur 1
make[1]: quittant le répertoire « /home/[USERNAME]/opengl/Linux »
make: *** [install-recursive] Erreur 1

I am with Kubuntu 8.10 64-Bits. NVIDIA CG Toolkit 2.0.0.0 and a lot of 0... .15 is installed. Members can, apparently, resolve this problem. But I don't understand. Can you help me ?
You should put in pcsx2/plugins/ZZogl/opengl directory, so ../../../common/include path would direct it to PSEdefs.h files.
@zeydlitz : is game Ethernal Poison can play in windows with pcsx2.0.94 and Zzogl or old zeroGS 0.96.7?? because iam curiouse.
I did a 32-bit chroot and I have been trying to compile the plugin however I cannot find a solution to these errors:

Quote:In file included from Regs.cpp:29:
zerogs.h:22: warning: ignoring #pragma warning
Regs.cpp: In function 'void GIFPackedRegHandlerSTQ(u32*)':
Regs.cpp:95: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp:96: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp:97: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp: In function 'void KICK_VERTEX3()':
Regs.cpp:125: error: 'ArraySize' was not declared in this scope
Regs.cpp: In function 'void GIFPackedRegHandlerXYZF2(u32*)':
Regs.cpp:137: error: 'ArraySize' was not declared in this scope
Regs.cpp: In function 'void GIFPackedRegHandlerXYZ2(u32*)':
Regs.cpp:153: error: 'ArraySize' was not declared in this scope
Regs.cpp: In function 'void clampWrite(int, u32*)':
Regs.cpp:295: warning: comparison between signed and unsigned integer expressions
Regs.cpp: In function 'void GIFRegHandlerRGBAQ(u32*)':
Regs.cpp:344: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp: In function 'void GIFRegHandlerST(u32*)':
Regs.cpp:349: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp:350: warning: dereferencing type-punned pointer will break strict-aliasing rules
Regs.cpp: In function 'void tex1Write(int, u32*)':
Regs.cpp:452: warning: comparison between signed and unsigned integer expressions
Regs.cpp:452: warning: comparison between signed and unsigned integer expressions
make[1]: *** [libZeroGSogl_a-Regs.o] Error 1
make[1]: Leaving directory `/home/thomas/Documents/pscx2/plugins/ZZogl/opengl'
make: *** [install-recursive] Error 1

I am a 64-bit Kubuntu 8.10 user as well. Latest nvidia toolkit from the repositories installed.
Do you place plugin in /plugins/ZZogl/openGl? There is important, that ../../../common/include directory contain PS2Edefs.h file
Quote: Do you place plugin in /plugins/ZZogl/openGl? There is important, that ../../../common/include directory contain PS2Edefs.h file
Yes.
Do you have more or less modern version of pcsx2 sources? Look, ArraySize if pcsx2 common function. It's stored in common/include/PS2Edefs.h (or PS2Etypes, don't matter).
I have the latest code (well from running it earlier tonight anyway) from http://code.google.com/p/pcsx2/source/checkout . Then I have ZZogl in the plugins directory. I modified the build.sh of the plugins directory to include ZZolg and that didn't work, and I have also tried just compiling it on its own. I get the same error.

ArraySize is in PS2Etypes.h and not PS2Edefs.h
Quote:#ifndef ARRAYSIZE
#define ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0]))
#endif
So you probably misplaced it. Do following stuff: copy ZZogl/opengl over zerogs/opengl directory. Than ZZogn would be build instead ZeroGS.