home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Compiling

by C_olin on 03/11/2004 00:47, 101 messages, last message: 04/04/2006 20:25, 58377 views, last view: 09/29/2024 08:27

I'm no noob to VC++ 6.0... but I have not gotten Cube to compile correctly!

I put all of the includes and libs where they are supposed to be in the vc++ folder.

And added the right linking stuff... but I still get unresolved externals.

And why doesn't it include a VC++ workspace?

Does anyone have project/workspace project files they are wiling to send to me?

This would help out me, and a lot of other poeple... thanks!

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#31: still can't

by ChesterHQ on 04/10/2004 00:27

i still can't compile it..
im on xp.. i have mingw

can you tell me step by step how to do it..

Special thanks

reply to this message

#32: Re: still can't

by pushplay on 04/10/2004 02:08, refers to #31

No. Be more specific.

reply to this message

#33: Re: still can't

by Thalion on 04/10/2004 08:54, refers to #31

Are you trying to compile the original source or the mingw-friendly version (which you can get from pushplay's website)?

reply to this message

#34: ..

by ChesterHQ on 04/10/2004 10:53

when i do mingw32-make in a shall i get this:

mingw32-make is not reconised as a intern or extern ...(i can't translate), programme or batch file"

i translated it from dutch to english..

http://chesterhq.quarin.net/mingq.jpg

if you wanna see what i did (the source.gcc is in the folder where the mingw32-make is)

reply to this message

#35: ..

by ChesterHQ on 04/10/2004 10:54

http://chesterhq.quarin.net/mingw.jpg

reply to this message

#36: ..

by ChesterHQ on 04/10/2004 10:58

oh wait i just set the path still doesnt work look http://chesterhq.quarin.net/mingw2.jpg

reply to this message

#37: Re: ..

by pushplay on 04/10/2004 20:08, refers to #36

No problemo. Once the path is set you run mingw32-make from the src dir. It will know to look for Makefile in the current dir.

reply to this message

#38: ..

by ChesterHQ on 04/11/2004 23:28

ok that worked now i got this..

http://chesterhq.quarin.net/err2.jpg

it just has to work.. tell me what did i do now?

reply to this message

#39: Re: ..

by pushplay on 04/12/2004 00:24, refers to #38

I bet ../../bin doesn't exist. It wants to make the exe in E:\MinGW\bin\bin.

reply to this message

#40: ..

by ChesterHQ on 04/12/2004 01:08

yes!it works.. thank you so much!

reply to this message

#41: Re: ..

by Thalion on 04/12/2004 05:05, refers to #38

You're supposed to unpack the archive file with source code into the Cube directory and build it from there!

reply to this message

#42: ..

by ChesterHQ on 04/12/2004 11:38

well.. it works like this aswell, i just copy the exe to the bin dir everytime i compile

reply to this message

#43: VC++

by pushplay on 04/19/2004 05:49

Just released for free is a new set of compile tools for Windows:
http://msdn.microsoft.com/visualc/vctoolkit2003/
I haven't tried it yet myself but I intend to.

reply to this message

#44: ..

by >driAn<. on 04/26/2004 19:59

Hi,
i tryed to compile cube under linux:
it works fine (except some warnings).
But when I try to run it, it gives me following error:
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

But the original binaries are working fine! After that, i got the newest sdl libraries, but that doesnt help..

I read this message means that the program tries to read/write in a 'not allowed' memory :/

What can i do? May there be a problem with a pointer?

thx

reply to this message

#45: Re: ..

by pushplay on 04/26/2004 20:46, refers to #44

Are you sure you're running it from the right location? ie: cube/bin?

reply to this message

#46: ..

by >driAn<. on 04/26/2004 20:54

i run it like the original binarie...
cd in the cube directory then
./bin_unix/cube_client

here the shell output:

drian@linux:~/stuff/cube> ./bin_unix/cube_client
init: sdl
init: net
init: world
game mode is ffa/default
init: video: sdl
init: video: mode
init: video: misc
init: gl
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
drian@linux:~/stuff/cube>

reply to this message

#47: ..

by >driAn<. on 04/26/2004 21:41

i put the make-output (cause of the warnings) and the compiled binarie in a zip file:
http://kiney.homelinux.org/sambaweb/ftp/drian/error.zip

please check if it runs on your pc..
thx

reply to this message

#48: Re: ..

by D.plomat on 04/27/2004 10:11, refers to #47

Those warnings are harmless, i also have them on my system.
You should also try
killall esd ; killall artsd
before starting Cube

reply to this message

#49: ..

by >driAn<. on 04/27/2004 11:30

It also doesnt work with the killall commands...

D.plomat: Runs my compiled cube on your machine?

reply to this message

#50: ..

by >driAn<. on 04/27/2004 12:00

In the main.cpp i added SDL_INIT_NOPARACHUTE
to the SDL_Init() function and compiled it again.
It ignores now this error. I started cube but then it crashes fully cause of an 'memory write error' or however you call that in english...

reply to this message

Go to first 20 messagesGo to previous 20 messages    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
56768274 visitors requested 74680933 pages
page created in 0.044 seconds using 10 queries
hosted by Boost Digital