pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

sdk 2.0.0 on windows: picoiasm and picotool miss dll entry

Open jancumps opened this issue 1 year ago • 1 comments

Using pico-sdk 2.0.0

When I build a project (e.g. pico-examples sdk-2.0.0, but also a simple hello world project), the picotools executables get built, but when executed a bit later in the build process, they fail.

[build] [19/8474   0% :: 0.605] Generating resistor_dac.pio.h
[build] FAILED: adc/dma_capture/resistor_dac.pio.h C:/Users/jancu/Documents/git/git_raspberry/pico-examples/build/adc/dma_capture/resistor_dac.pio.h 
[build] cmd.exe /C "cd /D C:\Users\jancu\Documents\git\git_raspberry\pico-examples\build\adc\dma_capture && C:\Users\jancu\Documents\git\git_raspberry\pico-examples\build\pioasm-install\pioasm\pioasm.exe -o c-sdk -v 0 C:/Users/jancu/Documents/git/git_raspberry/pico-examples/adc/dma_capture/resistor_dac.pio C:/Users/jancu/Documents/git/git_raspberry/pico-examples/build/adc/dma_capture/resistor_dac.pio.h"

If I try from the command line myself, I get failure:

image

Trying to type over the error, because I can't copy - paste from the error box. The procedure entry point _ZNSt7__cxx1118basic_stringstreamlcSt11char_traitslcESalcEEC1Ev could not be located in the dynamic link library

tested with

  • Pico ARM GCC
  • GCC 13.3.1 arm-none-eabi

OS: Edition Windows 11 Home Version 23H2 Installed on ‎30/‎09/‎2022 OS build 22631.3880 x64, 64 bit OS

jancumps avatar Aug 11 '24 12:08 jancumps

addition: sdk 1.5.1 works on the same Windows both 1.5.1 and 2.0.0 work on Ubuntu 22.0 LTS

jancumps avatar Aug 11 '24 20:08 jancumps

Works with g++ (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 13.2.0 on the OS path

jancumps avatar Aug 14 '24 20:08 jancumps