Error when compiling source code
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Error when compiling source code
Hi JOHANNES! I compiled the libopencm3 library, then started compiling the source code, and it throws compilation errors
Re: Error when compiling source code
I put together a script for Windows.
You will need:
1) Python3 to compile libopencm3 library (and use Johannes version)
2) GCC 4.8 for Windows
3) ARM Embedded compiler
4) MinGW
You will need:
1) Python3 to compile libopencm3 library (and use Johannes version)
2) GCC 4.8 for Windows
3) ARM Embedded compiler
4) MinGW
Re: Error when compiling source code
It is a Windows PowerShell
1) Open PowerShell console (Start -> search for powershell)
2) Navigate to directory -> cd C:\...\...\
2) Run script (normally with .\ just like linux) -> .\script.ps1
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Error when compiling source code
Issued these errors:
You cannot call a method on a null-valued expression.
At D:\test\source.ps1:24 char:23
+ foreach($item in $zip.items())
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At D:\test\source.ps1:24 char:23
+ foreach($item in $zip.items())
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Re: Error when compiling source code
It's a million times easier to just use a gitpod environment in your browser:
viewtopic.php?f=7&t=267#p3179
viewtopic.php?f=7&t=267#p3179