DieHard Wolfers Forum Index DieHard Wolfers
A Wolfenstein 3d Fan Community


  Hosted by: MCS & Areyep.com - Designed by: BrotherTank

Original Yahoo Forum - Die Hard Archives

AReyeP HomepageAreyep Homepage DieHard Wolfenstein BunkerDieHard Wolfenstein Bunker Log inLog in RegisterRegister Banlist FAQFAQ Search ForumsSearch

  Username:    Password:      Remember me       

[Tutorial] Compiling Wolf4SDL with Code::Blocks
Page 4 of 4 Goto page Previous  1, 2, 3, 4
DieHard Wolfers Forum Index -> SDL Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page BottomView Next Topic
Post new topicReply to topic
Author Message
Falcon*93
Don't Hurt Me
Don't Hurt Me


Joined: 19 May 2017
Last Visit: 12 Apr 2018

Topics: 8
Posts: 65

usa.gif

PostPosted: Wed May 24, 2017 7:53 pm
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Next PostGoto Bottom of Posts

OOOOOOOOOOHHHHH YEAAAAAAHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!

IT WORKED!!!

Thanks for helping AlumiuN! Very Happy

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 -
Smile Collaboration Welcome (:
Tris
Bring 'em On
Bring 'em On


Joined: 02 May 2017
Last Visit: 07 Dec 2019

Topics: 7
Posts: 102
Location: Rotterdam
netherlands.gif

PostPosted: Sat Nov 30, 2019 2:06 am
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

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
DieHard Wolfer


Joined: 11 Mar 2003
Last Visit: 09 Dec 2019

Topics: 57
Posts: 2261
Location: Canada
blank.gif

PostPosted: Sat Nov 30, 2019 3:53 am
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Hello Tris,

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


Joined: 02 May 2017
Last Visit: 07 Dec 2019

Topics: 7
Posts: 102
Location: Rotterdam
netherlands.gif

PostPosted: Sat Nov 30, 2019 6:56 am
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

It should work now Smile

_________________
Mein leben? DEIN LEBEN!
AlumiuN
DieHard Wolfer
DieHard Wolfer


Joined: 29 Nov 2007
Last Visit: 1:40 ago.

Topics: 41
Posts: 2637
Location: Christchurch, New Zealand
newzealand.gif

PostPosted: Sat Nov 30, 2019 2:29 pm
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

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
Bring 'em On


Joined: 02 May 2017
Last Visit: 07 Dec 2019

Topics: 7
Posts: 102
Location: Rotterdam
netherlands.gif

PostPosted: Sun Dec 01, 2019 8:40 am
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

Well, my setup looks like this Smile








Appreciate the help!

_________________
Mein leben? DEIN LEBEN!
AlumiuN
DieHard Wolfer
DieHard Wolfer


Joined: 29 Nov 2007
Last Visit: 1:40 ago.

Topics: 41
Posts: 2637
Location: Christchurch, New Zealand
newzealand.gif

PostPosted: Sun Dec 01, 2019 4:12 pm
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

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
Bring 'em On


Joined: 02 May 2017
Last Visit: 07 Dec 2019

Topics: 7
Posts: 102
Location: Rotterdam
netherlands.gif

PostPosted: Mon Dec 02, 2019 11:03 am
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

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
DieHard Wolfer


Joined: 29 Nov 2007
Last Visit: 1:40 ago.

Topics: 41
Posts: 2637
Location: Christchurch, New Zealand
newzealand.gif

PostPosted: Mon Dec 02, 2019 1:29 pm
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Next PostGoto Bottom of Posts

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
Bring 'em On


Joined: 02 May 2017
Last Visit: 07 Dec 2019

Topics: 7
Posts: 102
Location: Rotterdam
netherlands.gif

PostPosted: Tue Dec 03, 2019 12:53 pm
   Subject: Re: [Tutorial] Compiling Wolf4SDL with Code::Blocks
   [ IP : Logged ]
Reply with quote
Goto Top of PostsGoto Previous PostGoto Bottom of Posts

it worked, thanks a lot!

_________________
Mein leben? DEIN LEBEN!
Display posts from previous:   
Post new topicReply to topic Time synchronized with the forum server time
DieHard Wolfers Forum Index -> SDL Code Crackers View Previous TopicRefresh this PageAdd Topic to your Browser FavoritesSearch ForumsPrint this TopicE-mail TopicGoto Page TopView Next Topic
Page 4 of 4 Goto page Previous  1, 2, 3, 4
Jump to:  

Related topics
 Topics   Replies   Views   Last Post 
No new posts Announcement: Wolf4SDL released
Author: Ripper
525 273578 Mon Oct 07, 2019 10:53 pm
Zombie_Plan View latest post
No new posts [help] Adding teleporters in wolf4sdl
Author: Mortimer
35 15777 Fri May 26, 2017 8:19 am
Military View latest post
No new posts [WOLF4SDL Help] Blake Stone Style doors
Author: Haasboy
3 3845 Sun Jul 20, 2008 7:56 am
Haasboy View latest post
No new posts [help] Wolf4sdl's implemented tutorials
Author: Mortimer
6 4418 Tue May 06, 2008 1:15 pm
Ripper View latest post
No new posts [SDL] Apply 2nd ScaleFactor to selected (hi-res) vga gfx
Author: Andy_Nonymous
9 6059 Sun Apr 27, 2008 2:30 am
AlumiuN View latest post
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
   You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright ©2003-2008 DieHard Wolfers
A Modified subBunker Theme by BrotherTank
Powered by phpBB © 2001, 2005 phpBB Group