You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built the libraries on macos, and botht .a and .dylib are created. such as
ll /usr/local/lib/libPocoFoundation* -rwxr-xr-x 1 david admin 2.1M Apr 1 14:56 /usr/local/lib/libPocoFoundation.92.dylib
-rwxr-xr-x 1 david admin 2.1M Apr 1 14:56 /usr/local/lib/libPocoFoundation.92.dylib.bak
-rw-r--r-- 1 david admin 3.6M Oct 21 16:16 /usr/local/lib/libPocoFoundation.a
lrwxr-xr-x 1 david admin 26B Oct 14 14:29 /usr/local/lib/libPocoFoundation.dylib -> libPocoFoundation.92.dylib
-rwxr-xr-x 1 david admin 7.6M Oct 17 15:57 /usr/local/lib/libPocoFoundationd.92.dylib
-rw-r--r-- 1 david admin 29M Oct 21 16:13 /usr/local/lib/libPocoFoundationd.a
lrwxr-xr-x 1 david admin 27B Oct 14 14:26 /usr/local/lib/libPocoFoundationd.dylib -> libPocoFoundationd.92.dylib
I tried to use the static link of the .a files, but seems in the VSCOde, it always just use the dylib, which cause distribute touble.
In my vscode json, i use
"-lPocoFoundation",
"-lcrypto",
"-lssl",
is good to link, but if I test a force link of .a as
For #1, I updated the build_cmake.sh again to add the
POCO_STATIC=1
and I can see the only generated file are .a
So it is not an issue.
I will close it now.
Thanks
ld: warning: object file (/usr/local/lib/libPocoFoundation.a(inffast.c.o)) was built for newer macOS version (13.2) than being linked (12.3)
ld: warning: object file (/usr/local/lib/libPocoFoundation.a(inflate.c.o)) was built for newer macOS version (13.2) than being linked (12.3)
ld: warning: object file (/usr/local/lib/libPocoFoundation.a(inftrees.c.o)) was built for newer macOS version (13.2) than being linked (12.3)
I built the libraries on macos, and botht .a and .dylib are created. such as
I tried to use the static link of the .a files, but seems in the VSCOde, it always just use the dylib, which cause distribute touble.
In my vscode json, i use
is good to link, but if I test a force link of .a as
and I will get such error
SO, my question is, actually I set to built only static lib,
1, why I also have the .dylib files?
In the build_cmake.sh, I add
to the command for both debug and release.
2,
How to use poco in static lib on macos?
The text was updated successfully, but these errors were encountered: