Open jonshouse1 opened 2 years ago
missing Allegro library, try this: brew install Allegro
The problem is the main CMakeLists.txt file not finding or setting PICO_ON_DEVICE correctly and defaults to a regular build. Allegro isn't used for a pico build.
Open the CMakeLists.txt and add the following to lines at the top of the file:
cmake_minimum_required(VERSION 3.13)
set(PICO_BUILD 1)
set(PICO_ON_DEVICE 1)
You can also set these defines in the cmake build command line:
cmake -DPICO_BUILD=1 -DPICO_ON_DEVICE=1 -DPICO_BOARD=vgaboard ..
I struggle with build tools but I am at least following the instructions.
I have a Pico VGA demo board and have built and run the example code so I know at least some of the build environment is ok.
Trying to build b-em.
I have these bash environment variables set, not sure if cmake will pick them up or not. PICO_SDK_PATH, PICO_EXAMPLES_PATH, PICO_EXTRAS_PATH, PICO_PLAYGROUND_PATH
mkdir pico_build cd pico_build cmake with many goes at args
Gives me ...
Anyone any ideas? thanks.