Pages: « 1 2 3 4 5 »
  Print  
Author Topic: First R4 game, VERSION 2, despite everything being unimplemented  (Read 15011 times)
Offline (Unknown gender) The 11th plague of Egypt
Reply #30 Posted on: April 21, 2010, 12:15:04 PM
Member
Joined: Dec 2009
Posts: 276

View Profile
Ok, my C::B can now compile simple c++ files. How can I help?
Logged
Offline (Female) IsmAvatar
Reply #31 Posted on: April 21, 2010, 12:21:00 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
Well yeah, that'd be great, if I knew what arguments to call g++ with to compile an enigma game...
...it's the same for MinGW and the native Linux GCC?
That'd also be great, if I knew the arguments for any of those. I follow the instructions that Josh provides in "Things that are broke" (http://enigma-dev.org/forums/index.php?topic=486.0). Basically, open the .cbp file and click "Compile" in C::B.

Quote
Ok, my C::B can now compile simple c++ files. How can I help?
That's up to you. If you want, you can open my gm6 file with LGM and compile it into an exe so that windows users can play my game.
Logged
Offline (Unknown gender) The 11th plague of Egypt
Reply #32 Posted on: April 21, 2010, 12:29:02 PM
Member
Joined: Dec 2009
Posts: 276

View Profile
I've just tried to compile Enigma. I get this error. Should I modify something before compiling?
Also, the file libzlib.a is already present in the source, should I overwrite it?

"compileEGMf - Release" uses an invalid compiler. Skipping...
Nothing to be done.
Logged
Offline (Male) nbeerbower
Reply #33 Posted on: April 21, 2010, 02:26:11 PM

Member
Location: Pennsylvania
Joined: Jun 2008
Posts: 34

View Profile Email
I've just tried to compile Enigma. I get this error. Should I modify something before compiling?
Also, the file libzlib.a is already present in the source, should I overwrite it?

"compileEGMf - Release" uses an invalid compiler. Skipping...
Nothing to be done.

Sure you have the MinGW compiler?
Logged
Offline (Unknown gender) The 11th plague of Egypt
Reply #34 Posted on: April 21, 2010, 02:31:16 PM
Member
Joined: Dec 2009
Posts: 276

View Profile
No, I have the Cygwin GCC compiler. It works for the hello world program, and for my code.
Logged
Offline (Male) Rusky
Reply #35 Posted on: April 21, 2010, 02:37:18 PM

Resident Troll
Joined: Feb 2008
Posts: 955
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
The Code::Blocks project is set up to use MinGW. You can either add a new compiler to C::B or get MinGW.
Logged
Offline (Male) RetroX
Reply #36 Posted on: April 21, 2010, 03:23:39 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
No, I have the Cygwin GCC compiler. It works for the hello world program, and for my code.
Don't use Cygwin for this; just install the native Windows C::B.

What was the point of Cygwin, again?  It seems like it's just for people that are afraid to install GNU/Linux because they think that it's TOO HARD.
« Last Edit: April 21, 2010, 03:26:21 PM by RetroX » Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Rusky
Reply #37 Posted on: April 21, 2010, 04:15:47 PM

Resident Troll
Joined: Feb 2008
Posts: 955
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
Cygwin and MinGW are for people who want to use GCC on Windows. Despite your belief that Linux is a panacea for computers, it's not. Other systems have a place, and people who use those systems can use open source compilers if they wish- that's the point of open source, after all.
Logged
Offline (Unknown gender) The 11th plague of Egypt
Reply #38 Posted on: April 21, 2010, 04:22:02 PM
Member
Joined: Dec 2009
Posts: 276

View Profile
@rusky
C::B is set to use the Cygwin G++ compiler and it works for my personal projects.
I don't know why it doesnt' for Enigma. Maybe I'll get MinGW too, but why shouldn't it work now?
Maybe I'm doing something else wrong, and installing MinGW wouldn't help at all.
EDIT: maybe it's because my g++ is v3.4 instead of 4, but v4 don't show when I try updating

