WSL2 and Building the PRU examples

Hello There,

I am building the PRU generation tools and examples…

I receive an error on WSL2 when building that keeps telling me via output that:

  1. make[2]: usr/bin/clpru: No such file or directory

This does not make sense to me. I have the files in that particular file location.

Seth

P.S. How can I build the PRU_CGT on WSL2 or would I need to use the armhf machines or a Linux machine (amd64)?

just a wild guess here… are you looking at ‘/usr/bin/clpru’ while the output is specifying ‘usr/bin/clpru’? that initial slash is significant, absolute vs relative path.

good luck
gomer

did you mean PRU_CGT (not GGT? code generation tools)??? on WSL2 (windows subsystem for linux)… where are your PRU processors in this configuration?

gomer

Hey @gomer ,

Seth here. Um, yes. CGT. Sorry. I tried with the slash for files but received another error on output.

Seth

P.S. For the processors, they are not on the machine I am using. I am building for the PRU chips but on a desktop via WSL2.