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

Author Topic: _imp___ error  (Read 2417 times)

0 Members and 1 Guest are viewing this topic.

wrexlurker

  • Newbie
  • *
  • Posts: 3
    • View Profile
_imp___ error
« on: April 22, 2015, 11:52:22 pm »
Hello, I'm new

I've spend the whole yesterday getting an open source project to compile. After learning how to use cmake to create and format the source code for this project, I've encounter these error

(click to show/hide)

Edited:

After I started to work on my own project, I concluded a possibility that this issue is related specifically to sfml version 2.2. Because when I run my sample code on sfml version 2.2, the __imp error did occurs and when my own sample code is run on version 2.1, the code compiled successfully. I still need to resolve this problem because the open source project I downloaded needs to be run on 2.2, also I want to try the latest version of sfml.

« Last Edit: April 23, 2015, 01:01:34 am by wrexlurker »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: _imp___ error
« Reply #1 on: April 23, 2015, 02:04:50 am »
You're either not linking or linking SFML in the wrong order. Provide the full build command.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

wrexlurker

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: _imp___ error
« Reply #2 on: April 23, 2015, 09:58:30 am »
Well, according to the global complier setting (not the build option)

The link libraries are
sfml-graphics
sfml-window
sfml-system

The search directory for my complier are my sfml/include, while my linker is sfml/lib.

I posted a pic before, but the site that upload didn't work  :(

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
AW: _imp___ error
« Reply #3 on: April 23, 2015, 10:10:50 am »
Can you post the verbose build command? http://www.sfml-dev.org/faq.php#tr-grl-verbose-ide
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

wrexlurker

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: _imp___ error
« Reply #4 on: April 23, 2015, 10:42:03 pm »
Here it is
(click to show/hide)

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: _imp___ error
« Reply #5 on: April 23, 2015, 11:31:51 pm »
Sorry to say, but no where in that output do you link against SFML. So check your settings again and make sure you are correctly following the tutorial.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor