Where should I look for when I see library not found during compile?

Hello,

I tried to compile https://github.com/labatrockwell/openTSPS/ and it showed:

  
ld: library not found for -lwebsockets  
clang: error: linker command failed with exit code 1 (use -v to see invocation)  

so I’ve been trying to find where the problem is. I can see libwebscokets is there under Linked Frameworks and Libraries but somehow Xcode can’t seem to find it. I cleaned the project (under Xcode) when I try to compile and the result is same. May I know where should I look for when the Xcode complain library not found? Thank you!

I don’t know TSPS so well but do you need to actually install libwebsockets first? If that’s not the case them you might make sure that it’s linked for both release and debug?

You might have to actually edit the linker setting in the XCode project file, like Build Settings -> Framework Search Paths?

Probably best also to post an issue on there Github page.
https://github.com/labatrockwell/openTSPS/issues

They have submodules in their repo - so maybe the problem is that those need to be updated and built too?

https://github.com/labatrockwell/openTSPS/blob/master/README.markdown
https://github.com/labatrockwell/openTSPS/blob/master/Release-notes.md

from the ReleaseNotes - you might need ofxLibwebsockets - so definitely check that its being included.

Hope that helps!

Thanks Joshua and Theo,

I just got some pointers from asking in OpenTSPS forum : http://forum.opentsps.com/index.php?topic=14729.0
Still on it but all library and frameworks seemed to be there so I am not sure where the broken link is. I was thinking that this might be a general linking issue so I might ask in OpenFramework first.

-Ed