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
when I generate a Xcode project with Projucer, the Extra Linker Flags are added as OTHER_LDFLAGS but when I generate a Xcode project with FRUT the EXTRA_LINKER_FLAGS are added as OTHER_LIBTOOLFLAGS. When I build with Xcode I get the following error: error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character W' in: -Wl`
I can fix that by changing the OTHER_LIBTOOLFLAGS to OTHER_LDFLAGS.
Example
Flags I set in Projucer:
Projucer generated project.pbxproj:
OTHER_LDFLAGS = "-lz -Wl -ld_classic";
But no OTHER_LIBTOOLFLAGS
FRUT/CMake generated project.pbxproj:
OTHER_LIBTOOLFLAGS = (" -lz -Wl -ld_classic");
But no OTHER_LDFLAGS
Maybe I have to change something in Xcode when built with FRUT/CMake generated Xcode project files, but I think the linker flags should be added as OTHER_LDFLAGS.
The text was updated successfully, but these errors were encountered:
Hi @McMartin,
when I generate a Xcode project with Projucer, the Extra Linker Flags are added as
OTHER_LDFLAGS
but when I generate a Xcode project with FRUT theEXTRA_LINKER_FLAGS
are added asOTHER_LIBTOOLFLAGS
. When I build with Xcode I get the following error:error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character
W' in: -Wl`I can fix that by changing the
OTHER_LIBTOOLFLAGS
toOTHER_LDFLAGS
.Example
Flags I set in Projucer:
Projucer generated project.pbxproj:
OTHER_LDFLAGS = "-lz -Wl -ld_classic";
But no
OTHER_LIBTOOLFLAGS
FRUT/CMake generated project.pbxproj:
OTHER_LIBTOOLFLAGS = (" -lz -Wl -ld_classic");
But no
OTHER_LDFLAGS
Maybe I have to change something in Xcode when built with FRUT/CMake generated Xcode project files, but I think the linker flags should be added as
OTHER_LDFLAGS
.The text was updated successfully, but these errors were encountered: