Results 1 to 3 of 3

Thread: Unresolved externals...

  1. #1
    Lesser Knight
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    36

    Unhappy Unresolved externals...

    Hey ClanLib community,

    I already had a problem with ClanLib but I got it working by mixing the source package with the precompiled binaries.
    I had to reinstall my OS and now the solution I mentioned above doesn't work anymore.

    Here is the output:
    Code:
    1>------ Build started: Project: Watch your Movements, Configuration: Debug Win32 ------
    1>LINK : warning LNK4031: no subsystem specified; CONSOLE assumed
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _jtransform_execute_transform referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _jcopy_markers_execute referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _write_stdout referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _jtransform_adjust_parameters referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _jtransform_request_workspace referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _jcopy_markers_setup referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _read_stdin referenced in function _main
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _read_scan_script referenced in function _parse_switches
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _jtransform_parse_crop_spec referenced in function _parse_switches
    1>libjpeg-static-mt-debug.lib(jpegtran.obj) : error LNK2019: unresolved external symbol _keymatch referenced in function _parse_switches
    1>C:\Users\Philipp\Documents\Visual Studio 2010\Projects\ClanLib\Watch your Movements\Debug\Watch your Movements.exe : fatal error LNK1120: 10 unresolved externals
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    OS: Win7 Ultimate 32bit
    Visual Studio 2010

    I think that I have read all posts on this forum (and other) that belong to that error and such but none of them helped me.

    Thanks for your replies!
    Tuisto

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

    Default

    The error seems to point to a problem with the external libjpeg library
    "libjpeg-static-mt-debug.lib"

    Which is strange, as it is what I use

    Unless you mean you compiled http://clanlib.org/download/binaries...00/jpeg-8b.zip manually

    If so, check functions like "jcopy_markers_setup" are actually compiled

    I can check next week to see if the libraries precompiled collection is not broken. Very strange if it is!

    http://clanlib.org/wiki/MainDocs:Vis...%2B_on_Windows <-- should work, and has been tested by numerious people.

  3. #3
    Lesser Knight
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    36

    Default

    It was my bad.
    I've chosen an empty project instead of an empty win32 project.
    Now it works just fine.
    I feel stupid right now.

    Thanks for your reply anyways.

Similar Threads

  1. unresolved external symbol Error
    By Jorda in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 02-05-2008, 03:39 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
  •