home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Mingw IDE Compatible Source?

by DennisJm on 03/20/2005 05:05, 35 messages, last message: 03/25/2005 22:54, 5710 views, last view: 05/05/2024 03:48

Is there a source compatible with the mingw IDE? If so, could someone please tell me where...

-Thanks

-Dennis

(Even if it is an older version, I will improve on it anyway)

Go to first 20 messagesGo to previous 20 messages    Board Index   

#16: ok

by DennisJm on 03/21/2005 13:59

ok, I am trying to do it with MinGW straight, how do I do so? Like all the linking, those are my only errors now, because they are not linked without the Devpak...

-Dennis

reply to this message

#17: Re: ok

by sinsky on 03/21/2005 14:24, refers to #16

Dennis, I explained how to do this in reply to your mail. First try to do what I told you, then if you have problems ask here in this topic or preferably mail me again.

reply to this message

#18: Re: ok

by D.plomat on 03/21/2005 16:55, refers to #16

With MinGW it normally builds out of the box :) you just open a MinGW console window, then:

cd "/c/Documents and settings/... .../source.gcc/src
(beware that it's case-sensitive)

Then a simple
make

command will make it, IIRC the default name is my_cube.exe

But it's an interesting idea to get this compile with Dev-cpp, probably more comfortable than switching between an external editor and a shell

reply to this message

#19: Re: ok

by sinsky on 03/21/2005 17:45, refers to #18

Comfortable is exactly what it is :) I remember feeling quite at home while I was looking at all those things, even though I didn't know what they were...

Dev-cpp has stuff a modder will definitely benefit from, like opening a file and going to a line automatically when compiling with an error, doing searches through all project files, etc. I've heard the debugger is weak but I used it once, and although it took me a week to figure out what was going on, it helped a little. I think it's good for starters but you need to move on to visual c if you want to do serious work.

reply to this message

#20: nah..

by DennisJm on 03/21/2005 21:52

nah.. I know how to code stuff, the only problem is, the errors I get from it... Sometimes I know everything is correct and I get the stupid errors, like
'build error no main.cpp' file when that is the one I compiling on.. I just am more of a free kind of guy.. Like the free stuff.. I will see what I can do, editing, attempting to compile in Dev-Cpp, but I am going to use the straight compiler of MinGW see if it works...

-Dennis

reply to this message

#21: RE:nah......

by jean pierre on 03/22/2005 06:48

Ok im interested in knowing how to compile in MinGW if Cube 2004 cant be compiled then i will compile 2003 then but how?

Note:2003 is compiled more then the 2004 version

reply to this message

#22: Re: RE:nah......

by D.plomat on 03/22/2005 10:18, refers to #21

Cube 2004 compiles easily (exactly the same way as the 2003 version) in MinGW as long as
1. You have a correctly working MinGW installation (try to compile some helloworld.c to check)
2. You use the 2004 MinGW source from pushplay site (the link posted a bit above)

reply to this message

#23: Re: ..

by staffy2005 on 03/22/2005 10:43, refers to #14

...and do other bad things to make people think dev-cpp and cube don't go together very well :)

But it comes with a uber dodgy version of mingw....

Btw, isn't mingw 4 coming out or something?

reply to this message

#24: Re: ..

by sinsky on 03/22/2005 11:58, refers to #23

I don't know, haven't checked for newer versions because Cube is the only thing I'm interested in. So I stick with the mingw and msys thing and one old version of dev-cpp (4.9.8.0). It's the only one I have downloaded and doesn't have problems compiling Cube alone. The only problem, if I remember correctly, was that optimization didn't work, but that is easily fixed when you replace the dev-cpp mingw with the one recommended for the mingw port in the readme file distributed with it. Still, it didn't matter for orb because optimization did little difference when I decided to include stuff from quad, I don't know why and I don't care actually. Anyway free compilers tend to lack optimization features, I think the .net is a very good example :) best one

One of the few things I had to care about was that when I reinstalled dev-cpp in a different folder I had to manually reconfigure default include and lib folders, etc. As you can see my configuration is pretty simple, or at least looks that way. It's a shame so many people fail to do that when everything that's harder to do is ready and waiting, and is almost at commercial quality. Of course you have to decide if you want to do it or not.. I guess.

reply to this message

#25: Re: ..

by D.plomat on 03/22/2005 12:16, refers to #24

Interesting... I think i'll try this way. I'm using command-line since a long time and having a setup that works well in all situations so i didn't tried to improve it but if i can even add a nice IDE that's based on my existing setup that's more than perfect :)

reply to this message

#26: Re: ..

by sinsky on 03/22/2005 12:36, refers to #25

Sure go ahead but it's a windows thing (unless there's a port or something). I can only help with windows lore, unfortunately, it'd be nice to have here someone that knows about linux ide-s as well.

reply to this message

#27: I think i know my error.

by jean pierre on 03/22/2005 16:30

Which file do i need to compileexample:Should i compile Cube.h becouse im compiling weapons.cpp or what is the real file that i need to compile cause that what i think im doing wrong compiling the wrong one

So any help?

reply to this message

#28: Re: I think i know my error.

by D.plomat on 03/23/2005 11:58, refers to #27

make

compiles every necessary file. No need to manually compile and link every file.

reply to this message

#29: Re: I think i know my error.

by jean pierre on 03/23/2005 12:44

Do i require visual c++?

And what else should i require?

reply to this message

#30: 1 problem

by DennisJm on 03/25/2005 17:36

ok, now I only have one issue... I cannot play online, old protocol.. How can I edit the source to make the protocol correct? (When hosting & joining...) I have tried the newest "Cube.exe" and made the .BAT file go to it, it registers successfully, but I cannot join it because of the error '(TYPE)'

-Dennis

reply to this message

#31: :)

by InternetNightmare on 03/25/2005 19:04

This problenm is on G++ with linux too.
Just move declaration of 'gp' var up (it's in teh bottom of the file.)

Try to fix the code ;)

reply to this message

#32: Re: 1 problem

by Pxtl on 03/25/2005 21:42, refers to #30

Dennis, because you say .EXE I assume you're on windows. You sure you downloaded the newest version? Because the protocol is tied to the version. Download the latest .tar.gz, not the latest .zip, because the .zip is an old version.

Or, if you want an easier installation for windows, just get the installer version that I made. Its just an installer for the .tar.gz version.

http://cube.snieb.com/node/2

reply to this message

#33: ..

by Rick-Ubuntu on 03/25/2005 22:31

Dennis, when you use your own compiled version, you can't play online with players who use the 'offical' cube(cheat prevention).

reply to this message

#34: No.

by DennisJm on 03/25/2005 22:36

No, I want users to be able to play the current version of my Game Online... Is it possible for me to make a masterserver? (Even if I have to host it?)

-Dennis

reply to this message

#35: ..

by Rick-Ubuntu on 03/25/2005 22:54

Yeah there is a script somewhere on these forums, just search for it. If you wanna test you can use my masterserver, just add this commandline option: -mcubebot.bots-united.com/cube/masterserver.cgi/

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53862560 visitors requested 71637652 pages
page created in 0.010 seconds using 10 queries
hosted by Boost Digital