[C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
[C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
Hello everyone.
I'm having trouble compiling in windows using Code:Blocks 10.05. I tried "Build Workspace" on the Armagetron.workspace. I already did "makedist.bat" to load the "debug" and "dist" folders.
I've uploaded the build log, build messages and the error screen.
Please help.
I'm having trouble compiling in windows using Code:Blocks 10.05. I tried "Build Workspace" on the Armagetron.workspace. I already did "makedist.bat" to load the "debug" and "dist" folders.
I've uploaded the build log, build messages and the error screen.
Please help.
- Attachments
-
- build_messages.txt
- (7.22 KiB) Downloaded 164 times
-
- build_log.txt
- (22.13 KiB) Downloaded 161 times
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
Building sty+ct on windows is a rather complicated undertaking.
infamous has been compiling the latest sty+ct on windows for years, so you might want to wait until he replies to this thread
infamous has been compiling the latest sty+ct on windows for years, so you might want to wait until he replies to this thread
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
- kyle
- Reverse Outside Corner Grinder
- Posts: 1876
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
looks like it just failed to build the client If i'm reading that log correctly.
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
ya but what about that error screen?
What am i supposed to do to it?
I mean... it stopped at SDL...
also, when I run armagetron_dedicated.exe, i keep getting a pop-up window saying "The program can't start because libgcc_s_dm2-1.dll is missing from your computer. Try reinstalling the program to fix this."
What the heck?
What am i supposed to do to it?
I mean... it stopped at SDL...
also, when I run armagetron_dedicated.exe, i keep getting a pop-up window saying "The program can't start because libgcc_s_dm2-1.dll is missing from your computer. Try reinstalling the program to fix this."
What the heck?
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
does anyone know where I can find these files?:
libsdl.a, libSDL_image.a, libSDL_mixer.a because I keep getting this error when trying to compile "Armagetron" client:
-------------- Build: Win32 Release in Armagetron ---------------
Linking executable: ..\dist\armagetronad.exe
mingw32-g++.exe: error: ..\dist\libSDL.a: No such file or directory
mingw32-g++.exe: error: ..\dist\libSDL_image.a: No such file or directory
mingw32-g++.exe: error: ..\dist\libSDL_mixer.a: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I did makedist.bat but it did not make these files. They did not appear even after compiling.
Any ideas please?
libsdl.a, libSDL_image.a, libSDL_mixer.a because I keep getting this error when trying to compile "Armagetron" client:
-------------- Build: Win32 Release in Armagetron ---------------
Linking executable: ..\dist\armagetronad.exe
mingw32-g++.exe: error: ..\dist\libSDL.a: No such file or directory
mingw32-g++.exe: error: ..\dist\libSDL_image.a: No such file or directory
mingw32-g++.exe: error: ..\dist\libSDL_mixer.a: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I did makedist.bat but it did not make these files. They did not appear even after compiling.
Any ideas please?
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
This DLL will be somewhere in the Code::Blocks program folder, I think. The fact that it's asking for this though to me says that the compile options aren't set up right.LOVER$BOY wrote:"The program can't start because libgcc_s_dm2-1.dll is missing from your computer. Try reinstalling the program to fix this."
These are the development equivalents to a dll... their proper name escapes me. If you look in the archive you unpacked the libraries from you may find them there.LOVER$BOY wrote:libsdl.a, libSDL_image.a, libSDL_mixer.a
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
Actually I misspelled it. It's supposed to be libgcc_s_dw2-1.dll. No Tank. I couldn't find that file within the CodeBlocks. I had to download it manually and insert it to the location of the dist and debug. However, I was under the impression that this wasn't supposed to happen.Tank Program wrote:This DLL will be somewhere in the Code::Blocks program folder, I think. The fact that it's asking for this though to me says that the compile options aren't set up right.LOVER$BOY wrote:"The program can't start because libgcc_s_dm2-1.dll is missing from your computer. Try reinstalling the program to fix this."
I have no idea how to setup these compiling things. I checked the paths and so far they are all set to their respective places.
I don't quite understand what you mean Tank.Tank Program wrote:These are the development equivalents to a dll... their proper name escapes me. If you look in the archive you unpacked the libraries from you may find them there.LOVER$BOY wrote:libsdl.a, libSDL_image.a, libSDL_mixer.a
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
They're called static(ally-linked) libraries. Can't help beyond that, though.Tank Program wrote:These are the development equivalents to a dll... their proper name escapes me. If you look in the archive you unpacked the libraries from you may find them there.LOVER$BOY wrote:libsdl.a, libSDL_image.a, libSDL_mixer.a
ˌɑrməˈɡɛˌtrɑn
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
The problem with the libraries is that 0.2.8 and sty are not prepared to be compiled with code::blocks 10.05. They're for 1.0_rc2. IIRC, it's easy to solve, though: build the whole workspace and look for files called libsdl.dll.a etc, just remove the .dll part.
Can't help with the missing linker symbols, I don't get those.
Can't help with the missing linker symbols, I don't get those.
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
oh well.
Thanks anyway Z-Man
I'll try that out.
Thanks anyway Z-Man
I'll try that out.
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
Ah Z-Man, I tried to build the whole workspace but I got an error when it was compiling the dedicated (I was trying to compile sty+ct)
I've attached it.
I've attached it.
- Attachments
-
- build_log.txt
- (7.38 KiB) Downloaded 228 times
- kyle
- Reverse Outside Corner Grinder
- Posts: 1876
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
that must be because the makefile or w/e code::Blocks uses does not include the gSvgOutput.c/h in it, a small hack that results in server lagging when activated in sty+ct only, but does produce a nice image of what it going on in the server.
- kyle
- Reverse Outside Corner Grinder
- Posts: 1876
- Joined: Thu Jun 08, 2006 3:33 pm
- Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
- Contact:
Re: [C++] 0.2.8+sty+ct Compiling with Code:Blocks troubles
I don't know code::blocks, but someplace i would assume you need to tell it that gCycle.cpp, gExplosion.cpp gGame.cpp and gWinZone.cpp are all dependent on gSvgOutput.cpp