Results 1 to 2 of 2

Thread: Compiling in Linux fails (contains patch)

  1. #1

    Default Compiling in Linux fails (contains patch)

    I tried compiling the app in Linux. There were several compilation errors. Most of them easily fixed by adding a missing include, but some are less easy, e.g. in clanlibstuff/novashell/source/MovingEntity.h I get the following error:

    ../MovingEntity.h:192:54: error: taking address of temporary [-fpermissive]

    In the patch, I just commented these lines, so don't blindly apply the attached patch as it is. I simply don't know how to fix those errors.

    After all these fixes, the compilation still fails to some BOOST macro issues. Possibly some version mismatch, pretty hard to tell.

    Examples of such error:
    ../../../../SharedLib/luabind/luabind/function.hpp:312:1: error: missing binary operator before token "("
    ../../../../SharedLib/luabind/luabind/function.hpp:336:1: error: missing binary operator before token "("
    ../../../../SharedLib/luabind/luabind/function.hpp:369:1: error: missing binary operator before token "("
    ../../../../SharedLib/luabind/luabind/function.hpp:398:1: error: missing binary operator before token "("
    ../../../../SharedLib/luabind/luabind/function.hpp:406:1: error: missing binary operator before token "("
    ../../../../SharedLib/luabind/luabind/class.hpp:1037:14: error: no matching function for call to ‘raw(boost::arg<1>&)’


    When creating the patch, I also noticed that there are several files in the svn that probably should not be in the svn. Those files are also included in the provided patch file for better or worse.
    Attached Files Attached Files

  2. #2

    Default

    Great job.

Similar Threads

  1. compiling clanLib app on linux - shared objects
    By szaleq in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 10-14-2013, 08:51 PM
  2. Compiling on linux
    By Fasox in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 12-26-2011, 11:04 AM
  3. Problem compiling Examples on GNU/Linux
    By SpartanJ in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 02-25-2009, 05:17 PM
  4. Patch for ClanLib 0.9 svn 368 (Linux compatibility)
    By rombust in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 05-16-2007, 08:02 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •