<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 26 Oct 2019, at 19:57, Tamás Kovács <<a href="mailto:kommykt@gmail.com" class="">kommykt@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I get a new computer with macOS Catalina. Now I want't to install the developer environment. I use the following commands:</div><div class=""><br class=""></div><div class=""><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- <span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#404040" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class="">sudo easy_install pip</font></font></font></span></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- download : <a href="https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz" style="color:rgb(0,0,128)" class="">https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz</a></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- <span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#404040" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class="">mkdir </font></font></font></span><span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#666666" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class="">-</font></font></font></span><span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#404040" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class="">p </font></font></font></span><span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#666666" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class="">~/</font></font></font></span><span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#404040" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class="">esp</font></font></font></span></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- cd <font color="#666666" class="">~/</font>esp</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- tar <font color="#666666" class="">-</font>xzf <font color="#666666" class="">~/</font>Downloads<font color="#666666" class="">/</font>xtensa<font color="#666666" class="">-</font>esp32<font color="#666666" class="">-</font>elf<font color="#666666" class="">-</font>osx<font color="#666666" class="">-</font><font color="#208050" class="">1.22</font><font color="#666666" class="">.</font><font color="#208050" class="">0</font><font color="#666666" class="">-</font><font color="#208050" class="">80</font><font color="#666666" class="">-</font>g6c4433a<font color="#666666" class="">-</font><font color="#208050" class="">5.2</font><font color="#666666" class="">.</font><font color="#208050" class="">0.</font>tar<font color="#666666" class="">.</font>gz</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- add this: “export PATH=$HOME/esp/xtensa-esp32-elf/bin:$PATH” to <font color="#e74c3c" class="">~/.profile </font><font color="#e74c3c" class="">without quotes ””</font></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class=""><a name="docs-internal-guid-d7e5012f-7fff-05b7-c283-60bd09698e2e" class=""></a>Git clone the OVMS ESP IDF repository:</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class=""><a name="docs-internal-guid-2b7804ec-7fff-ec65-37f1-770280d8f4ce" class=""></a><font color="#e74c3c" class=""><font face="Courier New" class=""><font style="font-size:8pt" class=""><span style="background-color:transparent" class="">- </span></font></font></font><font class=""><font face="Courier New" class=""><font style="font-size:8pt" class=""><span style="background-color:transparent" class="">git clone </span></font></font></font><a href="https://github.com/openvehicles/esp-idf.git" style="color:rgb(0,0,128)" class=""><font color="#1155cc" class=""><span style="text-decoration:none" class=""><font face="Courier New" class=""><font style="font-size:8pt" class=""><u class=""><span style="background-color:transparent" class="">https://github.com/openvehicles/esp-idf.git</span></u></font></font></span></font></a></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- cd esp-idf</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- git submodule update --init –recursive</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class=""><span style="background-color:transparent" class="">-</span><span style="background-color:transparent" class="">add this: “</span><font color="#404040" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">export IDF_PATH</font></font></font><font color="#666666" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">=~/</font></font></font><font color="#404040" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">esp</font></font></font><font color="#666666" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">/</font></font></font><font color="#404040" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">esp</font></font></font><font color="#666666" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">-</font></font></font><font color="#404040" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class="">idf</font></font></font><font color="#404040" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class=""><span style="background-color:transparent" class="">”</span></font></font></font><font color="#404040" class=""><font face="Menlo-Regular, serif" class=""><font style="font-size:11pt" class=""><span style="background-color:transparent" class=""> </span></font></font></font><font color="#404040" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class=""><span style="background-color:transparent" class="">to </span></font></font></font><font color="#e74c3c" class=""><font face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace" class=""><font style="font-size:6pt" class=""><span style="background-color:transparent" class="">~/.profile without quotes ””</span></font></font></font></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class=""><a name="docs-internal-guid-e80d4e3d-7fff-3e73-d5fd-e120f9ee84ef" class=""></a>Git clone the OVMS v3 repository and init the build configuration:</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class=""><span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font class=""><font face="Courier New" class=""><font style="font-size:8pt" class=""><span style="background-color:transparent" class="">- git clone </span></font></font></font></span><a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3.git" style="color:rgb(0,0,128)" class=""><span style="font-variant-ligatures:normal;font-variant-east-asian:normal" class=""><font color="#1155cc" class=""><span style="text-decoration:none" class=""><font face="Courier New" class=""><font style="font-size:8pt" class=""><u class=""><span style="background-color:transparent" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3.git</span></u></font></font></span></font></span></a></p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- cd Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- git submodule update --init --recursive</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- cp support/sdkconfig.default.hw31 sdkconfig</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">- make menuconfig</p><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class="">If I run the make app command I get the following error:</p><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">make app</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Toolchain path: /Users/kommykt/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Toolchain version: crosstool-ng-1.22.0-80-g6c4433a</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Compiler version: 5.2.0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">App "ovms3" version: 3.2.005-81-g00ab9db0</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Generating esp32.project.ld</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> File "/Users/kommykt/esp/esp-idf/tools/ldgen/ldgen.py", line 113, in <module></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> main()</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> File "/Users/kommykt/esp/esp-idf/tools/ldgen/ldgen.py", line 88, in main</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> sections_infos.add_sections_info(sections_info_file_obj)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> File "/Users/kommykt/esp/esp-idf/tools/ldgen/generation.py", line 618, in add_sections_info</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> raise ParseException("File " + <a href="http://sections_info_file.name/" class="">sections_info_file.name</a> + " is not a valid sections info file. " + p.message)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">pyparsing.ParseException: File /Users/kommykt/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/app_trace/libapp_trace.a.sections_info is not a valid sections info file. (at char 0), (line:1, col:1)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">make: *** [/Users/kommykt/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/esp32/esp32.project.ld] Error 1</span></div><p style="margin-bottom: 0.25cm; line-height: 18.399999618530273px; background-color: transparent; font-family: -webkit-standard;" class=""><br class=""></p></div></div></div></div></div></blockquote><br class=""></div><div><br class=""></div><div>As it happens I've been trying the same on my mac (10.15). I created a little install script and a seperate environment script.</div><div><br class=""></div><div>dev.sh :</div><div><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div><div><font face="Courier" class="">#!/bin/sh</font></div></div><div><div><font face="Courier" class=""><br class=""></font></div></div><div><div><font face="Courier" class=""># sudo easy_install pip</font></div></div><div><div><font face="Courier" class=""># pip install --user pyserial</font></div></div><div><div><font face="Courier" class=""># brew install ccache cmake ninja</font></div></div><div><div><font face="Courier" class=""># /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -m pip install --user -r /Users/plord/src/ovms/esp/esp-idf/requirements.txt</font></div></div><div><div><font face="Courier" class=""><br class=""></font></div></div><div><div><font face="Courier" class="">set -e</font></div></div><div><div><font face="Courier" class=""><br class=""></font></div></div><div><div><font face="Courier" class="">XTENSA=xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz</font></div></div><div><div><font face="Courier" class=""><br class=""></font></div></div><div><div><font face="Courier" class="">if [ ! -d esp ]</font></div></div><div><div><font face="Courier" class="">then</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>if [ ! -f ${XTENSA} ]</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>then</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>wget <a href="https://dl.espressif.com/dl/${XTENSA}" class="">https://dl.espressif.com/dl/${XTENSA}</a></font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>fi</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>mkdir esp</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cd esp</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>tar -xzf ../${XTENSA}</font></div></div><div><div><span class="Apple-tab-span" style="white-space:pre"><font face="Courier" class=""> </font></span></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>git clone <a href="https://github.com/openvehicles/esp-idf.git" class="">https://github.com/openvehicles/esp-idf.git</a></font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cd esp-idf</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>git submodule update --init --recursive</font></div></div><div><div><span class="Apple-tab-span" style="white-space:pre"><font face="Courier" class=""> </font></span></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cd ../..</font></div></div><div><div><font face="Courier" class="">fi</font></div></div><div><div><font face="Courier" class=""><br class=""></font></div></div><div><div><font face="Courier" class="">. env.sh</font></div></div><div><div><font face="Courier" class=""><br class=""></font></div></div><div><div><font face="Courier" class="">if [ ! -d Open-Vehicle-Monitoring-System-3 ]</font></div></div><div><div><font face="Courier" class="">then</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>git clone <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3.git" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3.git</a></font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cd Open-Vehicle-Monitoring-System-3</font></div></div><div><div><font face="Courier" class="">else</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cd Open-Vehicle-Monitoring-System-3</font></div></div><div><div><font face="Courier" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>git pull</font></div></div><div><div><font face="Courier" class="">fi</font></div></div><div><div><font face="Courier" class="">cd vehicle/OVMS.V3</font></div></div><div><div><font face="Courier" class="">git submodule update --init --recursive</font></div></div><div><div><font face="Courier" class="">cp support/sdkconfig.default.hw31 sdkconfig</font></div></div><div><div><font face="Courier" class="">make menuconfig</font></div></div><div><div><font face="Courier" class="">make app</font></div></div></blockquote><div><div><br class=""></div><div>env.sh :</div><div><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div><div><div><font face="Courier New" class="">PATH=$(pwd)/esp/xtensa-esp32-elf/bin:$PATH</font></div></div></div><div><div><div><font face="Courier New" class="">export PATH</font></div></div></div><div><div><div><font face="Courier New" class=""><br class=""></font></div></div></div><div><div><div><font face="Courier New" class="">IDF_PATH=$(pwd)/esp//esp-idf</font></div></div></div><div><div><div><font face="Courier New" class="">export IDF_PATH</font></div></div></div></blockquote><div><div><div><br class=""></div><div><br class=""></div><div>Build completed</div><div><br class=""></div><div>I didn't see any obvious difference to what you ran.</div><div><br class=""></div><div>Pete</div><div><br class=""></div><div><br class=""></div><div><br class=""></div></div></div><br class=""></body></html>