Results 1 to 4 of 4

Thread: Zlib problems

  1. #1

    Default Zlib problems

    Hi,
    After a long struggle i got clanlib to work with visual c++ express 2005. When running some examples is get the following error. What can i do about that?

    Linking...
    zlib-static-mt.lib(inflate.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    fatal error C1047: The object or library file 'C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib\zlib-static-mt.lib' was created with an older compiler than other objects; rebuild old objects and libraries
    LINK : fatal error LNK1257: code generation failed

    Thanks,

    Anne

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,343

    Default

    Anne,

    Somewhere in your project settings you have "Whole program optimization" specified (that's the /GL) parm. I think you want to turn that off.
    Seth A. Robinson
    Robinson Technologies

  3. #3

    Default

    I cant find that /GL parameter anywhere. Btw now i get another error:

    clanCore-static-mt.lib(log.obj) : error LNK2005: "public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (?length@?$char_traits@D@std@@SAIPBD@Z) already defined in msvcprt.lib(MSVCP80.dll)

    It takes way too much time and effort to get clanlib working... Maybe SDL is a better option?

  4. #4

    Default

    Also, is it possible to use clanlib with dev-c++ because i like that program better then visual c++.

Similar Threads

  1. Trying to install ClanLib on Ubuntu - zlib vs zlib1g?
    By Grant in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 12-26-2006, 05:56 AM
  2. zlib
    By megumiaraki in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 12-07-2006, 07:41 PM
  3. Mog freezup problems
    By in forum Dink Smallwood HD
    Replies: 1
    Last Post: 10-05-2004, 07:50 PM
  4. Strange problems
    By File Sponge in forum Funeral Quest
    Replies: 4
    Last Post: 08-29-2004, 07:16 AM
  5. Few improvements/problems
    By redink1 in forum Other RTsoft Games
    Replies: 1
    Last Post: 10-10-2002, 10:13 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
  •