Closed darkstar007 closed 2 years ago
Hi Matt, Oops, Forgot to add this file last time. Now I've added it. Best regards, -- B
Hi B,
Thanks, but I now get:
$ make BUILD_DIR=/home/matt/litex_2022/build/radiona_ulx3s/
CC tinyraytracer.o
In file included from demos/tinyraytracer.c:6:
demos/demos.h:4:10: fatal error: command.h: No such file or directory
#include "command.h"
^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:110: tinyraytracer.o] Error 1
Matt
On the command line you need to specify where LiteX is installed:
$ make LITEX_DIR=<your local installation of LiteX> LITEX_PLATFORM=radiona_ulx3s (or whatever you are using)
Alternatively, you can edit the Makefile and make it point to your local installation of LiteX:
# find BUILD_DIR without using Python wrapper
LITEX_DIR?=/home/blevy/Programming/LiteX
LITEX_PLATFORM?=radiona_ulx3s
Ahh, OK, I was taking the instructions from here where it says:
$ make BUILD_DIR=<path where you synthesized LiteX>
It builds now thanks.
Thanks ! (I've fixed the documentation that was wrong !)
I also came across some typo's you might want to fix. On this, in the section on OpenFPGALoader
every command has openFPGALoader
spelt as openFLGALoader
!
Sorry, another typo in this page. In Step 2: Execute, it says:
$ lxterminal --kernel demo.bin /dev/ttyUSBnn
and should be:
$ lxterm --kernel demo.bin /dev/ttyUSBnn
Many thanks for your feedback and for the fixes !
Hi,
It looks like there is a missing include file:
I cannot see demos.h in the repos.....
Thanks, Matt