Results 1 to 4 of 4

Thread: GDI not found

  1. #1

    Default GDI not found

    In fact, I'm also trying to execute DisplayTarget example and an error occurs:
    fatal error C1083: Cannot open include file: 'ClanLib/gdi.h': No such file or directory e:\dev\projects\visual studio 2008\displaytarget\displaytarget\target.cpp

    In fact, in include folder from External-VC9Precompiled-static-mt-Win32.zip file that "gdi.h" file doesn't exist.

    I'm using Visual Studio 2008 SP1.

    Thanks.

  2. #2

    Default

    I'm trying to build Basic2D project.

    - USE_OPENGL_2 set: perfect!

    - USE_OPENGL_1 set: a linker error occurs:
    Error 23 fatal error LNK1104: cannot open file 'clanGL1-static-mt-uc-debug.lib'

    I've checked that clanGL1-static-mt-uc-debug-lib doesn't exist in lib/win32 folder of ClanLib-VC9Precompiled-static-mt-Win32-2.2.2.zip file.

    - USE_SOFTWARE set: the same error above:

    Error 10 fatal error C1083: Cannot open include file: 'ClanLib/gdi.h': No such file or directory.

    - USE_SDL set: similar error:

    Error 1 fatal error C1083: Cannot open include file: 'ClanLib/sdl.h': No such file or directory


    I'm sure I'm doing something wrong but I have no idea what.

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

    Default

    GDI target was renamed in ClanLib 2.2.0 (July 2010) to SWRender target
    SDL target removed in ClanLib 2.1.0 (Oct 2009)

    It seems that you are using the ClanLib 2.1.x examples.

    Download the source package at http://clanlib.org/wiki/Download ,it contains the updated examples.

  4. #4

    Default

    Yes!! That's just what happened! I was using older examples.

    Thanks! Now it works like a charm!

Similar Threads

  1. Bug found!
    By Hugna in forum Funeral Quest
    Replies: 0
    Last Post: 08-04-2005, 06:31 AM
  2. have i found every potion?
    By in forum Dink Smallwood HD
    Replies: 2
    Last Post: 08-13-2004, 01:31 AM
  3. Major bug found!
    By Professor S in forum Other RTsoft Games
    Replies: 1
    Last Post: 11-01-2002, 10:43 PM
  4. OOO, Found a bug!
    By mrbrown in forum Other RTsoft Games
    Replies: 1
    Last Post: 10-10-2002, 11:58 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
  •