Results 1 to 2 of 2

Thread: Can compile a release version but can't compile a debug version

  1. #1

    Default Can compile a release version but can't compile a debug version

    Hello, im a novice ..
    I just downloaded clanlib and i followed the guide to install it..
    the version i downloaded is 3.00..i didn't download the precompiled clanlib and i just downloaded the source code and i configured it and i succussfully conpiled the clanlib..
    and then i wanted to try a helloworld..
    However..when the solution configuration is debug mode, i got the following errors:
    1>LINK : fatal error LNK1104: cannot open file 'clanApp-static-mt-debug.lib'
    But when i was using the release mode, i compiled it successfully, which means i have set the global include correctly, otherwise the release mode wouldn't have been successfully compiled.
    Then i checked the global setting, In the lib\win32 folder, there is really a 'clanApp-static-mt-debug.lib' existing.. i doubt why the debug mode can't be compiled....Help?

    - - - Updated - - -

    Im a chinese, not a native english speaker...so excuse me for my misspelling and grammar mistakes...i am trying to improve my english though...

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    Don't worry about your English, it seems fine.

    It sounds like maybe your project in Visual Studio has the library search path correctly configured for release builds, but not for debug. Try change the current configuration to Debug, then afterwards select Properties on the project, and check that Linker->Additional Library Directories points at the directory where clanApp-static-mt-debug.lib is located.

Similar Threads

  1. Cannot compile with new mesa release
    By jreidinger in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 12-12-2012, 01:02 PM
  2. How to make release and debug program with ClanLib?
    By leixiong in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 10-12-2011, 10:59 AM
  3. Failure to compile on GNU
    By speeder in forum Official ClanLib SDK Forums
    Replies: 6
    Last Post: 07-29-2010, 10:53 PM
  4. After i compile it and run it on another computer
    By jerry in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 03-30-2010, 07:37 AM
  5. Debug version FPS is better than Release version
    By babyvegas in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 08-13-2008, 09:44 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
  •