[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #9805] SDL&OpenGL project fails at runtime with
From: |
Ovidiu Sabou |
Subject: |
[Pnet-developers] [bugs #9805] SDL&OpenGL project fails at runtime with VerificationException |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.1) Gecko/20040715 Debian/1.7.1-1 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9805] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9805>
Project: DotGNU Portable.NET
Submitted by: Ovidiu Sabou
On: Wed 07/28/04 at 21:07
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
Summary: SDL&OpenGL project fails at runtime with VerificationException
Original Submission: We are working on an OpenGL application and we're using
Tao.OpenGl and Tao.Sdl for access to those libraries. I have been using mono so
far and wanted to try out pnet. The project compiles fine (we have a library
and a demo executable for it)
After i compile Tao.Sdl and Tao.OpenGl with pnet and then my project, if i try
to run it, this is what happens:
address@hidden:~/Projects/Alpha$ ilrun Demo.exe
Demo::Main [2084] - ldarg.0 at verify_var.c:78
Uncaught exception: System.Security.VerificationException: Could not verify the
code
address@hidden:~/Projects/Alpha$
I get the same error if i compile Tao in mono or pnet.
it runs ok under mono no matter which compiler i used for building
Tao(compiling on pnet and running on mono doesn't work also but that's not a
problem for me since i cannot even run it with ilrun).
If i compile the project in mono and try to run with ilrun:
address@hidden:~/Projects/Alpha$ ilrun Demo.exe
metadata error in token 0x0A000002: invalid MemberRef type signature
metadata error in token 0x0A000005: invalid MemberRef type signature
metadata error in token 0x0A00000A: invalid MemberRef type signature
<etc>
metadata error in token 0x0A00005F: invalid MemberRef type signature
Demo.exe: invalid metadata in image
address@hidden:~/Projects/Alpha$
the commands used to compile my projects are these(to get an idea about the
structure):
address@hidden:~/Projects/Alpha$ make -f Makefile.pnet
cscc -g -lTao.OpenGl -lTao.Sdl -lSystem.Drawing Alpha/FrameWork/OpenGL.cs
Alpha/FrameWork/SdlWindow.cs Alpha/FrameWork/Application.cs
Alpha/Image/Texture.cs Alpha/Image/Font.cs Alpha/UI/UIBase.cs Alpha/UI/Style.cs
Alpha/UI/Widget.cs Alpha/UI/Container.cs Alpha/UI/Window.cs Alpha/UI/Box.cs
Alpha/UI/Button.cs Alpha/UI/EditBox.cs Alpha/UI/GameView.cs Alpha/UI/Label.cs
Alpha/UI/Scrollbar.cs Alpha/UI/TextBox.cs Alpha/UI/TextView.cs
Alpha/Map/GameMap.cs Alpha/Map/HeightMap.cs Alpha/Game/Game.cs
Alpha/Game/GameData.cs Alpha/Game/UnitType.cs Alpha/Game/Order.cs
Alpha/Game/Unit.cs Alpha/Game/Pathfinder.cs Alpha/Game/GameState.cs -shared -o
Alpha.dll
cscc -g -lAlpha.dll -lSystem.Drawing Demo/Main.cs Demo/GameData.cs
Demo/Menu.cs Demo/GameScreen.cs Demo/UITestGround.cs -o Demo.exe
address@hidden:~/Projects/Alpha$
if you want to get the sourcecode:
svn co svn://repnet.homeunix.org/Alpha
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9805>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bugs #9805] SDL&OpenGL project fails at runtime with VerificationException,
Ovidiu Sabou <=