-
Notifications
You must be signed in to change notification settings - Fork 7
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
having trouble with windows and vs code setup #2
Comments
Just a note to say the python upload worked for basic.py after I changed the monitor port to windows com3. |
Picoprobe is only used for developing the Pi Pico software. It's OK to not have a device driver for 6502 development. It's also OK to not have a device driver if you're using USB/IP. EhBASIC doesn't have a maintainer right now. It needs to be updated for the SDK which has arguments for selecting the serial port. I don't think anyone is using the SDK under Windows right now. If they are, they haven't shared any documentation. Congratulations on the successful build. |
I made some progress on the vscode and the errno.h error was because it couldn't find the cc65 include files and I am not show how to fix that so I just copied them into the project include. Next problem is Unresolved external '___mappederrno' referenced and Unresolved external '___seterrno' referenced in: then not sure how to connect it via the terminal. |
what does $ git submodule update --init do ? |
I am still suck with these errors [build] Unresolved external '___seterrno' referenced in: from write.s from errno.h so it my problem still related to the cc65 librarys ? |
Yes, a lot of these errors look like problems finding the CC65 includes. |
Was trying to help and got an environment under windows working. notice the 2 _ rather then the 3 the compiler and errno.inc was asking for |
So much for stability and backwards compatibility of 20 year old software. |
After adding this to the cmakelists.txt this one worked this one has the Errol when it uses my local project it compiled ok until it tried to link could cygwin64 have anything to so with it ? |
Next is trying to document everything. |
Looking at both versions of the online docs (sigh) it seems like the Windows installer may (or may have in the past) set the CC65_HOME environment variable. If it doesn't, or you need CC65 somewhere else like drive D:, then setting this environment variable is much better then editing the SDK CMakeLists.txt. It's also possible to configure this in VSCode settings.json instead of your OS environment:
|
Thanks, I have setup a VM with windows and have recorded a setup that worked start to end. |
I have a video showing how I setup VScode |
HI,
I just built my picocomputer and I am trying to setup on windows with vs code.
when I press F7 this is my output
[main] Building folder: picotest1-main [build] Starting build [proc] Executing command: "C:\Program Files\CMake\bin\cmake.exe" --build c:/pico6502/picotest1-main/build --config Debug --target all -j 18 -- [build] [ 3%] �[32mBuilding ASM object rp6502-sdk/CMakeFiles/rp6502.dir/src/crt0.s.obj�[0m [build] [ 7%] �[32mBuilding C object rp6502-sdk/CMakeFiles/rp6502.dir/src/close.c.obj�[0m [build] [ 11%] �[32mBuilding ASM object rp6502-sdk/CMakeFiles/rp6502.dir/src/initenv.s.obj�[0m [build] [ 14%] �[32mBuilding C object rp6502-sdk/CMakeFiles/rp6502.dir/src/lseek.c.obj�[0m [build] [ 18%] �[32mBuilding ASM object rp6502-sdk/CMakeFiles/rp6502.dir/src/mainargs.s.obj�[0m [build] [ 22%] �[32mBuilding C object rp6502-sdk/CMakeFiles/rp6502.dir/src/open.c.obj�[0m [build] [ 25%] �[32mBuilding ASM object rp6502-sdk/CMakeFiles/rp6502.dir/src/oserrlist.s.obj�[0m [build] C:/pico6502/picotest1-main/rp6502-sdk/src/lseek.c(11): Error: Include file 'errno.h' not found [build] 2 errors and 0 warnings generated. [build] C:/pico6502/picotest1-main/rp6502-sdk/src/lseek.c(25): Error: Call to undeclared function '_mappederrno' [build] make[2]: *** [rp6502-sdk/CMakeFiles/rp6502.dir/build.make:127: rp6502-sdk/CMakeFiles/rp6502.dir/src/lseek.c.obj] Error 1 [build] make[2]: *** Waiting for unfinished jobs.... [build] [ 29%] �[32mBuilding ASM object rp6502-sdk/CMakeFiles/rp6502.dir/src/oserror.s.obj�[0m [build] [ 33%] �[32mBuilding C object rp6502-sdk/CMakeFiles/rp6502.dir/src/read.c.obj�[0m [build] [ 37%] �[32mBuilding C object rp6502-sdk/CMakeFiles/rp6502.dir/src/randomize.c.obj�[0m [build] C:/pico6502/picotest1-main/rp6502-sdk/src/read.c(2): Error: Include file 'errno.h' not found [build] C:/pico6502/picotest1-main/rp6502-sdk/src/read.c(17): Error: Call to undeclared function '_mappederrno' [build] 2 errors and 0 warnings generated. [build] make[2]: *** [rp6502-sdk/CMakeFiles/rp6502.dir/build.make:192: rp6502-sdk/CMakeFiles/rp6502.dir/src/read.c.obj] Error 1 [build] make[1]: *** [CMakeFiles/Makefile2:126: rp6502-sdk/CMakeFiles/rp6502.dir/all] Error 2 [build] make: *** [Makefile:91: all] Error 2 [build] Build finished with exit code 2
I have made sure my project has the correct files in rp6502-sdk
new install of cc65
I am a casual programmer and don't use vscode all that much, but I did use cc65 for the c64.
also not sure what to do with the pyserial and my device manager has a issue with the device
The text was updated successfully, but these errors were encountered: