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.
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
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).
Comments
Aug 26
15:25:38Re: Examples.exe doesnt work with linux(suse11)
posted by the FiddlerOk, 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.
Aug 26
19:11:42Re: Examples.exe doesnt work with linux(suse11)
posted by puklausJust 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
Aug 27
06:58:26Re: Examples.exe doesnt work with linux(suse11)
posted by max180mono 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
Aug 27
07:17:11Re: Examples.exe doesnt work with linux(suse11)
posted by objarnihmm. doesn't the "Could not access debug.log" line look suspicious?
Aug 27
07:21:28Re: Examples.exe doesnt work with linux(suse11)
posted by max180http://dhost.info/haima/csat.php
also doesnt start in linux
no error message
Aug 27
07:45:20Re: Examples.exe doesnt work with linux(suse11)
posted by objarni@max180
Please follow the Fiddlers advice above and post here.
Aug 27
07:52:48Re: Examples.exe doesnt work with linux(suse11)
posted by max180Ive already written it. two posts ago
Aug 27
08:04:05Re: Examples.exe doesnt work with linux(suse11)
posted by objarni@max180
Sorry for that! I must be a little bit more attentive reading posts I guess :)
Aug 27
09:14:54Re: Examples.exe doesnt work with linux(suse11)
posted by max180now Ive another error:
Initilalizing threaded X11:1
Display Connection: 141072168, Screen count:1
Aug 27
09:18:58Re: Examples.exe doesnt work with linux(suse11)
posted by the FiddlerThe "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).
Aug 27
09:40:35Re: Examples.exe doesnt work with linux(suse11)
posted by max180many instances were runnnig. i killed all. great no "debug.log"
but still nothing happens after this:
Initilalizing threaded X11:1
Display Connection: 141072168, Screen count:1
Aug 27
09:49:38Re: Examples.exe doesnt work with linux(suse11)
posted by the FiddlerAlright, I will update my version of OpenSUSE and try to reproduce. What video card/drivers do you have?
Aug 27
09:55:40Re: Examples.exe doesnt work with linux(suse11)
posted by max180Ive also tried in Suse 10.3
Video card: nvidia geforce 7100/nforce 630i
Aug 27
11:06:31Re: Examples.exe doesnt work with linux(suse11)
posted by max180even Debian doesnt work on another desktop
am i doing anything totally wrong
what must i have to let it run?
Aug 27
11:10:41Re: Examples.exe doesnt work with linux(suse11)
posted by max180i have a solution.
debian was too old.
it wasnt suse 11 it was suse 10.3
and suse 11 works.
thanks all to you
Aug 27
11:29:45Re: Examples.exe doesnt work with linux(suse11)
posted by the FiddlerYou are welcome.
So was it an old version of Mono? (Mono 1.2.6+ should work fine)
Aug 28
10:08:40Re: Examples.exe doesnt work with linux(suse11)
posted by max180suse 10.3 couldnt handle it
Aug 28
12:08:21Re: Examples.exe doesnt work with linux(suse11)
posted by puklausOops, there is something wrong in my examples on linux, null pointer exp. but im working on it. or if someone finds the problem, please tell.