Gosu Library Selection Question

177 views
Skip to first unread message

tlajr007

unread,
Feb 13, 2019, 2:48:14 PM2/13/19
to gosu-lang
Hello all~

I am working with IntelliJ and Gosu for the first time (as part of an interview process).  I have received documentation (e.g., https://gosu-lang.github.io/intellij.html ), and I notice that after creating a new project, you appear to have to select all the Gosu .jar files (as shown with an animated gif in Step 4 on the link provided).  I do this with IntelliJ 17.3 and Gosu 4.2 (should be ok with versioning, I think), and notice that there are more Gosu .jar files seemingly available (see Libraries Selection Window attachment) than are shown in the walk-through (see Libraries attachment).  Do I have to select them all?  I have been, but keep running into errors (basically, that a library is not found; the one that seems to contain "Main" -see Last Attempt Error attachment). 

Main seems like it would be a pretty common command, so I'm starting to think that I've selected too many .jar files and it's creating a conflict...   Not sure, but I'm going to keep trying different combinations of the .jar files (probably omitting the "SNAPSHOT" ones first), but I thought I would check in with this forum to see if anyone had any quick guidance to provide a Gosu neophyte...

Thank you in advance for any help,
Tom A.


Libraries Selection Window.PNG
Libraries.PNG

tlajr007

unread,
Feb 13, 2019, 3:29:14 PM2/13/19
to gosu-lang
Well, I think I figured it out.  According to other documentation (found here: http://gosu-lang.github.io/docs.html):
"Gosu doesn't have the concept of a public static void main(String[] args) entrypoint. Instead, it has programs, which are just bits of code in file ending a .gsp extension."

I find it interesting that the Gosu-specific URL (the same base URL as above) with the animated gif shows this being a viable programming command (see attachment Code Hello World), when other documentation indicates it not.  Not the first time I've come across conflicting info, so I'll just carry on but wanted to share.  =)
Code Hello World.PNG

tlajr007

unread,
Feb 13, 2019, 5:57:15 PM2/13/19
to gosu-lang
I take that back; it still won't compile.  I saw another post on this thread (re: HelloWorld), which mentioned to disable Groovy plugins.  I've done that also, but no luck (see attached).  This is the simplest of programs, so I'm either missing something basic, or there's a conflict with another plugin (perhaps).  Any clues?  I'm running out of ideas, and I just keep rereading the same material to try and ensure I haven't missed anything 101...

Thanks in advance,
Tom
Post Groovy Disable.PNG

Ravi Teja

unread,
Aug 15, 2021, 8:03:50 PM8/15/21
to gosu-lang
Any luck ? I started learning gosu. Even i m having the same issues
Reply all
Reply to author
Forward
0 new messages