Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installation instruction. #1

Open
Philosophist opened this issue Jan 23, 2023 · 3 comments
Open

Windows installation instruction. #1

Philosophist opened this issue Jan 23, 2023 · 3 comments

Comments

@Philosophist
Copy link

I had to restart windows after some of the installation to get around an error when trying to run the command cmake -G "NMake Makefiles" .. It might have been Cmake or something that needed a restart after installation. Worth adding a restart step to the instructions. Thanks so much for making these instructions publicly available.

@AndrewCannon
Copy link

I have been trying to get this to compile for a few nights now. I have tried a fresh install of VS2022 and 2019 and restarting. I was able to build and compile the "pico-example." I tried doing all of this in a dev container. I googled around and saw that some people had the same error and changed the generator to "MinGw" but this also didn't work (maybe I need to note this change somewhere else?). Below is the error message I get. I am pretty to new compilers so I could be doing something wrong but I followed the "Setting up the Raspberry Pi Pico for C/C++ Development on Windows" closely.

Any suggestions on what to try to fix this error?

I'm also new to microcontrollers and got interested in them after tinkering with my 3d printer and the Klipper FW. My only other experience is doing the Advent Calendar from PiHut but that used micropython (OMG so much simpler haha). I understand that there is a lot more control using C but do you think I could try to do this course using micropython? This compiling stuff is driving me nuts.

C:\Users\xxx\Desktop\personal\PicoStuff\Hunter-Adams-RP2040-Demos\build>cmake -G "NMake Makefiles" ..
Using PICO_SDK_PATH from environment ('..\..\pico-sdk')
PICO_SDK_PATH is C:/Users/xxx/Desktop/personal/PicoStuff/pico-sdk
Defaulting PICO_PLATFORM to rp2040 since not specified.
Defaulting PICO platform compiler to pico_arm_gcc since not specified.
-- Defaulting build type to 'Release' since not specified.
PICO compiler is pico_arm_gcc
CMake Error at CMakeLists.txt:6 (project):
  Running

   'nmake' '-?'

  failed with:

   no such file or directory

-- Configuring incomplete, errors occurred!

@HarryDrones
Copy link

I'm just a hobbyist and I wouldn't even be looking here if I had not been able to try the beacon example as a .uf2 . Any chance the voice version could be compiled into a .uf2 for download ? I want to try using a simple analog AM circuit output as the input on the Pico ADC and then use SDR to hear it. The beacon comes in loud and clear on the SDR.

@vha3
Copy link
Owner

vha3 commented Apr 23, 2024

Hi HarryDrones, can you send me an email ([email protected]), and I'll send you a .uf2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants