Jump to content
  • Advertisement
Sign in to follow this  
EternityZA

Setting up an Open source project in Code Blocks

This topic is 2564 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi.

I have no C++ experience apart from reading example c++ code (Im one of those Java people). Theres this open source SNES emulator written in c++ that I want to play around with but im strugling to get the code to run in Code Blocks and I would appreciate some help in setting it up.

Heres a link to the source: http://bsnes.googlecode.com/files/bsnes_v084-source.tar.bz2. Its about 900Kb. It contains all the source and header files, some resource files (textures etc), a Makefile (wich a asume is usefull) and a .BAT file that contains a command to build the project using mingw.

the author also has a compilation guide on his website http://byuu.org/bsnes/compilation-guide. Dont know how helpfull this is since im not trying to build it but the part about directx and opengl headers seem relevant.

I have tried setting it up with no luck so far. If someone here that understands Code Blocks and the c++ build process better would download the source and give me some assistance i would realy appreciate it. Thnx in Advance!

PS. it doesnt need to be done in Code Blocks. Il use any freely available C++ IDE. Code Blocks just happen to be the first thing i clicked on after googling "C++ IDE".

Share this post


Link to post
Share on other sites
Advertisement
I'd recommend doing like it says and installing the latest TDM-GCC. The MinGW-w64 version compile 64-bit by default, but also supports 32-bit. If you want to use Code::Blocks as an IDE you can easily install the IDE-only version and set it up to use Mingw. You'll probably also want to install MSYS which will give you tools like gnu make which are normally required to compile most open source projects.

You don't even really need Code::Blocks. Some people like IDEs I guess, but I think some people think they are necessary simply because their only exposure to programming has been through things like MSVC.

Share this post


Link to post
Share on other sites
I didint :D as i said its just the first thing i found on google. Im not a C++ programmer so i was just looking for an c++ IDE to put this open source project in so i could easily tweak it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!