Results 1 to 2 of 2

Thread: Help wuth compiling

  1. #1

    Default Help wuth compiling

    Hello, i'm new in the world of game programming. I have learned c++ syntax and i'm using code::blocks as ide. I'm learning game programming from an ebook. It says that i have to download from this page stable version, libjpg, libpng and zlib. i've dowloaded these files:
    -ClanLib-0.8.0.lib
    -jpgsrc.v6b.tar.gz
    -libpng-1.2.22.tar.tar
    -zlib-1.2.3.tar.gz
    I have extracted them and put them in a folder. However the book says i have to compile some source. In code::blocks i have to do 3 steps:
    1. click project --> build options
    2. click the linker tab
    3. click the add button to add the lib file
    I have a problem when i have to choose the lib file. I can't find it.

    Please help...

  2. #2

    Default

    Where did you download the jpeglib, libpng.. etc? From their official sites?

    Also, did you check what were the contents of those archives? If they were just "*.c" "*.h" files, then you need to compile them to produce a "*.lib" + "*.dll" files. If you downloaded them from the clanlib site, they're already precompiled.

Similar Threads

  1. Error in compiling Examples
    By Nikitto46 in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 10-16-2007, 02:07 PM
  2. Compiling problems
    By nerull in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 10-03-2007, 05:36 AM
  3. Help compiling ClanLib
    By Shauni in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 06-28-2007, 12:53 AM
  4. Error in compiling my first program
    By Nikitto46 in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 03-29-2007, 02:42 PM
  5. error compiling 0.9 svn
    By voudras in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 01-11-2007, 06:47 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
  •