libwebsockets won't build on OSX

tedwood
Posts: 11
Joined: Thu Mar 16, 2017 2:02 pm

libwebsockets won't build on OSX

Postby tedwood » Wed Apr 26, 2017 3:41 pm

I'm trying to build libwebsockets for the ESP32 on OSX from this repo:

https://github.com/warmcat/lws-esp32-factory

Everything builds OK, until the link stage, where it fails to link to functions in the previously created library libwebsockets.a
Doing an nm shows that the functions exist in the library. The library appears in the linker command line and the linker is definitely finding it. I've tried moving the library to the beginning and end of the line. With the same results.

Any suggestions?

T.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: libwebsockets won't build on OSX

Postby kolban » Wed Apr 26, 2017 10:24 pm

Looking at the project on GitHub, it appears to be only a few weeks old and the paint isn't likely to have dried on it yet. What I'd suggest you do is create an issue on the GitHub project page and looks for some assistance with the developer. Try and provide as much information as you possibly can. As a rule of thumb, I try and spend 3 times as much time writing a report as I would hope that a reader would spend reading and studying it.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 89 guests