On 2023/10/10 12:20, andy pugh wrote:
On Tue, 10 Oct 2023 at 10:48, Marius <mar...@mastercut.co.za> wrote:

It seems that halcompile has issues in master. it does not recognize a
.c file as legitimate and if you rename that to .comp it gets an error

ValueError: not enough values to unpack ( expected 2, got 1)
That error is because there is no ;; separator in your C file. (nor
should there be)

Renaming the file is not the answer here.

Which halcompile command are you using?

For RIP I used halcompile -- compile -- userspace file.comp

and die the same for installed but with sudo.


I would expect some of the tests to fail if halcompile no longer
recognised .c files, specifically
https://github.com/LinuxCNC/linuxcnc/blob/7823799b76cf644818f3a142eed5724392b2612c/tests/uspace/spawnv-root/test.sh
https://github.com/LinuxCNC/linuxcnc/blob/7823799b76cf644818f3a142eed5724392b2612c/tests/halcompile/command_line_flags/test.sh
Though both of those test the building of a non-realtime component.



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to