Can't compile basic object tutorial(1 error)

edited December 2012 in Help request
I'm trying to compile this
http://orx-project.org/wiki/en/orx/tutorials/object

but i'm getting just one error...

"undefined reference to '_imp__orxSTRING_EMPTY'"

at line
orxInput_Load(orxSTRING_EMPTY);
of Object.c

I really don't know what can cause just this error since I linked
the orx header and set the project as dll.

Someone ever had this problem ?

Comments

  • edited December 2012
    Hi Brielga,

    Which version are you using? If you're using the latest from hg, you'll have to compile orx yourself (select the embedded dynamic versions).

    Then you'll have to update the tutorial folder (we usually only update it before a release, so it gets outdated over time) and replace the whole include folder as well as the .lib/.dll/.exe for your platform.

    If you don't feel like doing these copies, you could start with Grey's tutorials instead: http://orx-project.org/wiki/en/orx/tutorials/community/grey

    The good news is that we should be able to make a new release in a few days as we're working on a buildbot-based automated package generation. It's not completely ready, as you can see here, but it's getting there!

    The packages will contain all the up-to-date bainry files you need.
  • edited December 2012
    I'm probably with an old version because i didn't compile the orx myself, just downloaded the builded from the site. I'll try that today at home and i reply here what happend.
    Thank you for the answer.
  • edited December 2012
    Ah yes, that version is almost 2 years old and deprecated. :)

    In a week or two, we should finally be able to release new packages, till then I recommend using the latest from the hg repository as orx evolves on a regular basis.
Sign In or Register to comment.