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

Author Topic: [SOLVED] Configuration Problem  (Read 1286 times)

0 Members and 2 Guests are viewing this topic.

HElwy

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
[SOLVED] Configuration Problem
« on: July 06, 2013, 07:34:02 am »
I'm using VS 11 and was just following the SFML configuration tutorial, and at the end when I compile I get

"error lnk1112 module machine type 'x64' conflicts with target machine type 'x86' sfml"

 and I even tried go to linker > advanced > and change target machine, but that just changed their order, this is my linker input (just incase they are wrong, they look a bit wrong to me)

"sfml-system-s.lib;sfml-window-s.lib;sfml-graphics-s.lib;sfml-network-s.lib;sfml-audio-s.lib;sfml-system-s-d.lib;sfml-window-s-d.lib;sfml-graphics-s-d.lib;sfml-network-s-d.lib;sfml-audio-s-d.lib;%(AdditionalDependencies)"

and this is my c++ preprocessor

"SFML_STATIC;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)"

Can someone help?
« Last Edit: July 07, 2013, 01:41:30 am by HElwy »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Configuration Problem
« Reply #1 on: July 06, 2013, 09:26:42 am »
Are you compiling for 32 or 64 bits? Did you download the 32 or 64 bits version of SFML?

Quote
VS 11
VS 11 doesn't exist, it's either VC++ 11 or Visual Studio 2012 :P
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
AW: Configuration Problem
« Reply #2 on: July 06, 2013, 04:39:35 pm »
Your settings might be wrong. If you change from x86 to x64 after you've made changes to the linking settings, it might happen, that the system lib versions didn't change.

You csn go snd edit the "Additional Dependencies" and similar, so it points to the right x64 libraries.
The be sure you can also create a new project.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything