Results 1 to 3 of 3

Thread: How To Configure IDE VisualC++ 2008 Express to Build ClanLib

  1. #1

    Default How To Configure IDE VisualC++ 2008 Express to Build ClanLib

    The programmer should open the source code files or project files in the IDE VisualC++ 2008 Express and then build the project using the standard compilation options.Upon compilation, this will generate a successful LIB file.

    This file contains information about all the classes and function ClanLib uses.

    In order to compile ClanLib source code, the compiler needs to be linked to other library that are not themselves part of the ClanLib package.

    Now, if all it's right How can I link library such as zlib,libjpeg,libpng ?

    [Project->Proprieties->Linker->input->Additional Dependencies]

    How can i add LIB file in this edit box? my lib are in C:\docume~1\Thule\Desktop\ExternalFiles\file1 file2 file3 ... file 10..


    Without link this file first building create Configure.exe file.
    then when I try to build the project "ClanLib.dsw" I've got Fatal Errors...

    It's very difficult! Most difficult build ClanLib that programming CallOfDuty4.....

    Thanks.

  2. #2

    Default

    Ok, I've compiled all library files...

    I'm creating a new project follow INSTALL.win32 readme file...

    I've setting my IDE with all library:

    -ClanLib\lib
    -ClanLib\include
    -DirectXSDK\lib
    -DirectXSDK\include
    -OtherFile\lib such as zlib, libjpeg, libpng

    I've written sample code and when i build it:

    with VisualC++ 2008 Express:

    LIBCMTD.lib(crt0.obj) : error LNK2019: riferimento al simbolo esterno _main non risolto nella funzione ___tmainCRTStartup
    1>clanDisplay-static-mt-debug.lib(display_window_win32.obj) : error LNK2001: simbolo esterno _CLSID_DirectInput8 non risolto
    1>clanDisplay-static-mt-debug.lib(display_window_win32.obj) : error LNK2001: simbolo esterno _IID_IDirectInput8A non risolto
    1>clanDisplay-static-mt-debug.lib(input_device_directinput.obj) : error LNK2001: simbolo esterno _c_dfDIJoystick2 non risolto
    1>D:\Documents and Settings\Kernel\Desktop\1-Game\VideoGame\Debug\VideoGame.exe : fatal error LNK1120: 4 esterni non risolti


    I dont know what is the problem...

    Can you help me?

    What can i do to build without errors?

    hlp.

  3. #3

    Default

    Please post the errors in english.
    I think your path to DX SDK's libs are incorrect.

Similar Threads

  1. Compile ClanLib 0.8.1 with VisualC++ 6.0 or Code::Block
    By THULE in forum Official ClanLib SDK Forums
    Replies: 9
    Last Post: 08-08-2008, 08:41 AM
  2. Replies: 0
    Last Post: 10-16-2007, 04:44 PM
  3. build clanLib on vc6.0 error
    By silekey in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 07-11-2007, 05:18 AM
  4. Anyone using Microsoft Visual Studio Express with Clanlib?
    By killarkai in forum Official ClanLib SDK Forums
    Replies: 9
    Last Post: 12-24-2006, 03:16 PM
  5. Can't build configure.dsw
    By Angew in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 12-06-2006, 09:43 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
  •