Hi Andreas, Glenn,

I think Andreas is right. It seems that the compiler cannot find the device 
file for your PIC (in the lib directory) and so adding that path with the -s 
option should fix it.

Welcome back Glenn and good luck getting started again.

Kind regards,

Rob

________________________________
Van: '[email protected]' via jallib <[email protected]>
Verzonden: woensdag 28 februari 2024 10:49
Aan: jallib <[email protected]>
Onderwerp: [jallib] Re: Linux Issues

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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/1b8e8f6c-925c-4f08-bed3-3a08c422aa1dn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/1b8e8f6c-925c-4f08-bed3-3a08c422aa1dn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/GVXP195MB1637FB6ECD714B13274ED840E6582%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to