Game Development Community

Compile with Bloodshed Dev-C++

by Paul Binder · in Torque Game Engine · 10/20/2003 (5:33 pm) · 15 replies

I cant seem to compile the eng with
Bloodshed Dev-C++
does any one have a walktrhough on Bloodshed Dev-C++ and not Microsoft Visual?
thanks

#1
10/20/2003 (5:38 pm)
Never mind, looked wayy yback in the threads, every one said it crashed..going to try somthing else
#2
10/20/2003 (6:09 pm)
I just had some luck with msys and mingw. Some luck mind you, although it compiled I think there is still some issues I have to sort out. And if you get through it without any problems maybe you could help me out.

Cheers
#3
10/20/2003 (6:14 pm)
Hey I could use some help with MSYS if you dont mind
how did you do it
#4
10/20/2003 (6:16 pm)
How do you do what? MSYS?
Just dl it, install it and run it ;)

I have MYSY, mingw and eclipse installed and can compile torque via eclipse which is ran from MYSYS and uses mingw

The hardest part was getting torque into eclipse, the other parts (MSYS/minGW) were pretty much point-click-install-run

-Ron
#5
10/20/2003 (6:21 pm)
$ make -f mk/configure.mk

Current Configuration: this config is VALID
OS: WIN32
COMPILER: VC6
BUILD: DEBUG
DIR.OBJ: out
I did this, its all good, how do I build it though
#6
10/20/2003 (7:27 pm)
$ MAKE
Compiling lpng/png.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngerror.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pnggccrd.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngget.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngmem.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngpread.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngread.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngrio.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngrtran.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngrutil.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngset.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngtrans.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngvcrd.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngwio.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngwrite.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngwtran.c
MAKE[1]: mwcc: Command not found
Compiling lpng/pngwutil.c
MAKE[1]: mwcc: Command not found
Linking out.CW6.DEBUG/lpng_DEBUG.lib
MAKE[1]: mwld: Command not found
MAKE[1]: *** [out.CW6.DEBUG/lpng_DEBUG.lib] Error 127
MAKE: *** [default] Error 2

that is what I get
#7
10/20/2003 (7:52 pm)
I just kept typing make again after every error until I had an executable...

Probably not the best way to go about it but atleast I'm up and running a little now. Will have to recompile again when I'm a little more proficient

edit: how come you used VC6 as your compiler? Does that work?
#8
10/20/2003 (9:04 pm)
Why not use gcc?

make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=RELEASE

then try building the engine.
#9
10/21/2003 (5:46 am)
I did not have GCC installed correctly
also I had to edit my env. var.
if any one else is stuck doing this, I can show them what I did

thanks to Spock and others on the IRC for the help
#10
10/21/2003 (7:42 am)
That is odd, I installed MSYS and minGW and was able to compile TGE without any mods to minGW/MSYS
#11
10/22/2003 (8:56 am)
Ron, how do you start Eclipse from within MSYS, I got the files imported, and I compiled already using MINGW and MSYS, but I want to get Eclipse set up so I code in it and use it for later builds.

Thanks.
#12
10/22/2003 (9:17 am)
@Shay,

Waiting for feedback from GG before I press forward. I have been emailed a boat load of times sense my recent ISOD regarding eclipse. Everyone is asking when will it be released or when will it be in HEAD. Both of these are dependent on GG's feedback.

-Ron

to start eclipse from within MSYS; just cd to the eclipse dir and run ./eclipse.exe

IE:

RYackett@USARYACKETTB ~
$ cd /c/Program\ Files/eclipse/ 

RYackett@USARYACKETTB /c/Program Files/eclipse
$ ./eclipse.exe
#13
10/22/2003 (10:27 am)
Thanks alot :D

I'll give er a try soon as I get home.
#14
10/22/2003 (5:28 pm)
Hi Ron. I'm curious about your last post, what did you do to the env.var? And what is it? I'm a freshman to programming.

and Ron do you have a thread on how to ise eclipse?
#15
11/06/2003 (11:47 am)
Todd,

I did nothing to env.var never touched it and honestly do not know what it is. As to compiling TGE with mingw under eclipse that is in a holding patern waiting feedback.

-Ron