Who's Online |
54 user(s) are online ( 43 user(s) are browsing Forums)
Members: 1
Guests: 53
Raziel,
more...
|
|
Headlines |
-
rnoeffects.lha - graphics/edit
Aug 14, 2022
-
shaderjoy.lha - graphics/viewer
Aug 14, 2022
-
lharchiver.lha - utility/archive
Aug 14, 2022
-
hexsee.lha - utility/filetool
Aug 14, 2022
-
blobwarsattrition.lha - game/action
Aug 13, 2022
-
arabic_console_devicepro2.lha - driver/input
Aug 11, 2022
-
kittymusicraft.library.lha - development/library
Aug 8, 2022
-
amiarcadia.lha - emulation/gamesystem
Aug 8, 2022
-
amosextension.library.lha - library/misc
Aug 8, 2022
-
luettjebookholler.lha - office/misc
Aug 6, 2022
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/6/9 11:05
#21
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@salass00
I tried copying the new cairo include in the original (2008) cairo include obtaing the following:
ppc-amigaos-c++ -I/SDK/local/common/include/cairo -ggdb -Iinclude -c -o source/main.o source/main.cpp In file included from source/main.cpp:38: /SDK/local/common/include/cairo/cairo-amigaos.h:21:3: error: #error Cairo was not compiled with support for the amigaos backend source/main.cpp: In function 'void LoadImage()': source/main.cpp:173: error: 'cairo_image_surface_create_from_png' was not declared in this scope source/main.cpp: In function 'void Draw(uint32, uint32, BitMap*)': source/main.cpp:1368: error: 'cairo_amigaos_surface_create' was not declared in this scope make: *** [source/main.o] Error 1
The same happen if i delete the old cairo include and point to the latest include directory.
I've added the cairo-amigaos.h together with the other new include files, but i get the same error as above
Edited by AmigaBlitter on 2015/6/9 11:23:13
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/6/9 11:45
#22
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
Patched the original cairo.h adding amiga os surface...
in the typedef enum _cairo_surface_type Configuring again... compiling...
nothing same error:
i wonder how many steps remain to have a full compiled cairo
patched cairo-features.h too.
included the define CAIRO_HAS_AMIGAOS_SURFACE 1 ...
It worked now!!!
Since the cairo-feature is generated by the configure process, what i have to modify in the configure file to make the process more clean?
Edited by AmigaBlitter on 2015/6/9 12:10:15 Edited by AmigaBlitter on 2015/6/9 12:46:54 Edited by AmigaBlitter on 2015/6/9 13:14:10 Edited by AmigaBlitter on 2015/6/9 13:29:47
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/6/9 14:25
#23
|
Just can't stay away 
Joined: 2006/11/30 11:30 Last Login
: Today 14:14
From Finland
Group:
Registered Users
|
@AmigaBlitter Quote: /SDK/local/common/include/cairo/cairo-amigaos.h:21:3: error: #error Cairo was not compiled with support for the amigaos backend
As the message says your libcairo is not compiled with support for AmigaOS specific surfaces. Simply modifying the header files won't change this fact.
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/6/9 18:33
#24
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
It worked (see my previous post). I've got a 2 fps improvement  I'm asking now: "Since the cairo-feature is generated by the configure process, what i have to modify in the configure file to make the process more clean?"
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/8/31 21:30
#25
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
Hello,
i've just installed the new sdk. Moreover, i'm using a new version of the gnu compiler: 4.9.1.
When i try to configure again pixman: i get the following error:
sh configure --prefix=/SDK/local/newlib --host=ppc-amigaos --enable-static=yes --enable-shared=no --disable-vmx --enable-timers=no --enable-gtk=no --enable-libpng=no
gcc:bin/rm: cannot lstat `conf1500228416.dir/conf1500228416.file': File or path name too long gcc:bin/rm: cannot lstat `conf1500228416.dir/conf1500228416.file': File or path name too long configure: WARNING: unrecognized options: --enable-0, --enable-0, --disable-0, --enable-0, --enable-0, --enable-0 configure: error: expected an absolute directory name for --prefix: 0
Any hint?
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/1 19:30
#26
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@salass00
please help
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/1 20:06
#27
|
Quite a regular 
Joined: 2009/4/28 4:57 Last Login
: Today 11:48
From Adelaide, Australia
Group:
Registered Users
|
@AmigaBlitter
The issue is in the coreutils bundled with the 4.9.1 I gave you.
I tracked it to 2 files, rm and expr in SDK:gcc/bin. Delete them from that directory and it'll use the ones in SDK:local/C
Note that this is going effect no-one but you and me at the moment, since everyone else won't have the compiling environment I sent to you.
It might be best to either delete the coreutils out of SDK:gcc/bin, or copy what's in SDK:local/C into there, so you know you're working with a good set of coreutils.
Edited by MickJT on 2015/9/1 20:29:04 Edited by MickJT on 2015/9/1 20:31:37 Edited by MickJT on 2015/9/1 20:34:03 Edited by MickJT on 2015/9/1 20:35:13
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/1 20:24
#28
|
Just can't stay away 
Joined: 2006/11/30 11:30 Last Login
: Today 14:14
From Finland
Group:
Registered Users
|
@AmigaBlitter I just cross-compiled the latest versions of pixman and cairo libraries just for you. You can find them here: https://dl.dropboxusercontent.com/u/26599983/libcairo-lite.7zThese are just static libraries and all of the extra features that can be disabled during configure are which is why I'm calling the archive libcairo-lite.
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/1 20:33
#29
|
Quite a regular 
Joined: 2009/4/28 4:57 Last Login
: Today 11:48
From Adelaide, Australia
Group:
Registered Users
|
@salass00
I had sent him a native build of gcc 4.9.1 bundled with binutils 2.23.2 and whatever coreutils was available in the adtools trunk. Looks like the coreutils that were built as part of that (specifically rm & expr) had issues, for whatever reason.
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/2 18:08
#30
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
Trying to use the old gcc with the new sdk:
i get this configure message:
config.status: executing depfiles commands SDK:Local/C/sed: can't read cairo-uninstalled.pc:src/cairo-uninstalled.pc.in: No such file or directory
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/2 18:13
#31
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@salass00
Thank you for compiling the lastest version of cairo and pixam.
I will test.
Btw, i want to use the native gcc 4.9.1, since i'm trying to get the maximum optimization. Moreover, digging into errors help me to learn.
As you can see i have an error using the lastest sdk and old gcc (4.2.4).
config.status: executing depfiles commands SDK:Local/C/sed: can't read cairo-uninstalled.pc:src/cairo-uninstalled.pc.in: No such file or directory
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/2 19:30
#32
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@MickJT
i removed rm and expr as you suggested and configure continue till this point: configure: creating ./config.status config.status: creating pixman-1.pc SDK:Local/C/nawk: syntax error at source line 180 source file ./conf1423206784-15503/subs.awk context is line = $ >>> <<< nfields = split(line, field, "@") SDK:Local/C/nawk: illegal statement at source line 181 source file ./conf1423206784-15503/subs.awk
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/2 19:40
#33
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
removed nawk, but still error as follow:
SDK:Local/C/awk: syntax error at source line 180 source file ./conf1423206400-15503/subs.awk context is line = $ >>> <<< nfields = split(line, field, "@") SDK:Local/C/awk: illegal statement at source line 181 source file ./conf1423206400-15503/subs.awk
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/2 21:48
#34
|
Quite a regular 
Joined: 2009/4/28 4:57 Last Login
: Today 11:48
From Adelaide, Australia
Group:
Registered Users
|
I don't have time right at this moment to see if it's anything to do with the 4.9.1 I sent you. I'd just suggest copying everything in SDK:local/C into SDK:gcc/bin, or going 1 by 1 through SDK:gcc/bin deleting everything that already exists in SDK:local/C (don't delete anything in local/C).
Assuming the earlier (53.24) SDK works fine when unmodified, then if you merge in the newer gcc and do the above steps but it still doesn't work, then I'm out of ideas.
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/5 21:19
#35
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@salass00
Hello,
just noticed that the cairo.h doesn't have the amiga os surface. Maybe i'm wrong.
i Still having the error "cairo was not compiled for amiga os surface" if i point to /SDL/local/newlib/include/cairo. oreover, using the flags -lpng12 -lz i get: Id: cannot find -lz
If i point to /SDL/local/common/include/cairo seems that i have the amiga os surface for cairo.
Edited by AmigaBlitter on 2015/9/5 21:36:12
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/5 23:16
#36
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
The creation of the Cairo Amiga surface fails: this is the config.log http://1drv.ms/1JIcCQD
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/6 19:40
#37
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@AmigaBlitter 
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/7 6:05
#38
|
Just can't stay away 
Joined: 2006/11/30 11:30 Last Login
: Today 14:14
From Finland
Group:
Registered Users
|
@AmigaBlitter
As I said before the code for AmigaOS surfaces is not in the official cairo sources, nor is it available anywhere else as far as I am aware.
So in order to make a more up to date cairo with AmigaOS surfaces I would have to rewrite this code from scratch...
|
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/7 6:11
#39
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
Yes, i know.
The closest source that may be similar to AmigaOS is the cairo-beos-surface.cpp.
I noticed, btw, that not all cairo operators seems mapped.
Of course could be possible to examine the xlib or win32 implementation to see how the cairo-device and the cairo backend is implemeted.
|
Retired
|
|
|
Re: Help me in compiling latest pixman and cairo graphics
|
Posted on: 2015/9/9 22:28
#40
|
Quite a regular 
Joined: 2006/11/22 17:57 Last Login
: 2021/3/5 11:21
From Italy, Rome
Group:
Registered Users
|
@salass00
Could you please provide the files in order to try to update those files?
Thank you
|
Retired
|
|
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)
|
|
|