Closed Gootzi closed 6 months ago
Yea problems can get extremely confusing, try some of these ideas:
Rebuild Project
(under Build
in the menu bar)src/main/java
is the only Source folder, src/main/resources
is the only Resource folder, and target
is the only Excluded folder (in Project Settings -> Modules)If none of these work, then I honestly don't know, but I can probably look into it a bit more
Yeah.. same problem Tried rebuilding and setting the resources folder (which I forgot to set already, lol) as well as ensuring the source, but it's still improper Do you need a screenshot of my artifacts' settings?
The problem could be though that the main root is not in the classpath? But I don't know how to put it in if that is the issue
If it's only affecting running the jar itself, yes, screenshots of the artifact settings would help. You don't need to build the jar to run/compile BCU, but I assume that this is the end goal at the moment.
We have a video on how to properly make an artifact, I'll see about being able to share that video (and if not, i'll say how to do it in text form)
The error occurs when running MainBCU from IntelliJ IDEA as a test run so compilation isn't truly the end goal here
Oh, that's weird.
Just to confirm, this is what you see on your side, right?
If this is all good and done, and Eclipse is the compiler (sometimes IntelliJ does a bad and randomly resets things for no reason), then I really am not sure. Maybe try Invalidating Caches?
This is my version. The problem in the Problems tab is this:
MMmmm yup I've got no idea, sorry. Maybe @MandarinSmell knows something about this? (I actually have no idea if this "pings" him or not, but we'll see)
This is more of IDE problem, not BCU's project file. This can be resolved by rebuilding project, invalidating cache, or recreating profile
Tried invalidating cache, but it cause this error, which I can't fix because I can't import this (Can't find, can't load with intellij)
That's again IDE's problem (IDE not being able to recognize third party library). Rerun maven, or rebuild project
library problem has been solved
BCU now launches in IntelliJ
nevermind,
Failed to get resource : jogl/util/shader/120.vp
It also crashes when viewing animations, lineups:
I assume this always happens in IntelliJ The error has to do with lang files
This isn't problem of the code, but your PC's hardware status. BCU uses OpenGL 1.2 or 1.3 to support as many devices as possible. Not being able to run OpenGL (Library is JOGL) means your hardware doesn't support OpenGL 1.X due to whatever reason, or you didn't install proper graphic driver
This isn't something that we can't help much because it's not problem of the code
Also open other issue rather than reusing same post if it's about different problem
Oh, okay
But BCU works normally for me without IntelliJ,.
Yeah I'm opening an issue again... This isnt a bug in the program but I've been hacking at this for a good while and have not been able to resolve it in any way
At this point I am absolutely dumbfounded about what the issue could be here, all of the information I've found online is too vague to be useful
Also the JAR compiles to be worryingly small and returns the same error when I try and run it with command line, and does not do anything else afterwards (no window or anything at all)
The same problem affects the BCU-Initializer artifact
I suspect that the java root of the project is not being put inside of the JAR, but I'm not sure how to fix that either IntelliJ's UI is very confusing to me so I am worried I made a really really dumb mistake here