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

Author Topic: Static linking with dotnet  (Read 3478 times)

0 Members and 1 Guest are viewing this topic.

Brendon

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://blendogames.com
Static linking with dotnet
« on: January 22, 2011, 10:16:06 pm »
I dug around the forums regarding the ATI driver issue (http://www.sfml-dev.org/forum/viewtopic.php?t=3438), and it seems static linking SFML seems to be the solution.

But - it seems .net framework / Mono doesn't really support static linking; or at least I haven't been able to find how.  Anyone with more .net knowledge have any tips on this?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Static linking with dotnet
« Reply #1 on: January 23, 2011, 11:14:18 am »
I'm using P/Invoke, which consists of loading the wrapped functions from C DLLs. So static linking is not an option here.

The other solution to create a .Net binding is to use C++/CLI, and there you could probably use static linking, but as far as I know Mono doesn't support C++/CLI.

To get rid of this bug on .Net there's no choice but to solve it in the C++ API directly.
Laurent Gomila - SFML developer

Brendon

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://blendogames.com
Static linking with dotnet
« Reply #2 on: January 23, 2011, 07:03:16 pm »
Okay, I understand now - thanks for the reply.

For what it's worth, I'm told everything works fine when drivers are rolled back to an older version (8.56.1.15). For the moment that's the workaround solution I'm using.

 

anything