Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: One unresolved external symbol in Image.cpp.obj  (Read 1447 times)

0 Members and 1 Guest are viewing this topic.

Tez

  • Newbie
  • *
  • Posts: 4
    • View Profile
One unresolved external symbol in Image.cpp.obj
« 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.
« Last Edit: May 27, 2018, 06:29:30 am by Tez »

kennyrkun

  • Newbie
  • *
  • Posts: 9
  • a pretty mediocre programmer
    • View Profile
    • mehsowb
Re: One unresolved external symbol in Image.cpp.obj
« Reply #1 on: May 27, 2018, 04:34:37 am »
libjpeg was removed in SFML 2.5, 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?
it's probably terrible.

Tez

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: One unresolved external symbol in Image.cpp.obj
« Reply #2 on: May 27, 2018, 05:43:28 am »
I am not trying to link against libjpeg

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10919
    • View Profile
    • development blog
    • Email
Re: One unresolved external symbol in Image.cpp.obj
« Reply #3 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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything