Jump to content


Photo

Code::blocks Setup For Pandora


  • Please log in to reply
5 replies to this topic

#1 RomanH

RomanH

    GP32 User

  • Members
  • PipPipPip
  • 50 posts

Posted 23 November 2008 - 09:22 AM

Hi

In the past I've done all my programming using Dev-C++. Since the project seems to be dead for quite a number of years now I've decided to switch to Code::Blocks. Much to my surprise, it was literally a matter of a couple if minutes to get my projects to compile under Code::Blocks. (I use SDL, SDL_mixer and SDL_image.)

Now here's my question:
I would like to be ready to compile for the Pandora the day I have the console in my house. Are there any tutorials available already on how to set up Code::Blocks (Windows version) for the Pandora? I couldn't find anything in the Pandora Wiki.

Thanks

RomanH

#2 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 23 November 2008 - 02:29 PM

1. Get the toolchain from code sourcery and install it
2. Create a new compilier in C::B
3. Point it to the new executables (i.e gcc.exe)


#3 RomanH

RomanH

    GP32 User

  • Members
  • PipPipPip
  • 50 posts

Posted 23 November 2008 - 05:16 PM

Thanks for the tip.

but just to make sure (please forgive my noobnes...)

I download a package like this: link (IA32 Windows Installer)

for SDL, SDL_mixer, SDL_image I guess I will just have to wait for them to be ported to the Pandora, right?

Thanks!

#4 Nat

Nat

    Member

  • Members
  • PipPip
  • 16 posts

Posted 23 November 2008 - 11:23 PM

QUOTE(RomanH @ Nov 23 2008, 01:16 PM) View Post

for SDL, SDL_mixer, SDL_image I guess I will just have to wait for them to be ported to the Pandora, right?


I think SDL and SDL_* have already been ported, but not really released to the outside world.


#5 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 24 November 2008 - 03:44 AM

QUOTE(Nat @ Nov 23 2008, 06:23 PM) View Post
QUOTE(RomanH @ Nov 23 2008, 01:16 PM) View Post

for SDL, SDL_mixer, SDL_image I guess I will just have to wait for them to be ported to the Pandora, right?


I think SDL and SDL_* have already been ported, but not really released to the outside world.


Notaz has a working SDL lib using the frame buffer, meaning its not hw accelerated. Hopefully an fully accelerated version is ready when pandora ships


#6 Kosmos

Kosmos

    Member

  • Members
  • PipPip
  • 2 posts

Posted 20 April 2012 - 04:24 PM

Thanks for the tip.

but just to make sure (please forgive my noobnes...)

I download a package like this: <a href="http://www.codesourc...tal/release570" target="_blank">link</a> (IA32 Windows Installer)

for SDL, SDL_mixer, SDL_image I guess I will just have to wait for them to be ported to the Pandora, right?

Thanks!


I would like too know how this went as I would like to do the same. I assume that you are compiling pnds for the Pandora ON a Winndows installed CodeBlocks?