Hi Adam -
Oh! An excellent find. Thank you for pointing that out. I'll get a PR together right away to fix it.
TL;DR: There's a mistake in the component cmake file:
[project]/components/wolfssl/CMakeLists.txt
Change line 85 of the template CMakeLists.txt file:
https://github.com/wolfSSL/wolfssl/blob … ts.txt#L85
Specifically: replace the
with:
In more detail, Here's what I did:
In my C:\test directory, I created an "Adam" directory, and cloned wolfSSL into it:
Also in my C:\test directory, I created a "MyProject" directory:
(for now, let's make sure there are no spaces in any of the paths)
I copied the contents of the sample template project:
C:\test\adam\wolfssl\IDE\Espressif\ESP-IDF\examples\template
to the c:\test\myproject directory.
There should now be a VisualGDB directory, here:
C:\test\myproject\VisualGDB
I used the system control panel applet to set the environment variables:
Variable Name:
WOLFSSL_ROOT
Variable Value:
C:\test\adam\wolfssl
make sure there are no embedded spaces, particularly if using commandline:
WOLFSSL_ROOT=C:\test\adam\wolfssl
Open the VisualGDB project:
C:\test\myproject\VisualGDB\wolfssl_template_IDF_v5.1_ESP32.vgdbproj
(observe error at project load time)
Edit the cmake file as described above.
C:\test\myproject\components\wolfssl\CMakeLists.txt
Right click and reload the project. All should be well now.
Please give that a try and let me know how it goes.
My sincere apologies for this problem. Best Regards.
Jim
edit: I've created GitHub issue 7148 to fix this.
https://github.com/wolfSSL/wolfssl/pull/7148