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

Author Topic: Error when trying to build SFML Project  (Read 2667 times)

0 Members and 1 Guest are viewing this topic.

Vee900

  • Newbie
  • *
  • Posts: 1
    • View Profile
Error when trying to build SFML Project
« on: November 05, 2014, 04:22:14 am »
Hi folks,

I'm new to SFML.Now,i've been having a go at it using Visual studio 2012 but everytime i try to build the project i'm getting the following error:

Error   1   error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

Help Please
Thanx

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
AW: Error when trying to build SFML Project
« Reply #1 on: November 05, 2014, 07:48:15 am »
If had searched for error code, you'd have gotten thousands of answers... ::)

You use x64 libraries with your x86 compiler. Either switch to x86 libraries or use the x64 compiler.

Also VS2012 is outdated, I'd suggest to switch to VS2013.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything