Page 1 of 1
Error when compiling source code
Posted: Sat Jun 13, 2020 7:39 am
by yaroslav
Hi JOHANNES! I compiled the libopencm3 library, then started compiling the source code, and it throws compilation errors
Re: Error when compiling source code
Posted: Sat Jun 13, 2020 9:10 am
by yaroslav
These are the errors
Re: Error when compiling source code
Posted: Sun Jun 14, 2020 12:30 am
by dima
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
Re: Error when compiling source code
Posted: Mon Jun 15, 2020 6:55 am
by yaroslav
You can write how to run the script?
Re: Error when compiling source code
Posted: Thu Jun 18, 2020 1:13 pm
by dima
yaroslav wrote: ↑Mon Jun 15, 2020 6:55 am
You can write how to run the script?
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
Re: Error when compiling source code
Posted: Thu Jun 18, 2020 2:30 pm
by yaroslav
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
Re: Error when compiling source code
Posted: Thu Jun 18, 2020 2:30 pm
by yaroslav
Что я делаю не так?
Re: Error when compiling source code
Posted: Thu Jun 18, 2020 2:54 pm
by cloudy
It's a million times easier to just use a gitpod environment in your browser:
viewtopic.php?f=7&t=267#p3179