FlexGUI Libraries?
JonnyMac
Posts: 9,102
I found this line in .flexgui.config
library {C:/MyPrograms/flexgui/include}Since there is multi-language support, does it make sense to include language-specific library paths as well?
Comments
The underlying compiler can handle multiple libraries (you can put the -L option on the command line multiple times, once for each library) but it isn't exposed in the GUI yet, except through the rather crude way of changing the compiler command in the Commands > Configure Commands... dialog box. It sounds like supporting multiple libraries in the GUI would be a useful addition, thanks for the suggestion.
That last line jumps up two directories, then down through images into raw. I don’t know if this works outside html or not, but it might.
I tried adding a second -L with the path to my Spin libraries; it did not work, Is it because your main library folder acts like an anchor for any library option?
No, the library paths should be independent (and seem to be when I try it out here). They're all relative to the current directory the program is running in. It probably wouldn't hurt to give complete paths to the library (like "C:\MyProp\Library").
Does your library path have spaces in it? Perhaps there's a bug in handling that. Could you share your command line and the errors it's showing?
I added a refernce to my time library like this:
Resulting error: This is the command output:
To fix this, I added "tsk::" to button descriptions and a "-width 72" to the library path fields, in pathbox.tcl
dgately
But... Every other time that window is opened (selecting the menu item, "Libraries directory..."), the UI is frozen. The OK button looks selected, but I can't click on any UI items except the red close box of the window. A third selection of the menu results in a working window... And on and on...
dgately
Thanks @dgately
dgately
There's a new binary release (4.0.1) containing these GUI fixes and some minor C bugfixes to fastspin, as well as the latest loadp2. As usual, it may be obtained either from my Patreon page (https://patreon.com/totalspectrum) or from Github (https://github.com/totalspectrum/flexgui/releases/latest).