Results 1 to 2 of 2

Thread: Visual Studio Express c++ 8 help ??

  1. #1

    Default Visual Studio Express c++ 8 help ??

    Hi

    I am using Visuall c++ express edition 8 ( the latest version) and can't
    get anything to work. It appears to build clanlib perfectly, but anything I compile in the examples comes up with loads of linker errors like ::

    LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
    LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
    LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in

    and so on. No idea whats happening, and sort of stuck, if anyone can help!

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

    Default

    Looking at "LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)"

    The linker is trying to link both the debug and release libraries.

    Ensure the project properties:- "Configuration Properties" / "C/C++" / "Code Generation" / "Runtime Library" is set correctly

Similar Threads

  1. Replies: 0
    Last Post: 10-16-2007, 04:44 PM
  2. Linking errors with VC++ Express 2005
    By lixopmstp in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 09-07-2007, 08:59 PM
  3. Feature questions.. (visual profiles, minimap, multiple saves)
    By whisperstorm in forum Novashell Game Creation System
    Replies: 1
    Last Post: 01-06-2007, 10:53 PM
  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

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
  •