You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ...
Building b-em via regular build
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Allegro (missing: ALLEGRO_LIBRARY ALLEGRO_FONT_LIBRARY
ALLEGRO_IMAGE_LIBRARY ALLEGRO_TTF_LIBRARY ALLEGRO_PRIMITIVES_LIBRARY
ALLEGRO_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
cmake/FindAllegro.cmake:83 (find_package_handle_standard_args)
CMakeLists.txt:48 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jon/b-em/pico_build/CMakeFiles/CMakeOutput.log".
Anyone any ideas? thanks.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: