Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » JpgAlleg and make

This thread is locked; no one can reply to it. rss feed Print
JpgAlleg and make
fortikur
Member #1,669
December 2000
avatar

I installed Jpgalleg 2.4 on my machine accordng to the directions of the readme.txt file. Everything worked well:
- fix mingw32
- make
- make STATICLINK=1
- make install
- setting env. variables

But after "make plugin" i got the following:

C:\Dev-Cpp\jpgalleg>make plugin
1 fájl másolása történt meg.
1 fájl másolása történt meg.
1 fájl másolása történt meg.
1 fájl másolása történt meg.
1 fájl másolása történt meg.
make depend -C c:\dev-cpp\allegro
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 4: Command syntax error
*** 1 errors during make ***
make2: *** [plugin] Error 1

I can use the jpg format in my code, but the grabber doesn't allow me to use them. What did I wrong?

I can't wait writing games for cell phones using Allegro.
[url http://www.kokany.ini.hu]

Elias
Member #358
May 2000

try the mingw32 make instead of the borland make

--
"Either help out or stop whining" - Evert

fortikur
Member #1,669
December 2000
avatar

Strange...
I found the mingw32-make.exe file in the mingw directory. I copied it to the dev-cpp\jpgalleg dir. Ran it and got:

.
.
.
make depend -C c:\Dev-Cpp\allegro
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error makefile 4: Command syntax error
*** 1 errors during make ***
mingw32-make: *** [plugin] Error 1

Borland make???

The strange thing is, that i already installed and used jpg files a year ago and used only the Borland make... So, things should work fine, but this.... I don't understand.

I can't wait writing games for cell phones using Allegro.
[url http://www.kokany.ini.hu]

CGamesPlay
Member #2,559
July 2002
avatar

Rename mingw32-make to make.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

fortikur
Member #1,669
December 2000
avatar

Renamed MinGw-make. Now it uses this version and not the Borland one. Everything is OK - a least almost...
It's still the 'make plugin' line that doesn't work. I tried both the mingw and the Borland make, but no use. What I got is:

C:\jpg>make plugin
1 fájl másolása történt meg.
1 fájl másolása történt meg.
1 fájl másolása történt meg.
1 fájl másolása történt meg.
1 fájl másolása történt meg.
make depend -C c:\Dev-Cpp\allegro
make[1]: Entering directory `c:/Dev-Cpp/allegro'
gcc -MM -MG -I. -I./include -DSCAN_DEPEND -DALLEGRO_MINGW32 src/*.c src/c/*.c sr
c/i386/*.c src/misc/*.c src/win/*.c demo/*.c examples/*.c setup/*.c tests/*.c te
sts/win/*.c tools/*.c tools/win/*.c tools/plugins/*.c > _depend.tmp
gcc -MM -MG -I. -I./include -DSCAN_DEPEND -DALLEGRO_MINGW32 -x assembler-with-cp
p src/c/*.s src/i386/*.s src/misc/*.s src/win/*.s >> _depend.tmp
sed -e "s/^[a-zA-Z0-9_/]*///" _depend.tmp > _depend2.tmp
A megadott nevet (sed) a rendszer nem ismeri fel
belső vagy külső parancsként, futtatható programként vagy kötegfájlként.
make[1]: *** [depend] Error 1
make[1]: Leaving directory `c:/Dev-Cpp/allegro'
make: *** [plugin] Error 2

C:\jpg>

The line beginning with "A megadott nevet " means: the system cannot recognize the name (sed) as a internal, or external command, a runnable program or batch file.
I hope you recognize the error message, though I just tried to translate it and don't know the exact English message.

What can I do now??? I'm clueless....

I can't wait writing games for cell phones using Allegro.
[url http://www.kokany.ini.hu]

CGamesPlay
Member #2,559
July 2002
avatar

There must be something in the documetnation abotu UNIX_TOOLS, because jpgalleg is trying to use the program `sed`, which it shouldn't be.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

fortikur
Member #1,669
December 2000
avatar

I'm using Win Xp and never heard of this 'sed' stuff. If it is somehow connected to Unix, something must be very wrong here...

I've been trying to compile it since yesterday, but no use.

OK. I found a topic, where Spellcaster gave someone a link to the grabber.exe with Jpg support. I downloaded it and it works. Almost 2 days wasted... but i got it.

Anyway, thanks to everyone who tried to help.

I can't wait writing games for cell phones using Allegro.
[url http://www.kokany.ini.hu]

Go to: