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

Author Topic: undefined reference to blah blah blah  (Read 1586 times)

0 Members and 2 Guests are viewing this topic.

KKZiomekkk

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
undefined reference to blah blah blah
« on: April 09, 2015, 12:44:33 pm »
Hello SFML community,

I started learning SFML when error showed up 'undefined reference to _imp__xxx'. I looked at the FAQ, but that didn't solve my problem. I think I followed all the directions fine.

This is some info:

IDE: Code::Blocks 13.12 MinGW
SFML: v2.2
OS: Windows 8.1 (64-bit)
SFML install directory: C:\SFML-2.2
Linking: Static
Project build options:
(click to show/hide)
Build Log:
(click to show/hide)
Easier-to-read Build Log:
(click to show/hide)
Code I wanted to compile while error ocurred:
(click to show/hide)

That's it, thanks in advance!
« Last Edit: April 09, 2015, 01:08:16 pm by Laurent »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: undefined reference to blah blah blah
« Reply #1 on: April 09, 2015, 01:10:04 pm »
SFML_STATIC doesn't appear in your compiler command line, and the errors are consistent with that. I see that you've defined it in your project settings, but somehow it is not done correctly.
Laurent Gomila - SFML developer

KKZiomekkk

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: undefined reference to blah blah blah
« Reply #2 on: May 26, 2015, 09:00:43 pm »
Is there a way to fix this plz?