I recieved my Pico 2W board, switching my Pico 1 board with the Pico 2W, was a little bit of a nightmare, but I got it without breaking anything ![]()
New Devlog Coming Out On Saturday
It will basically be me unboxing my Pico 2W, and then yapping about the build error iām getting for around 30 secondsā¦
Is there anything for Pico graphics in the Pico SDK?
The only aspect of the Pico that intrinsically has anything to do with graphics is HSTX on the RP2350, which is designed with DVI in mind but leaves the implementation details up to the user. Aside from that, the RP2040 and RP2350 can both be used with numerous different SPI and I2C displays. Consequently, the Pico SDK exposes interfaces for SPI and I2C but is display-agnostic.
@BlairLeduc Does you picocalc-text-starter have anything which does graphics at 1 bit level (monochrome)?
No, it doesnāt. It is a starter library to get you going with the standard C library using printf and fwrite. The standard C library does not have graphic functions.
Though it would be awesome if someone ported SDL to the PicoCalc!
I could try make an SDL-like graphics thing for the PicoCalc.
You definitely could, though it would not be an easy path.
What if I try an merge a SDL like graphics thing with pkklib?
That is still not an easy path.
focus, get a basic text only screen working first before you add a whole graphics layer
I hoped for Vulkan support but SDL is great too! ![]()
Joke aside, maybe should take a look on SFML, they have an android port.
A lot of work indeedā¦
Different Codes for the OS:
- Main Source Code (only I will be able to access it)
- API code (everyone can access it)
- Preinstalled apps code (verified app developers will gain access to it)
Does this seem fair?
Build Errors!
PS C:\Users\...\coding\other\astralixiOS\build> cmake ..
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/.../.pico-sdk/toolchain/14_2_Rel1/bin/arm-none-eabi-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Users/.../.pico-sdk/toolchain/14_2_Rel1/bin/arm-none-eabi-gcc.exe
-- Check for working C compiler: C:/Users/.../.pico-sdk/toolchain/14_2_Rel1/bin/arm-none-eabi-gcc.exe - broken
CMake Error at C:/Users/.../.pico-sdk/cmake/v3.31.5/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"C:/Users/.../.pico-sdk/toolchain/14_2_Rel1/bin/arm-none-eabi-gcc.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'C:/Users/.../coding/other/astralixiOS/build/CMakeFiles/CMakeScratch/TryCompile-24ynkb'
Run Build Command(s): C:/Users/.../.pico-sdk/ninja/v1.12.1/ninja.exe -v cmTC_4da22
[1/2] C:\Users\...\.pico-sdk\toolchain\14_2_Rel1\bin\arm-none-eabi-gcc.exe -o CMakeFiles/cmTC_4da22.dir/testCCompiler.c.obj -c C:/Users/.../coding/other/astralixiOS/build/CMakeFiles/CMakeScratch/TryCompile-24ynkb/testCCompiler.c
[2/2] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\Users\...\.pico-sdk\toolchain\14_2_Rel1\bin\arm-none-eabi-gcc.exe CMakeFiles/cmTC_4da22.dir/testCCompiler.c.obj -o cmTC_4da22.exe -Wl,--out-implib,libcmTC_4da22.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
FAILED: cmTC_4da22.exe
C:\WINDOWS\system32\cmd.exe /C "cd . && C:\Users\piyus\.pico-sdk\toolchain\14_2_Rel1\bin\arm-none-eabi-gcc.exe CMakeFiles/cmTC_4da22.dir/testCCompiler.c.obj -o cmTC_4da22.exe -Wl,--out-implib,libcmTC_4da22.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/Users/.../.pico-sdk/toolchain/14_2_Rel1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '--major-image-version'
C:/Users/.../.pico-sdk/toolchain/14_2_Rel1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: use the --help option for usage information
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:18 (project)
-- Configuring incomplete, errors occurred!
Update: The issue is to do with the arm-none-eabi-gcc thing and Iām trying to figure out whatās wrong with it
See New Error Message and Other Stuff Here:
