SFML community forums

Help => General => Topic started by: Tez on May 27, 2018, 04:12:20 am

Title: One unresolved external symbol in Image.cpp.obj
Post by: Tez on May 27, 2018, 04:12:20 am
Having problems setting up my SFML project. I noticed that in an old sfml project (2.4.2) I had made I had included "jpeg.lib", however it is not included in this project. I couldn't find it. Could that be the problem?

VC++ 2017 on x64 windows host building for x86 with SFML version 2.5.0

Linker error message:
(click to show/hide)

My linker dependency list for debug config:
(click to show/hide)

I have the SFML_STATIC preprocessor directive set.
Title: Re: One unresolved external symbol in Image.cpp.obj
Post by: kennyrkun on May 27, 2018, 04:34:37 am
libjpeg was removed in SFML 2.5 (https://github.com/SFML/SFML/issues/1278), so that shouldn't be the issue.

It there shouldn't be an issue unless you're trying to do something with it. Are you trying to link jpeg.lib?
Title: Re: One unresolved external symbol in Image.cpp.obj
Post by: Tez on May 27, 2018, 05:43:28 am
I am not trying to link against libjpeg
Title: Re: One unresolved external symbol in Image.cpp.obj
Post by: eXpl0it3r on May 27, 2018, 07:57:05 am
Nothing easier than to search the error message and you'd get multiple hits on this forum alone. ;)

https://en.sfml-dev.org/forums/index.php?topic=24044.0