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

Author Topic: Mismatch between processor architecture  (Read 4567 times)

0 Members and 2 Guests are viewing this topic.

BluNova

  • Newbie
  • *
  • Posts: 2
    • View Profile
Mismatch between processor architecture
« on: May 22, 2013, 06:24:33 pm »
When trying to use sfml.net on Visual Studio 2012 Express I get this for every dll.

Warning 1       There was a mismatch between the processor architecture of the project being
 built "MSIL" and the processor architecture of the reference "sfmlnet-audio-2", "x86". This mismatch may cause
runtime failures. Please consider changing the targeted processor architecture of your project through the
Configuration Manager so as to align the processor architectures between your project and references, or take
 a dependency on references with a processor architecture that matches the targeted processor architecture of
your project.
 

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Mismatch between processor architecture
« Reply #1 on: May 22, 2013, 06:42:50 pm »
Do you build for "Any CPU"? SFML.Net is not built for both architectures, you need to explicitely select either x86 or x64 for your project (in your case, it's x86).

PS: I found that in 5 seconds by typing the error message in Google; when you have a clear and specific error message it's often faster to do that to get an answer, than posting on the forum.
Laurent Gomila - SFML developer

BluNova

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Mismatch between processor architecture
« Reply #2 on: May 22, 2013, 06:51:32 pm »
Oh i googled the first sentance and got nothing maybe because it was too much :/ also how do you get the documentation to work with vs

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Mismatch between processor architecture
« Reply #3 on: May 22, 2013, 08:34:13 pm »
Quote
Oh i googled the first sentance and got nothing maybe because it was too much
Probably. In this case extract only the relevant terms ("c# mismatch architecture msil x86") ;)

Quote
also how do you get the documentation to work with vs
??
Which documentation? What does "work with VS" means in this context?
Laurent Gomila - SFML developer

vipar

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Mismatch between processor architecture
« Reply #4 on: May 25, 2013, 03:44:29 pm »
I think he means like in Java for example.

You can add a documentation URL to the IDE and whenever you use a method or such IntelliSense shows you the documentation in the window for that element/method, instead of having to go to a website to find the documentation.