Hi Glenn, I'm also on Linux for a similar long time. There is no problem with the compiler on Linux I'm aware off. 1.) In your case the library file called '16f877a.jal' can not be found. Usually it will be seen in subdirectory 'lib' (same hirarchy as folder compiler). First check if it is there. 2.) I usually add a path with '-s <path>' when I call the comiler to tell where to search for includes e.g.: /home/schloegl/Programme/jalv25r6/compiler/jalv2-x86-64 -no-variable-reuse *-s /home/schloegl/Programme/jalv25r6/lib/* -s /home/schloegl/Projekte/KWS/kwsremote.v5/sender/jalv2/ kwsremote5_send.jal
Adding the path will fix this issue. Hope you can fix it. Andreas On Wednesday, February 28, 2024 at 10:34:34 AM UTC+1 Glenn Walsh wrote: > Hi guys. > > I have been using JAL on and off for about 15 years, but haven't used it > recently. I downloaded the latest version and unpacked on my Linux Mint > laptop and cannot get the compiler to work. I have used JAL under LInux > before without problems, so this has been really frustrating. > > It must be something to do with permissions to access the library folder > because the compiler runs, but cannot access the device files so throws > errors. I have tried lots of changes to the permissions without success and > reloaded jallib-master again tonight. > > $ jallib-master/compiler/jalv2-x86-64 projects/test/16f877a_blink.jal -s > /jallib-master/include/ > > gives me > > jal jalv25r8 (compiled May 20 2023) > generating p-code > projects/test/16f877a_blink.jal:26: cannot open '16f877a.jal' > projects/test/16f877a_blink.jal:32: unknown pragma target: osc > projects/test/16f877a_blink.jal:32: "osc" not defined > projects/test/16f877a_blink.jal:32: unexpected token: osc > 4 errors, 0 warnings > > Any ideas? > > Thanks in advance > > Glenn > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/1b8e8f6c-925c-4f08-bed3-3a08c422aa1dn%40googlegroups.com.
