How to install ORX on code::blocks

edited March 2012 in Help request
Hi there!

I'm knew to ORX and can't seem to find any install tutorials. I was hoping that somebody here could help me find one for installing it on Code::Blocks?

Anybody got some help? :)

Comments

  • edited March 2012
    Hi ChaoticCactus and welcome here!

    I'm afraid I haven't used C::B for eons but setting it up to use orx shouldn't be too hard.

    Using orx is similar as using any other C/C++ library actually.

    You didn't say which version you were planning on using nor for which target platform, btw, that could help us for the details. :)

    But globally, there are 3 parts you should care about:
    - the include (aka header) files, from the include folder
    your code should include "orx.h" and update the include path so that it points to the folder that contains that file
    - the link libraries (from the /lib folder), used to link orx with your code
    - the runtime libraries, used by your executable at runtime (unless you don't use a dynamic library configuration)

    There are 3 end configurations for the library: debug, profile and release. You'll find more about that in the README file, I believe.

    You can also have a look at Grey's tutorial on how to setup CodeLite as it should be pretty similar for C::B as far as I remember.

    Let us know if you have any other questions! :)
  • edited March 2012
    I plan on using the current version of ORX (if that's what you meant) and my target platform would be PC (running Windows).

    Thanks!

    EDIT: I also noticed that Grey's Tutorial is for Linux, will it work for Windows 7 as well? Or does he have a separate tutorial for that?

    EDIT EDIT: Also, which download is appropriate?
  • edited March 2012
    Hi again!

    The issue is that "current" version means something different for different people. :)

    For me it's the current SVN version and for some it's the latest binary package. I recommend using the SVN version as the latest release package is getting pretty old, unfortunately.

    As for the tutorial, linux or windows is very similar. You can look at Grey's visual studio tutorials if you'd rather, this way the files will be named exactly like the ones you're going to use.

    And for the download, 1.3rc0 is the latest (you need at least the dev package) but I recommend getting the SVN version. I believe Grey also added a tutorial for compiling orx from the SVN (it's pretty straightforward, orx should compile out-of-the-box on any platform).
  • edited March 2012
    Hello ... again! :P

    Well, I couldn't get it set up on CodeLite, so could you please provide me with the link to Grey's tutorial for Visual C++ 2008 Express Edition? I can't seem to find it on Google.
  • edited March 2012
    Heya ChaoticCactus, all my tutorials are here:

    http://orx-project.org/wiki/en/orx/tutorials/community/grey

    Good luck! :)
  • edited March 2012
    And more generally, you can find a bunch of info, including tutorials and config system on the wiki page: http://wiki.orx-project.org :)
  • edited March 2012
    Thank you both so much for the help!
    I really look forward to make games with ORX!

    Thanks again!

    --Cactus
  • edited March 2012
    You're welcome. Looking forward to seeing what kind of game you're going to make! :)
Sign In or Register to comment.