Author |
Message |
Falcon*93
Don't Hurt Me

Joined: 19 May 2017
Last Visit: 12 Apr 2018
Topics: 8
Posts: 65

|
Posted: Wed May 24, 2017 7:53 pm
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

 
|
|
OOOOOOOOOOHHHHH YEAAAAAAHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IT WORKED!!!
Thanks for helping AlumiuN!
I did have to switch one of the dll files in my game directory.
For anyone else having trouble
I set all directories to C:\_____
ie
* C:\Codeblocks - CB w MinGW directory (not in program files)
* C:\Wolf4SDL - master (using AlumiuN's Wolf4SDL distro)
* C:\SDL (\lib & \include\sdl) (not in the Codeblocks directory)
Also I had to put SDL.dll into the MinGW Bin (C:\CodeBlocks\MinGW\bin)
As directed in the tutorial at this link
http://www.codewithc.com/how-to-setup-sdl-in-codeblocks/
FYI the file they link to doesn't have what they say it has or what you need.
If I remember anything else I did differently I will post it up.
When I finally wrap my head around this I will make a Dummy Proof Tutorial...
but I'm still a code dummy so that will be awhile lol
Anyhow
I have to work early tomorrow so no more coding tonight, got the base source to build that is enough for tonight.
After I get my stuff ready for work and get ready for bed I am going to have a beer and play the original Wolfenstein 3D on my new Wolf4SDL to celebrate and take out my *compiler error* *build failed* frustrations by shooting up some virtual nazis!
O YA!
Get Some! |
_________________ Falcon 93 Studios
Demo/Level Out - Castle Court
Series/Game Coming - Knights of the SS : BeoWulfenstein
- Episode 1 Armour of Beowulf & Episode 2 The Hrunting Sword -
Collaboration Welcome (:
|
|
 |
Tris
Bring 'em On

Joined: 02 May 2017
Last Visit: 07 Dec 2019
Topics: 7
Posts: 102
Location: Rotterdam

|
Posted: Sat Nov 30, 2019 2:06 am
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
Hey guys,
I've tried compiling the source but Code Blocks keeps giving this message.
I have:
- Installed Code:blocks
- Extracted SDL to it's own folder
- Added all files as per instructions to \CodeBlocks\MinGW\include
- Moved all files to the lib folder
- Added SDL Mixer
etc. etc.
But when I go to Project > Build, it doesn't compile.
What am I doing wrong? |
_________________ Mein leben? DEIN LEBEN!
|
|
 |
Chris
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 09 Dec 2019
Topics: 57
Posts: 2261
Location: Canada

|
Posted: Sat Nov 30, 2019 3:53 am
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
Hello Tris,
The image you posted isn't loading for me. |
|
|
 |
Tris
Bring 'em On

Joined: 02 May 2017
Last Visit: 07 Dec 2019
Topics: 7
Posts: 102
Location: Rotterdam

|
Posted: Sat Nov 30, 2019 6:56 am
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
It should work now  |
_________________ Mein leben? DEIN LEBEN!
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:02 ago.
Topics: 41
Posts: 2637
Location: Christchurch, New Zealand

|
Posted: Sat Nov 30, 2019 2:29 pm
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
That looks like it can't find the SDL libraries to link against; which files did you put into the lib folder, and did you put them into a subdirectory or the main lib directory? |
|
|
 |
Tris
Bring 'em On

Joined: 02 May 2017
Last Visit: 07 Dec 2019
Topics: 7
Posts: 102
Location: Rotterdam

|
Posted: Sun Dec 01, 2019 8:40 am
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
Well, my setup looks like this
Appreciate the help! |
_________________ Mein leben? DEIN LEBEN!
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:02 ago.
Topics: 41
Posts: 2637
Location: Christchurch, New Zealand

|
Posted: Sun Dec 01, 2019 4:12 pm
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
Try grabbing the "VC" development library from the SDL website (the link in the first post) and putting the SDL.lib and SDLmain.lib files from that into your lib directory as well. |
|
|
 |
Tris
Bring 'em On

Joined: 02 May 2017
Last Visit: 07 Dec 2019
Topics: 7
Posts: 102
Location: Rotterdam

|
Posted: Mon Dec 02, 2019 11:03 am
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
I can't seem to find a file called SDL.lib or SDLmain.lib from any of the files presented there... |
_________________ Mein leben? DEIN LEBEN!
|
|
 |
AlumiuN
DieHard Wolfer

Joined: 29 Nov 2007
Last Visit: 1:02 ago.
Topics: 41
Posts: 2637
Location: Christchurch, New Zealand

|
Posted: Mon Dec 02, 2019 1:29 pm
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

  
|
|
Download this, the files are in the "SDL-1.2.15\lib\x86\" folder (you don't want the ones from the x64 folder). |
|
|
 |
Tris
Bring 'em On

Joined: 02 May 2017
Last Visit: 07 Dec 2019
Topics: 7
Posts: 102
Location: Rotterdam

|
Posted: Tue Dec 03, 2019 12:53 pm
Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
[ IP : Logged ]
|

 
|
|
it worked, thanks a lot! |
_________________ Mein leben? DEIN LEBEN!
|
|
 |
|