Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline jose.teixeira.338863  
#1 Posted : Monday, September 16, 2013 6:36:55 PM(UTC)
jose.teixeira.338863

Joined: 9/16/2013(UTC)
Posts: 3

Hi guys!
I downloaded DeltaEngine, then been following this tut here to install the dependencies.

But I open the Empty project template Delta has.

All goes well, and the yellow exclamation marks cease to appear, telling all is good, sexy and oily, because we all need to be conveniently lubricated. Don't forget your moisturizer. EVER!

But, upon pressing F5, this appears, threatening me that it can make very bad things to me in the dark or whenever I try to run the app.
UserPostedImage

Help?

I am dumb, so you know.

EDIT:
Can't we change our user name in the forum?

Edited by user Monday, September 16, 2013 7:09:16 PM(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your forum accountregister a new account. Or Connect via Facebook Twitter Google

Offline Benjamin  
#2 Posted : Monday, September 16, 2013 8:15:46 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Hi Jose,

The error does not tell us much, just that OpenTKDevice could not be created. Can you send your log file (It is in your user Documents folder in the DeltaEngine folder plus the project name).

I guess you should try another framework, maybe it works better for you.

About changing your username: Just click on About -> Account: http://forum.deltaengine.net/yaf_cp_profile.aspx
Offline jose.teixeira.338863  
#3 Posted : Tuesday, September 17, 2013 11:04:50 AM(UTC)
jose.teixeira.338863

Joined: 9/16/2013(UTC)
Posts: 3

Here it is:
Quote:
EmptyGame1 Log 2013-09-17 09:53:05
09:53:05 Warning: ApiKey not set. Please login with Editor to set it up.
09:53:05 Warning: Server Error: Project name not found on server EmptyGame
09:53:06 Warning: Failed to load types from DeltaEngine.Physics3D.Jitter: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at DeltaEngine.Platforms.AssemblyTypeLoader.TryToGetAssemblyTypes(Assembly assembly)

System.IO.FileNotFoundException: Could not load file or assembly 'Jitter, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Jitter, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null'

=== Pre-bind state information ===
LOG: User = ASUS\José Teixeira
LOG: DisplayName = Jitter, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : DeltaEngine.Physics3D.Jitter, Version=0.9.9.1, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter.DLL.
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter/Jitter.DLL.
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter.EXE.
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter/Jitter.EXE.


I also attach my project solution (maybe it is something to do with NuGet and whatnot?
https://dl.dropboxuserco.../60029808/EmptyGame1.rar

I'll try using one of the other frameworks as per your advice.


EDIT2:
OOOOKAY:
Here are my test results:

OpenTK gives the previous error.
SlimDX works (I see the game window, no errors pop-up and the screen changes colors, and I assume all is correct)
GLFW3 screams because it can't find Pencil.Gaming.GLFW3 (reference to DeltaEngine.WindowsGLFW3 is there, though)
SharpDX works just like SlimDX.

The tests consisted of loading the examples, managing NuGet packages and searching for the flavor of Delta I pointed out above. The reference to DeltaEngine.WindowsOpenTK20 is there, showing the error icon, I assume I can take it out with no harm done?

Will the DirectX versions I am able to use weaken my chances of targeting, other non-DX platforms like Linux?
I did not use the XNA and Mono. On Windows 8 XNA is quite a pain to setup and Mono is not interesting to me at this point.

Edited by user Tuesday, September 17, 2013 11:30:27 AM(UTC)  | Reason: Not specified

Offline Benjamin  
#4 Posted : Tuesday, September 17, 2013 12:44:08 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Wow, thanks for the detailed report. I have opened bugs for all the issues (some smaller issues with the EmptyGame, Jitter issue is really strange (not needed by EmptyGame), plus some missing files in the GLFW case).

On linux OpenTK or GLFW can be used just fine, but also MonoGame works. Linux is however not on our immediate output platform list (working from Linux is fine, but we do not support Linux as an output platform well enough yet).
Offline mc-kay  
#5 Posted : Tuesday, September 17, 2013 4:12:20 PM(UTC)
mc-kay

Medals: Admin

Joined: 8/24/2011(UTC)
Posts: 138
Location: Hannover

Thanks: 1 times
Was thanked: 12 time(s) in 7 post(s)
Hallo JoséTeixeira, let me try to explain what possible happened:
First of all, EmptyGame himself use no content so it should never receive a "Project name not found" message.
To get this message you have to make a call like "ContentLoader.Load<Image>("MyImage");" in your "EmptyGame1" project.
Because the server doesn't know this project it would not work. You have first to create this project using the Editor and then upload the content.
However, this has nothing to do with the used framework so i don't understand why you get this message with OpenGL, but not with the DirectX implementations.
Also, EmptyGame is using no physics, so I dont get why he is trying to load Jitter (EmptyGame is not even a 3D app).

Please let me know the fallowing things:
Does the pecompiled samples work for you?
Do you used the installer or zip version?
Please check your environment variable as described here: http://deltaengine.net/learn/startingwithcsharp#vstemplates

#Edit:
Your log is talking about v0.9.9.1, the current release is 0.9.9.2, probably you're just using outdated files?

Edited by user Tuesday, September 17, 2013 4:15:41 PM(UTC)  | Reason: Not specified

Offline jose.teixeira.338863  
#6 Posted : Tuesday, September 17, 2013 4:47:31 PM(UTC)
jose.teixeira.338863

Joined: 9/16/2013(UTC)
Posts: 3

Originally Posted by: Hendrik Go to Quoted Post
Hallo JoséTeixeira, let me try to explain what possible happened:
First of all, EmptyGame himself use no content so it should never receive a "Project name not found" message.
To get this message you have to make a call like "ContentLoader.Load<Image>("MyImage");" in your "EmptyGame1" project.

It's a possibility there's a bit of code left. I was messing about and possibly there was a mixup in my part?
Originally Posted by: Hendrik Go to Quoted Post

Please let me know the fallowing things:
Does the pecompiled samples work for you?
Do you used the installer or zip version?
Please check your environment variable as described here: http://deltaengine.net/learn/startingwithcsharp#vstemplates

No samples work. Some complain about API key and other crash immediately.
Installer, from the site.
All seems correct.
Originally Posted by: Hendrik Go to Quoted Post

#Edit:
Your log is talking about v0.9.9.1, the current release is 0.9.9.2, probably you're just using outdated files?

For some reason I can't comprehend it is indeed 0.9.9.1. I will upgrade to 0.9.9.2 right now and report.

EDIT:
All the tests consisted of me opening up Empty Game and loading the different frameworks, in case that helps.
Well, it was released yesterday, the same day I tried Delta. :p

EDIT 2:
0.9.9.1 exe Samples do not work and example projects give errors, but that itself is not that worrisome.
0.9.9.2 exe samples do not work either but throw an exeption telling that shaders don't work for this OpenGL.
Example:
Quote:
DeltaEngine.Graphics.OpenTK20.OpenTK20Device+OpenGLVersionDoesNotSupportShaders: Exception of type 'DeltaEngine.Graphics.OpenTK20.OpenTK20Device+OpenGLVersionDoesNotSupportShaders' was thrown.
at DeltaEngine.Graphics.OpenTK20.OpenTK20Device.CreateContext()
at DeltaEngine.Graphics.OpenTK20.OpenTK20Device..ctor(Window window)
at lambda_method(Closure , Object[] )

I assume it's drivers, from one of Benjamin's posts in the forum. My system is fairly outdated, though. I can understand that.

So, now armed with 0.9.9.2, I create a new Empty Game, load OpenTK packages, and get this exception:
Quote:
An unhandled exception of type 'Autofac.Core.DependencyResolutionException' occurred in Autofac.dll

Additional information: An exception was thrown while invoking the constructor 'Void .ctor(DeltaEngine.Core.Window)' on type 'OpenTK20Device'.


Log file:
Quote:
EmptyGame1 Log 2013-09-17 16:24:03
16:24:03 Warning: Failed to load types from DeltaEngine.Physics3D.Jitter: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at DeltaEngine.Platforms.AssemblyTypeLoader.TryToGetAssemblyTypes(Assembly assembly)

System.IO.FileNotFoundException: Could not load file or assembly 'Jitter, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Jitter, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null'

=== Pre-bind state information ===
LOG: User = ASUS\José Teixeira
LOG: DisplayName = Jitter, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : DeltaEngine.Physics3D.Jitter, Version=0.9.9.2, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter.DLL.
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter/Jitter.DLL.
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter.EXE.
LOG: Attempting download of new URL file:///C:/Users/José Teixeira/documents/visual studio 2012/Projects/EmptyGame1/EmptyGame1/bin/Debug/Jitter/Jitter.EXE.


:p

EDIT 3:
SharpDX framework works with the project, so yeah, I'll stick to it. It's probably an issue with my computer or me, so better use what works. :)

Also, is it normal Nuget adding VLCToTexture automatically when installing SlimDX/SharpDX?

Edited by user Tuesday, September 17, 2013 5:31:38 PM(UTC)  | Reason: Added info

Offline mc-kay  
#7 Posted : Wednesday, September 18, 2013 6:21:58 PM(UTC)
mc-kay

Medals: Admin

Joined: 8/24/2011(UTC)
Posts: 138
Location: Hannover

Thanks: 1 times
Was thanked: 12 time(s) in 7 post(s)
Yes, this is a OpenGL driver issue, DirectX is much more reliable with bad hardware/driver (SlimDX (DX9) is even working in RDP sessions).
You could also try XNA/MonoGame which also use DirectX.
The VLCToTexture package is required by OpenTK, SharpDX and SlimDX.

Edited by user Wednesday, September 18, 2013 6:24:20 PM(UTC)  | Reason: Not specified

Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2018, Yet Another Forum.NET
This page was generated in 0.246 seconds.