dc compiler in linux
-
- Insane DCEmu
- Posts: 147
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Thu Dec 30, 2004 7:12 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Ok. I did yhis in linux.
I have the sh-elf and arm-elf in the usr/local/dc directory
I put KOS there too. I modified the environ.sh as the tutorial sais, the paths a re correct and i have added the commands that were missing.
I go to KOS dir and then type "source environ.sh"
No meesages appear.
THen i wrtie make, and this is a summary of the errors.
.
.
.
make[2]: Entering directory `/usr/local/dc/kos-1.2.0/utils/vqenc'
cc -O2 -Wall -DINLINE=inline -c -o get_image_jpg.o get_image_jpg.c
get_image_jpg.c:6:21: jpeglib.h: No such file or directory
get_image_jpg.c: In function `get_image_jpg':
get_image_jpg.c:18: error: storage size of 'cinfo' isn't known
get_image_jpg.c:20: error: storage size of 'jerr' isn't known
get_image_jpg.c:23: error: `JSAMPARRAY' undeclared (first use in this function)
get_image_jpg.c:23: error: (Each undeclared identifier is reported only once
get_image_jpg.c:23: error: for each function it appears in.)
.
.
.
get_image_jpg.c:20: warning: unused variable `jerr'
make[2]: *** [get_image_jpg.o] Error 1
make[2]: Leaving directory `/usr/local/dc/kos-1.2.0/utils/vqenc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/dc/kos-1.2.0/utils'
make: *** [build-utils] Error 2
.
.
What could it be?
I have the sh-elf and arm-elf in the usr/local/dc directory
I put KOS there too. I modified the environ.sh as the tutorial sais, the paths a re correct and i have added the commands that were missing.
I go to KOS dir and then type "source environ.sh"
No meesages appear.
THen i wrtie make, and this is a summary of the errors.
.
.
.
make[2]: Entering directory `/usr/local/dc/kos-1.2.0/utils/vqenc'
cc -O2 -Wall -DINLINE=inline -c -o get_image_jpg.o get_image_jpg.c
get_image_jpg.c:6:21: jpeglib.h: No such file or directory
get_image_jpg.c: In function `get_image_jpg':
get_image_jpg.c:18: error: storage size of 'cinfo' isn't known
get_image_jpg.c:20: error: storage size of 'jerr' isn't known
get_image_jpg.c:23: error: `JSAMPARRAY' undeclared (first use in this function)
get_image_jpg.c:23: error: (Each undeclared identifier is reported only once
get_image_jpg.c:23: error: for each function it appears in.)
.
.
.
get_image_jpg.c:20: warning: unused variable `jerr'
make[2]: *** [get_image_jpg.o] Error 1
make[2]: Leaving directory `/usr/local/dc/kos-1.2.0/utils/vqenc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/dc/kos-1.2.0/utils'
make: *** [build-utils] Error 2
.
.
What could it be?
I've downloades those files and uncompressed to /usr/local/dcBlackAura wrote:SH-4 (GCC 3.4.3) - 14MB compressed, 59MB uncompressed
ARM7 (GCC 3.0.4) - 2.5MB compressed, 7.2MB uncompressed
Still needs testing though. It works on my machine (Ubuntu 5.04), but that's no guarantee that it'll work on another machine.
but now I want to install KOS and SDL, how can I do it?
-
- Damn Dirty Ape
- Posts: 5031
- Joined: Thu Nov 07, 2002 11:11 pm
- Location: Saugerties, NY
- Has thanked: 0
- Been thanked: 0
Try this site. It has instructions for downloading and installing everything. SDL will be in KOS_PORTS, which you'll probably need anyway if you're going to be doing much of anything. It's got your OpenGL-type stuff (ie, KGL, which is similar to OpenGL), your MP3 and OggVorbis stuff, some other graphics and sound stuff...
Does anybody can tellme something about this error?
Thanks in advance
Code: Select all
sh-elf-gcc: installation problem, cannot exec `cc1': No such file or directory
make: *** [aliens.o] Error 1
I've downloaded
SH-4 (GCC 3.4.3) - 14MB compressed, 59MB uncompressed
ARM7 (GCC 3.0.4) - 2.5MB compressed, 7.2MB uncompressed
From http://www.dcemulation.org/phpBB/viewto ... 007#710794
And tried a compiled KOS, but I think that the KOS I've used don't work correctly.
Could you tellme how to install KOS?
Thanks in advance.
SH-4 (GCC 3.4.3) - 14MB compressed, 59MB uncompressed
ARM7 (GCC 3.0.4) - 2.5MB compressed, 7.2MB uncompressed
From http://www.dcemulation.org/phpBB/viewto ... 007#710794
And tried a compiled KOS, but I think that the KOS I've used don't work correctly.
Could you tellme how to install KOS?
Thanks in advance.
website: http:///ltk.dciberia.net
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
http://www.dcemulation.org/phpBB/viewtopic.php?t=65237
Read that thread. The first post I made in that thread has instructions for building a complete DC toolchain and KOS. Ignore the bits about the DC toolchain (they aren't needed) and follow the instructions to build KOS.
Read that thread. The first post I made in that thread has instructions for building a complete DC toolchain and KOS. Ignore the bits about the DC toolchain (they aren't needed) and follow the instructions to build KOS.
I've obtained this error trying to compile KOS:
Any ideas?
Code: Select all
kos-c++ -c mem.cc -o mem.o
sh-elf-g++: installation problem, cannot exec `cc1plus': No such file or directory
make[1]: *** [mem.o] Error 1
make[1]: Leaving directory `/usr/local/dc/kos1.3/kos/libk++'
make: *** [all] Error 255
website: http:///ltk.dciberia.net
Opps a problem !!!
SDL/SDL.h it?s ok but mixer and image no, they arent included in KOS?
Code: Select all
gameloop.c:20:27: SDL/SDL_image.h: No such file or directory
gameloop.c:23:27: SDL/SDL_mixer.h: No such file or directory
website: http:///ltk.dciberia.net
-
- Damn Dirty Ape
- Posts: 5031
- Joined: Thu Nov 07, 2002 11:11 pm
- Location: Saugerties, NY
- Has thanked: 0
- Been thanked: 0
No, SDL_image and SDL_mixer aren't included in KOS. They're extra libraries for SDL. I'm sure somebody will correct me if I'm wrong, but I'm pretty sure that neither one requires any extensive changes to compile for DC, other than making a new makefile. I had downloaded them all set up to compile for DC from Bluecrab's old site, but I don't think that's up anymore. You can get the sourcecode for both libraries at http://www.libsdl.org if you want to try to get them working on your own.
I found these http://wave.prohosting.com/imrtec/examples.htm Does anybody can tellme if they are the last Dc Release?
website: http:///ltk.dciberia.net
-
- Damn Dirty Ape
- Posts: 5031
- Joined: Thu Nov 07, 2002 11:11 pm
- Location: Saugerties, NY
- Has thanked: 0
- Been thanked: 0
Those things are quite old. I think they are the last versions of those particular things that Reaper did, if that's what you're asking. You might be better off to try porting some simple SDL-based things on your own. There are plenty of SDL tutorials on the internet, and MetaFox posted a tutorial on porting SDL games In This Topic at DCEmu.co.uk, which should get you off and running. You should be able to find a simple demo or something to start off with if you look around at http://www.libsdl.org for example code or simple games.LTK666 wrote:I found these http://wave.prohosting.com/imrtec/examples.htm Does anybody can tellme if they are the last Dc Release?
thanks for you answer, but I think that I've expresed wrong,
In this page http://sourceforge.net/project/showfile ... e_id=16340 Cryptic Allusion DCDev I can download:
KOS13x-sdl_mixer.tar.gz and KOS13x-sdl_ttf.tar.gz
My question, where can I download KOS13x-sdl_image.tar.gz ?
In this page http://sourceforge.net/project/showfile ... e_id=16340 Cryptic Allusion DCDev I can download:
KOS13x-sdl_mixer.tar.gz and KOS13x-sdl_ttf.tar.gz
My question, where can I download KOS13x-sdl_image.tar.gz ?