Results 1 to 2 of 2

Thread: Patch for ClanLib 2.3.4 MinGW

  1. #1

    Default Patch for ClanLib 2.3.4 MinGW

    I've created a patch for ClanLib 2.3.4. this is designed for MinGW-4.6.2, but in theory, it can be use to compile to as early as MinGW 3.4.5

    Before Starting: Ensure that you have the following libraries:

    WinAPI
    WinSock
    zlib - http://www.zlib.net/
    DirectX
    DInput
    OpenGL
    Freetype - http://www.freetype.org/
    Mikmod - http://mikmod.raphnet.net/
    Ogg - http://xiph.org/ogg/
    Vorbis - http://xiph.org/vorbis/
    PCRE - http://www.pcre.org/

    The following macros in their respective files needs to be set:
    <_mingw.h>
    __MSVCRT_VERSION__ should be >=0x0500

    <Windef.h>
    WINVER should be >= 0x0500
    _WIN32_WINDOWS should be >=0x0500

    <commctrl.h>
    _WIN32_IE should be >=0x0500

    This patch also reconfigures configure.ac to implement C++0x mode with extensions (-std=gnu++0x)

    What this patch does is add #if conditionals to route MinGW to the right places.

    This patch also augments one makefile.am with 2 files needed to successfully build GUI applications using ClanLib

    And I've omitted the makefile.in's

    Attachment 692
    Attached Files Attached Files

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Patch applied to ClanLib 2.3 SVN

    In the future, the same patch will require applying to ClanLib 2.4.

    But at the moment, ClanLib 2.4 clanGL1 and clanSWRender is broken. And I don't expect for it to be released for a couple of years

    Many thanks

Similar Threads

  1. ClanLib-2.2.6 MinGW Compiler Suite Patch
    By B. Marquis in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 01-28-2011, 11:34 PM
  2. Compiling ClanLib MinGW Error
    By FlaPenguin in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 02-20-2009, 08:27 PM
  3. ClanLib on DevC++/mingw, among other problems
    By NiMa in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 11-11-2008, 06:15 AM
  4. Patch to ClanLib-0.9 svn rev 365
    By rombust in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 05-09-2007, 01:08 PM
  5. Patch to ClanLib-0.8 svn rev 364
    By rombust in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 05-06-2007, 01:14 PM

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
  •