Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL.Net.CoreProfile #114

Open
pragmascript opened this issue Aug 28, 2018 · 5 comments
Open

OpenGL.Net.CoreProfile #114

pragmascript opened this issue Aug 28, 2018 · 5 comments

Comments

@pragmascript
Copy link

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?

@luca-piccioni
Copy link
Owner

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"?

@pragmascript
Copy link
Author

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.

@ForeverZer0
Copy link

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?

@LittleRainGames
Copy link

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

@ForeverZer0
Copy link

ForeverZer0 commented Jul 15, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants