ZZogl -- Zero GS KOSMOS fork
Well, run following script in base pcsx2 directory:
Code:
#!/bin/sh

# Usage: sh build.sh [option]
# option can be all (rebuilds everything), clean, or nothing (incremental build)
# Modify the individual build.sh for specific program options like debug symbols
# Uncomment if building by itself, rather then with all the plugins

#ZeroGS Normal mode
export ZEROGSOPTIONS="--enable-sse2"

#ZeroGS Debug mode
#export ZEROGSOPTIONS="--enable-debug --enable-devbuild --enable-sse2"

option=$@
curdir=`pwd`

cd ${curdir}/plugins/ZZogl/
sh build.sh $option

if [ $? -ne 0 ]
then
echo Error with building plugins
exit 1
fi
Reply

Sponsored links

Hi,

Is there a complied version of that plugin? Because i couldn't compile it. Always giving some errors Glare
Reply
(03-03-2010, 12:31 PM)pisahmet Wrote: Hi,

Is there a complied version of that plugin? Because i couldn't compile it. Always giving some errors Glare

~$ mkdir teste2
~$ cd teste2
~/teste2$ svn co http://188.134.4.34/svnroot/ruslan/zerogs/

A zerogs/opengl
A zerogs/opengl/Regs.h
...
...
...
A zerogs/opengl/install-sh
A zerogs/opengl/common.h
A zerogs/build.sh
Gerado cópia de trabalho para revisão 210.
carlos@Debian-desktop:~/teste2$ cd zerogs/
carlos@Debian-desktop:~/teste2/zerogs$ sudo sh ./build.sh all

----------------------
Building ZZOpenGL
----------------------
Linux/Makefile.am:9: shell pkg-config --cflags gtk+-2.0: non-POSIX variable name
Linux/Makefile.am:9: (probably a GNU make extension)
checking for a BSD-compatible install... /usr/bin/install -c
...
...
config.status: creating ZeroGSShaders/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 ZeroGSShaders
make[1]: Entrando no diretório `/home/carlos/teste2/zerogs/opengl/ZeroGSShaders'
test -z "zgsbuild" || rm -f zgsbuild
rm -f *.o
...
...
./../GS.h:53:22: error: PS2Edefs.h: Arquivo ou diretório não encontrado
In file included from Conf.cpp:25:
./../GS.h:55: error: ‘u32’ does not name a type
./../GS.h:56: error: ‘u32’ does not name a type
./../GS.h:57: error: expected initializer before ‘PS2EgetLibName’
In file included from Conf.cpp:25:
./../GS.h:68: error: ‘u32’ does not name a type
./../GS.h:76: error: expected initializer before ‘void’
./../GS.h:88: error: expected initializer before ‘void’
make[1]: ** [libZeroGSLinux_a-Conf.o] Erro 1
make[1]: Saindo do diretório `/home/carlos/teste2/zerogs/opengl/Linux'
make: ** [install-recursive] Erro 1[/b]


Blush help ?


Quote:**** "Arquivo ou diretório não encontrado" = not found
To use the forum I'm using the google translator despite not knowing how to write in English and read English .Sorry does not know English properly.

Translated by google
Reply
carlos007anjo
Open GS.h
Find '#include "PS2Edefs.h"' and change to '#include "common/PS2Edefs.h"'.
Reply
Of course it would not work! ZZogl should be compiled inside pcsx2 trunk. It require to be placed in pcsx2/plugins directory, and PS2Edefs.h is common pcsx2 file, that should be on pcsx2/common. And you try to compile ZZogl without pcsx2 sources, that's possible, but require a little additional work.

Do following, made build_ZZogl.sh file, as I tell you, than:

mkdir pcsx2
svn checkout http://pcsx2.googlecode.com/svn/trunk/ pcsx2
svn checkout http://188.134.4.34/svnroot/rusan/zerogs/ pcsx2/plugins
cp build_ZZogl.sh pcsx2/build_ZZogl.sh

sh build_ZZogl.sh all
Reply
Sorry, not checked. Simply wrote a assumption by looking at the error.
Reply
(03-03-2010, 09:56 PM)Zeydlitz Wrote: Of course it would not work! ZZogl should be compiled inside pcsx2 trunk. It require to be placed in pcsx2/plugins directory, and PS2Edefs.h is common pcsx2 file, that should be on pcsx2/common. And you try to compile ZZogl without pcsx2 sources, that's possible, but require a little additional work.

Do following, made build_ZZogl.sh file, as I tell you, than:

mkdir pcsx2
svn checkout http://pcsx2.googlecode.com/svn/trunk/ pcsx2
svn checkout http://188.134.4.34/svnroot/rusan/zerogs/ pcsx2/plugins
cp build_ZZogl.sh pcsx2/build_ZZogl.sh

sh build_ZZogl.sh all




mkdir pcsx2
svn checkout http://pcsx2.googlecode.com/svn/trunk/ pcsx2
...
...
...
A pcsx2/pcsx2_suite_2008.sln
A pcsx2/CMakeLists.txt
U pcsx2
Gerado cópia de trabalho para revisão 2662.
carlos@Debian-desktop:~/teste123$ svn checkout http://188.134.4.34/svnroot/rusan/zerogs/ pcsx2/plugins
svn: Servidor enviou valor de retorno inválido (403 Forbidden) na resposta a OPTIONS pedido por 'http://188.134.4.34/svnroot/rusan/zerogs'
~/teste123$ cp build_ZZogl.sh pcsx2/build_ZZogl.sh
cp: impossível obter estado de "build_ZZogl.sh": Arquivo ou diretório não encontrado
~/teste123$
~/teste123$ sh build_ZZogl.sh all
sh: Can't open build_ZZogl.sh
~/teste123$

Blush help ?
To use the forum I'm using the google translator despite not knowing how to write in English and read English .Sorry does not know English properly.

Translated by google
Reply
(03-04-2010, 02:50 AM)carlos007anjo Wrote: svn checkout http://188.134.4.34/svnroot/rusan/zerogs/ pcsx2/plugins
svn checkout http://188.134.4.34/svnroot/ruslan/zerogs/ pcsx2/plugins
missing "l".
Reply
(03-04-2010, 03:33 AM)Firnis Wrote:
(03-04-2010, 02:50 AM)carlos007anjo Wrote: svn checkout http://188.134.4.34/svnroot/rusan/zerogs/ pcsx2/plugins
svn checkout http://188.134.4.34/svnroot/ruslan/zerogs/ pcsx2/plugins
missing "l".

sorry

can explain again where I go wrong?

Quote:desculpa ,

pode explicar novamente onde errei ?
To use the forum I'm using the google translator despite not knowing how to write in English and read English .Sorry does not know English properly.

Translated by google
Reply
I misspel a directory name.
svn checkout http://188.134.4.34/svnroot/ruslan/zerogs/ pcsx2/plugins
Reply




Users browsing this thread: 1 Guest(s)