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

Author Topic: .NET samples crash, problem with installing  (Read 5282 times)

0 Members and 1 Guest are viewing this topic.

Haikarainen

  • Guest
.NET samples crash, problem with installing
« on: February 12, 2012, 06:05:59 pm »
I'm basically a newborn when it comes to .net / visual studio etc. and I'm having problems both running the precompiled samples as well as using the .NET-binding in Visual Studio 10.


The samples just simply crash at startup, every single one of them. And for the using them; I try to add them to my toolbar but it complains about not having components in it that can be added to the toolbar. Haven't found a single guide on the subject.

Can anyone point me in the right direction plx?
[/code]

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
.NET samples crash, problem with installing
« Reply #1 on: February 12, 2012, 06:13:59 pm »
Quote
The samples just simply crash at startup, every single one of them

Any error message?
Laurent Gomila - SFML developer

Haikarainen

  • Guest
.NET samples crash, problem with installing
« Reply #2 on: February 12, 2012, 07:33:21 pm »
Started debugging them now, just extracted and launched from samples/bin directly.

First it didn't find the sfml assemblies, so I copied ./lib and ./extlib contents into the ./samples/bin, and now it complains about:

Code: [Select]
Could not load file or assembly 'Tao.OpenGl, Version=2.1.0.12, Culture=neutral, PublicKeyToken=1ca010269a4501ef' or one of its dependencies. The system cannot find the file specified.

Sadly there is almost 0 documentation on how to get this running. Any info on why I cant just add the dll's to the toolbar in visual designer?

Using Visual Studio 10, language of choice is C#

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
.NET samples crash, problem with installing
« Reply #3 on: February 12, 2012, 07:57:32 pm »
If you don't plan to use OpenGL then don't bother with the OpenGL samples, which requires Tao. Tao is outdated and might be hard to find -- well, in fact I have no idea, I wrote the sample a long time ago.
Laurent Gomila - SFML developer

Haikarainen

  • Guest
.NET samples crash, problem with installing
« Reply #4 on: February 14, 2012, 10:41:47 pm »
Quote from: "Laurent"
If you don't plan to use OpenGL then don't bother with the OpenGL samples, which requires Tao. Tao is outdated and might be hard to find -- well, in fact I have no idea, I wrote the sample a long time ago.


Complains even on the window sample :/ Do you use Tao internally?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
.NET samples crash, problem with installing
« Reply #5 on: February 14, 2012, 11:23:30 pm »
No. Since it's a binding, SFML is the only thing that I need to use internally.

It complains on what (for the window sample)?
Laurent Gomila - SFML developer

Haikarainen

  • Guest
.NET samples crash, problem with installing
« Reply #6 on: February 17, 2012, 07:49:16 pm »
Quote from: "Laurent"
No. Since it's a binding, SFML is the only thing that I need to use internally.

It complains on what (for the window sample)?


Tao

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
.NET samples crash, problem with installing
« Reply #7 on: February 17, 2012, 08:14:34 pm »
Hmm sorry, the window sample is about OpenGL too, so it also uses Tao :D
Laurent Gomila - SFML developer