Results 1 to 3 of 3

Thread: Clanlib (install) problem: mt-uc

  1. #1

    Question Clanlib (install) problem: _main

    Okay, so i've fiddled with clanlib for a bit, and finally understood the readme, however, when i go to test the code, i get
    "Error 1 fatal error LNK1104: cannot open file 'clanCore-static-mt-uc-debug.lib' clanlib test"

    So i read further and this is with the way clanlib compiles itself or something. I dont have the UC version. I dont think i need the UC version, so in my program how do I compile it so it uses just the non uc one?
    Last edited by astrof; 12-11-2008 at 10:31 PM.

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    In Visual Studio 2008, this setting is available under General->Character Set. Set it to "Not set" to not use unicode.

  3. #3

    Default

    thanks, got that part fixed, now its saying there's an error with _main:
    "Error 9 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup"

    EDIT: Ok, fixed that by changing subsystem from Console to Windows.
    Last edited by astrof; 12-12-2008 at 01:25 AM.

Similar Threads

  1. Problem compiling ClanLib 0.8 in MAC OS X (10.3.9)
    By jplaza in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 07-08-2008, 09:58 PM
  2. Install ClanLib in ArchLinux with KDE 3.5
    By Nikitto46 in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 05-02-2007, 10:42 AM
  3. Problem building ClanLib
    By jtaylor1126 in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 03-31-2007, 12:10 AM
  4. ClanLib-0.8.0\Tests\NetSessionsTest problem
    By inxbus in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 01-06-2007, 09:11 PM
  5. 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

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
  •