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, 5715 views, last view: 05/17/2024 21:05

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)

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: Well

by DennisJm on 03/20/2005 09:41

Well, I know there is a source, just where can I find it? Also, can I use MinGW through Dev-Cpp and make a Dev-Pak?

-Dennis

reply to this message

#2: ..

by staffy2005 on 03/20/2005 11:31

http://www.cursesandepithets.com/cube/cube_2004_05_22_src_mingw.zip
rye.altvox.com/~drugs/cube_2004_05_22_src_mingw.zip

???

reply to this message

#3: NVM forgot..

by DennisJm on 03/20/2005 16:57

Forgot MinGW is already with Dev-Cpp, but can I make the Dev-PaK?

reply to this message

#4: Re: ..

by sinsky on 03/20/2005 21:36, refers to #2

I downloaded the code on the link given by staffy here in this topic, which points to a file on pushplay's site, that contains the Cube mingw port, by thalion, probably, from 22 May 2004...:

http://www.cursesandepithets.com/cube/cube_2004_05_22_src_mingw.zip

extracted the source.gcc folder in cube_2004_05_22 and copied there orb.dev, that's the dev-cpp project file used to make Orb

edited the file with metapad, my favorite text editor, to erase all traces of orb :)

made a few minor adjustments within dev-cpp, and put the result here:

http://www.orbhome.com/cube/dev-cpp.zip

.. and now we all have to suffer

reply to this message

#5: thanks..

by DennisJm on 03/20/2005 21:47

*blinks* wow... Thanks! ;)

-Dennis

reply to this message

#6: but

by DennisJm on 03/20/2005 21:49

but I still get errors.. The same ones ad from when I created the DevPak

Compile Log:

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Owner\Desktop\Engine\source.gcc\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\Engine\source.gcc\Makefile.win" all
g++.exe -c src/client.cpp -o src/client.o -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include" -I"src" -I"include" -Wall -fsigned-char -fomit-frame-pointer

In file included from src/cube.h:3,
from src/client.cpp:3:
src/tools.h: In constructor `vector<T>::vector()':
src/tools.h:154: error: there are no arguments to `gp' that depend on a template parameter, so a declaration of `gp' must be available
src/tools.h:154: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

src/tools.h: In constructor `hashtable<T>::hashtable()':
src/tools.h:229: error: there are no arguments to `gp' that depend on a template parameter, so a declaration of `gp' must be available

make.exe: *** [src/client.o] Error 1

Execution terminated

reply to this message

#7: Re: but

by DennisJm on 03/20/2005 22:22, refers to #6

S'il y a n'importe qui qui a besoin de moi pour traduire la matière au Français, je ferai ainsi si vous pouvez m'aider avec le cube de compilation avec MinGW en Dev-Cpp
-Dennis

reply to this message

#8: Re: but

by sinsky on 03/20/2005 22:24, refers to #6

Can't help you. I'm no coder, ran away as soon as I got it to compile :)

Hope it's not a waste of time but if it's a compiler version issue (that's all I can think of, sorry), try to replace your current one with

http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download

.. or wait for someone more knowledgable to reply

reply to this message

#9: Re: but

by DennisJm on 03/20/2005 22:44, refers to #8

well, it really is in Dev-Cpp, it is the latest version of MinGW, could that be a problem?

-Dennis

reply to this message

#10: ..

by staffy2005 on 03/21/2005 07:16

I don't think Dev-cpp and cube don't go together very well...

reply to this message

#11: Re: ..

by sinsky on 03/21/2005 10:19, refers to #10

Say that again :)

reply to this message

#12: ..

by staffy2005 on 03/21/2005 11:11

take out the "don't". I really should read through my writing before I post...

reply to this message

#13: ..

by staffy2005 on 03/21/2005 11:15

I meant the second don't. sigh

reply to this message

#14: Re: ..

by sinsky on 03/21/2005 11:48, refers to #13

lol :)

I don't think there are no problems as far as mingw is concerned, dev-cpp is just an IDE.. That said, everything gets old - you'll probably have problems with a newer version of visual c as well. These problems are probably no match for a pro, and Cube is not that old after all. But you see there are also those bad guys like me, and they flood the forum, recommend older versions of stuff, and do other bad things to make people think dev-cpp and cube don't go together very well :)

reply to this message

#15: lol

by DennisJm on 03/21/2005 13:40

lol.. hmm.. this is something I keep getting by the rederextras.cpp file and the tools.h file..

Look:

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Owner\Desktop\Dennis\Engine\source.gcc\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\Dennis\Engine\source.gcc\Makefile.win" all
g++.exe -c src/renderextras.cpp -o src/renderextras.o -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include" -I"src" -I"include" -I"include/enet" -Wall -fsigned-char -fomit-frame-pointer

In file included from src/cube.h:3,
from src/renderextras.cpp:3:
src/tools.h: In constructor `vector<T>::vector()':
src/tools.h:154: error: there are no arguments to `gp' that depend on a template parameter, so a declaration of `gp' must be available

src/tools.h:154: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)

src/tools.h: In constructor `hashtable<T>::hashtable()':
src/tools.h:229: error: there are no arguments to `gp' that depend on a template parameter, so a declaration of `gp' must be available

make.exe: *** [src/renderextras.o] Error 1

Execution terminated

reply to this message

#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

   Board Index    Go to next 20 messagesGo to last 20 messages


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


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54037177 visitors requested 71817294 pages
page created in 0.024 seconds using 9 queries
hosted by Boost Digital