modern-jogl-examples
modern-jogl-examples copied to clipboard
glm import problem
How can I fix the glm import error,The import glm cannot be resolved! Thank you very much.
Did you try to update glm?
Which imports fail?
I get the same issue, having just imported modern-jogl-examples as a maven project in Eclipse:
The following lines all give "The import xxx cannot be resolved" in framework.Framework, for example:
import glm.vec._2.i.Vec2i;
import glutil.BufferUtils;
import glutil.GlDebugOutput;
Assume it is a problem of some missing dependencies in the Maven build?
Hmmm seems like some of these can be fixed by manually adding the libs to the project. Still, would be better if these were real Maven dependencies....
Hi Mike!
Yes, you are totally right..
The thing is that I don't have the time and I am not that familiar with Maven yet, another guy is helping me on that side, but he is currently busy
Would you like to take care/push?
Ps: has this something to do with Steam Legions? :p
Well it's the other projects that need to deploy to Maven really.
I think some of the deps in lib
may be out of date also..... is it possible that we need a new version of glutil
package, I'm missing things like UniformBlockArray
and a MatrixStack
constructor etc.
New version of /modern-jogl-example/lib/javaUnofficialOpenglSDK.jar required perhaps?
I'm experimenting with JOGL for a new game idea I'm working on.
I am gonna update it to gradle sooner or later
I am using Netbeans and I also have troubles to find and add glutil and glm as dependencies. Is there any chance that you will make maven work for these samples ? I am writing a plugin for ImageJ and they advise to use maven (https://imagej.net/Introduction_into_Developing_Plugins). Otherwise I suppose I'll have to understand what is gradle ;)
Thanks for the nice work!
Don't worry, you won't need to know gradle to use it, I'll let you know ;)
Hey guys, I'm really sorry for the late reply. Especially sorry from @elect86. I've been busy for awhile. As @elect86 said, sooner or later we need to start learning gradle.
Meantime, I'm getting e-mails from who wants to try examples as it is right now. Today, I did commit stuff some in my forked repo. To whom it may want to try it with maven, can take a look. Please let me know if any error occurs on maven project.
@mikera @NicoKiaru
Thanks Ali for your maven solution in the meanwhile! :)
I just committed the first 2 tutorials plus tut03.cpuPositionOffset
with gradle, it'd be nice to get some feedback if everything works out in one click :p