max0180's picture

Examples.exe doesnt work with linux(suse11)

hi,

examples.exe doesn't work. when i start it with "mono Examples.exe" everything seems to be correct. but when i click one example nothing happens.

i tried everything.

please help me


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Ok, first things first: what is the result of "mono --version"?

The next step is to replace the OpenTK.dll with the one found in the Binaries/Debug folder. Copy&paste, execute the app with "mono --debug Examples.exe" and post the output here - this will help see what the problem is.

puklaus's picture

Just a guess:
I had this problem when I first time tried opentk in linux,
I need install mono's windows.forms packet from repos.

And my opentk examples:
http://dhost.info/haima/csat.php

max180's picture

mono version:
Mono JIT compiler version 1.9.1
(tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors.
www.mono-project.com
TLS: __thread
GC:
Included Boehm (with typed GC)
SIGSEGV: normal

Notifications: epoll

Architecture: x86
Disabled: none

-----------------------------------

mono --debug Examples.exe:
** Message: Unknown errno: Das Programm kann nicht ausgeführt oder verändert werden (busy)
// program can not execute or changed (busy)

---------------------------------
after i replaced opentk.dll:
(befor the "opentk example launcher" comes - this error message:

System.IO.IOExce
Could not access debug.log

------------------------

i've replaced mono winform. but this couldnt be the solution. no opentk program runs also if there is no System.windows.forms

objarni's picture

hmm. doesn't the "Could not access debug.log" line look suspicious?

max180's picture

http://dhost.info/haima/csat.php
also doesnt start in linux
no error message

objarni's picture

@max180

Please follow the Fiddlers advice above and post here.

max180's picture

Ive already written it. two posts ago

objarni's picture

@max180

Sorry for that! I must be a little bit more attentive reading posts I guess :)

max180's picture

now Ive another error:

Initilalizing threaded X11:1
Display Connection: 141072168, Screen count:1

the Fiddler's picture

The "debug.log" error means that the previous instance is still running. Check if "ps -A | grep mono" returns something, and kill the process with "killall -9 mono".

Can you post all debug messages? The above actually indicate that things are working alright (up to that point).