From: erik <eri...@ho...> - 2002-11-14 21:31:24
|
Hello! I'm new to c#, openGL and CsGL. I'm currently just trying to compile some of the examples that comes with CsGlExaple library in SharpDevelop and plan to move onwards from that. I'm doing this by creating a "combine" in which I've added csgs.dll and CsGS.Basecode.dll as references (if I don't do that the compiler doesn't seem to be able to locate them even if they are in the same dir as the file to be compiled) and for example NeHeLesson01.cs as a file. I then compile the project, this works fine and I don't get any errors. An executable with the same name as the combine is created. But when I try to run the program I get an exception, plus a long error message in the command window, and it crashes.. The examples works fine if i run the already compiled exe-files that came with the library... Another irritating thing is that when I add .dll files as reference SharpDeveloper sometimes complains and doesn't add the file, atleast it's not visible in the tree structure even though I suspect it is there. If I close and open the combine again the dll shows up however. What am I doing wrong? How do I get CsGL to work with SharpDevelop? I would prefer to work there instead of compiling via the command prompt and use mysterious applications as Nant... Best Regards /erik |