Using tgFX on mac osx

Home Forums TinyG TinyG Support Using tgFX on mac osx

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3693
    freemoore
    Member

    Hi guys,

    Will tgFX run on mac osx, and if so, how do I go about running it? Has anyone made this work yet?

    All the best,

    Andy

    #3694
    Riley
    Keymaster

    Andy,  I am coding tgFX on OSX.  Right now you can git pull on the github page and you should get the libs + code thatyou need.  YOu will need javafx2.2 and java 7 installed on osx.

     

    I hopefully will be pushing out some code updates here this weekend.  Its very much still under heavy development.  I would suggest that if you are not a dev, you should not use it in its current state.  Or do just air cutting until you feel its working as you expect it to.

     

    Riley

    #3698
    freemoore
    Member

    Very happy to hear it! I tried pulling the github page, and installing the javafx/java7 bits as indicated but stalled because of some errors.

    My understanding was that I should open the nbproject within netbeans IDE then compile and run from there.

    I get an error in ‘Main.java’ on line 65: import jfxtras.labs.scene.control.BeanPathAdapter;

    and in ‘ResponseParser.java’ on line 13: import jfxtras.labs.dialogs.DialogFX;

    Tried searching for jfextras, but I couldn’t figure out how to install that as a plugin for the IDE (compile using gladew? eh?); stalled at that…any advice appreciated.

    I’ve tried installing on a windows 7 32bit machine from, the linked alpha release marked ‘tgFX_windows_1_0_2’. If I start that up and connect tinyg, it appears as COM9, but when I click connect the status window at the bottom gives me the following:

    [!] Failed to find a field called [“sr”] at [“sr”] while resolving [“sr”] in [{“r”:{“sr”:{“line”:0,”momo”:4,”posa”:0.000,”posx”:0.000,”posy”:0.000,”posz”:0.000,”stat”:1,”vel”:0.000}}}].Line Was: {“r”:{“sr”:{“line”:0,”posx”:0.000,”posy”:0.000,”posz”:0.000,”posa”:0.000,”vel”:0.000,”momo”:4,”stat”:1}}}

     

    at which point I’m out of things to try.  Hope that’s some use to you; looking forward to the mac release.

    best

    a

    #3699
    Riley
    Keymaster

    freemore,

    OK, so my bad.  There is much to be desired when it comes to tgFX and instructions.  I did write up a HOWTO in the developer section of the tgFX wiki for OSX.

    https://github.com/synthetos/tgFX/wiki/Developer-Notes

    This should get you EXACTLY what you need but are stumbling in the dark with no documentation! 🙂

    The beanpathadapter was something I was testing.. didnt work.. left in.. and did not commit the lib.  Either way pull this morning’s update.  I am running 357.01 firmware.  I am going to update here in a few to edge branch.  I don’t think anything major will be broken but I am just putting my “dev setup” out there.

    Today, Alden came over and we installed netbeans, tgfx, ftdi drivers all from scratch on his new mac. So I know the instructions should be good to go!

    If there is ANYTHING that is not clear on the wiki lets fix it!  There are BUGS in this code.  If you want to help out I can add you to tgFX project too!  Please test it out and open “issues” on the tgFX github page.

    ril3y

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.