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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - farwater

Pages: [1]
1
DotNet / Re: understanding how to target architectures
« on: March 14, 2015, 03:28:05 pm »
Wow, now it works just fine.
Thanks so much for your help.

2
DotNet / Re: understanding how to target architectures
« on: March 14, 2015, 09:27:35 am »
Thanks, zsbzsb, but my question remains:
Why does my application run only when I target x64, using 32bit dlls? Is it cause I'm runing windows 64 bits?  And, when I compile targeting x86, with 32bit dlls I get this warning:
Warning   2   There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "sfmlnet-graphics-2, Version=2.1.0.0, Culture=neutral, processorArchitecture=x86", "AMD64". 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.   sfml

So I supose my app will not run on a 32 bits sistem... No idea what I'm doing wrong, cause I use 32 bits dlls targeting x86, it makes sense to me.... :)

3
DotNet / Re: understanding how to target architectures
« on: March 13, 2015, 09:58:03 pm »
Certainly...

eXpl0it3r, I get them from official page:
http://www.sfml-dev.org/download/sfml.net/
Tagged as: All compilers - 32-bit.

Yea, system, not sistem. In my computer messages apear in spanish, so I translated manually and mistyped :)

4
DotNet / Re: understanding how to target architectures
« on: March 13, 2015, 09:01:18 pm »

Hi, Laurent:

Sorry, I suposed saying that I used both Visual studio 2010 and Visual studio 2013 was enought.

It's what you discused here:
http://en.sfml-dev.org/forums/index.php?topic=11733.0

But I still don't understand...

Ah, good job, it's the best libary I've seen for those purposes. Lol, and I posted to the wrong place... Great start.

5
DotNet / Re: understanding how to target architectures
« on: March 13, 2015, 08:37:36 pm »
Excuse me, at least using Visual Studio 2013 and windows 8.1, it compiles, but when I tried to do anything with SFML, it throws this exeption:

A first chance exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll

Additional information: Could not load file or assembly 'sfmlnet-audio-2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
An attempt was made to load a program with an incorrect format.

P.S:  The only way I can run examples without errors is targeting x64 (using 32 bits dlls), and I'm wondering, if I compile targeting x64, will it run on an x86 sistem?


6
DotNet / [SOLVED] Understanding how to target architectures
« on: March 13, 2015, 07:04:44 pm »
Hi all,

It's my first attempt to use SFML, seems very powerful to me, however, when I tried to compile some examples, I receibed a (classic) "bad image exception".
I take a look here and there, and most of answers to this problem are like "use 64 bits dll to compile for 64 bits sistems, and 32 for 32 bits sistems".

Ok, simple. But not so simple... the fact is that when I compile using 32 bits dll targeting 32 bits architecture, I receibe a bad image exception, (I expected no problems at all, most 32 bits software runs just fine in any 64 windows sistem) the only way to makes it run is... using 32 bits dlls but targeting 64 bits sistem, and at least it runs on a windows 8.1 64 bits. Or in other words: wtf?


My setting:
SFML 2.2
Visual studio 2013
Windows 8.1 64 bits.

What am I missing? Any ideas?

Oh, one more weird thing:
First I tried to compile from a machine with windows xp 32 bits and Visual Studio 2010 and it was impossible, neither targeting 32 or 64 bits.

Thanks in advance and excuse my english, it's not my first language.

Pages: [1]
anything