@retrox
I've installed the native Windows C::B, but I it still needs a compiler. I have 2 options: Cygwin and MinGW.
Basically they do the same, they bring the ease of linux compiling to windows.

btw cygwin is not something like wine for windows, I'm not trying to run the linux C::B inside windows :pseudo:
« Last Edit: April 21, 2010, 04:29:12 PM by The 11th plague of Egypt » Logged
Offline (Male) RetroX
Reply #39 Posted on: April 21, 2010, 04:35:59 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
btw cygwin is not something like wine for windows, I'm not trying to run the linux C::B inside windows :pseudo:
I know that.

I don't understand why you would use Cygwin when MinGW should work fine.

Cygwin and MinGW are for people who want to use GCC on Windows.
That's MinGW, not Cygwin.  Cygwin aims at having bash, everything supported on Windows.  Even X11.  I don't see the point; it's a waste, imo.

Quote
Despite your belief that Linux is a panacea for computers, it's not. Other systems have a place, and people who use those systems can use open source compilers if they wish- that's the point of open source, after all.
And what is Windows' place?
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) The 11th plague of Egypt
Reply #40 Posted on: April 21, 2010, 04:47:15 PM
Member
Joined: Dec 2009
Posts: 276

View Profile
Hum, so you say that MinGW is lighter than Cygwin. Ok, but I need a command line to see my programs working.
If MinGW provides that too, maybe I'll switch.
Logged
Offline (Male) RetroX
Reply #41 Posted on: April 21, 2010, 04:56:58 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
erm, what made you assume that it didn't?

MinGW is a direct port of the GNU compilers, utilities, etc.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) kkg
Reply #42 Posted on: April 22, 2010, 12:50:21 AM

Member
Location: Australia
Joined: Nov 2009
Posts: 84
MSN Messenger - kamikazigames@gmail.com
View Profile Email
Built in 8 seconds on win-debug, using Windows 7 64Bit | MingW 32bit was used
kkgames.x10.mx/MouseToBall-Win.zip  ~606kb [.zip, 3mb uncompressed]
No errors

EDIT: This is for Windows obviously :P
« Last Edit: April 22, 2010, 12:52:54 AM by kkg » Logged
PC: Core i7-2600 @ 3.8ghz | 4x 4gb G.Skill RipjawZ DDR3-2000 | GTX580 | Win7 x64
Time is the greatest teacher, however it kills every single one of its pupils.
Offline (Unknown gender) freezway
Reply #43 Posted on: April 22, 2010, 12:55:15 AM

Member
Joined: Dec 2009
Posts: 220

View Profile
whenever i use window_set_caption() it  doesn't throw errors.... or do anything....
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Male) Rusky
Reply #44 Posted on: April 22, 2010, 11:17:23 AM

Resident Troll
Joined: Feb 2008
Posts: 955
MSN Messenger - rpjohnst@gmail.com
View Profile WWW Email
C::B is set to use the Cygwin G++ compiler and it works for my personal projects.
I don't know why it doesnt' for Enigma. Maybe I'll get MinGW too, but why shouldn't it work now?
Maybe I'm doing something else wrong, and installing MinGW wouldn't help at all.
EDIT: maybe it's because my g++ is v3.4 instead of 4, but v4 don't show when I try updating
Enigma's code blocks project is set up to use MinGW. All of its targets use the MinGW toolchain. If you duplicate the target you want and switch its compiler it should work.

MinGW programs work on Windows' command line, but there's also MSYS, which is sort-of part of MinGW and gives you a more bash-like shell.

@RetroX: the reason Cygwin aims to support everything is because of how it works. It works by emulating POSIX with a runtime compatibility layer. This means you should be able to recompile POSIX programs on Cygwin. MinGW aims to provide a compatible environment rather than emulating POSIX.
Logged
Pages: « 1 2 3 4 5 »
  Print