OpenGL.Net icon indicating copy to clipboard operation
OpenGL.Net copied to clipboard

OpenGL.Net.CoreProfile

Open pragmascript opened this issue 6 years ago • 5 comments

Hello,

I was trying getting a sample running with OpenGL.Net.CoreProfile. Unfortunately getting CoreProfile from NuGet doesn't seem to work. So I tried building it manually from Source. OpenGL.Net.dll builds fine also OpenGL.Net.Math.dll however I cannot seem to find a dll for OpenGL Core Profile. Is this dll deprecated?

pragmascript avatar Aug 28 '18 12:08 pragmascript

No, the DLL is not deprecated. It is generated by the post-build script.

Can you be more specific about about "doesn't seem to work"?

luca-piccioni avatar Aug 28 '18 18:08 luca-piccioni

Hey, I assume the "BindingGen" post-build script should generate the OpenGL.Net.CoreProfile. But I get

Schweregrad	Code	Beschreibung	Projekt	Pfad	Datei	Zeile	Unterdrückungszustand
Fehler		Der Befehl "E:\Projects\VV3\GUI Test\OpenGL.Net-master\BindingsGen\bin\Release\BindingsGen.exe --assembly "E:\Projects\VV3\GUI Test\OpenGL.Net-master\OpenGL.Net\bin\net461\Release\OpenGL.Net.dll"" wurde mit dem Code 9009 beendet.	OpenGL.Net_net461				

with Code 9009 in the post-build step. I managed to get it working with NuGet though. So it's not a big problem.

pragmascript avatar Aug 28 '18 18:08 pragmascript

Would be nice to have a .NET Core NuGet package. Currently the OpenGL.CoreProfile package only seems to support .NET Framework and Mono. As .NET Core has matured now, it is usually favored over those two frameworks. Being the compatibility profile can be built and has a package, I assume this is just a matter of configuring a project file and adding the package?

ForeverZer0 avatar Jul 08 '19 03:07 ForeverZer0

Can you be more specific about about "doesn't seem to work"?

In the project references, there is a warning symbol on the CoreProfile. When double clicking, it will not show you the contents, instead it gives the error message in quotes. "This project cannot be viewed in the object browser because it is unavailable or not yet built. Please ensure that the project is available and built." coreProfileError

LittleRainGames avatar Jul 15 '19 05:07 LittleRainGames

@LittleRainGames You appears you have both OpenGL.NET and OpenGL.NET.CoreProfile.

ForeverZer0 avatar Jul 15 '19 07:07 ForeverZer0