Hi,
i installed Xcode 5 and i use Livecode 6.1.2 Community Version. When i save as standalone application i get this:
linking for armv7 failed with g++: failed to exec /Applications/Xcode.app/Contents/Developer/usr/bin/clang++: No such file or directory
Can anyone help me to solve this issue?
Thanks in advance
linking for armv7 failed with g++: failed to exec /Applicati
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: linking for armv7 failed with g++: failed to exec /Appli
Hi Nana,
This error occurs when you don’t have Xcode’s command lines tools set /installed.
You will be able to check this by going to Xcode’s Preferences, navigating to locations tab and the looking at the entry next to “Command Line Tools”.
If this is blank, please select an available toolset from the drop down menu or if none are available, please navigate to the downloads tab and there should be the option to download the command line tools.
Kind Regards
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
LiveCode – Realize fast, compile-free coding
--
This error occurs when you don’t have Xcode’s command lines tools set /installed.
You will be able to check this by going to Xcode’s Preferences, navigating to locations tab and the looking at the entry next to “Command Line Tools”.
If this is blank, please select an available toolset from the drop down menu or if none are available, please navigate to the downloads tab and there should be the option to download the command line tools.
Kind Regards
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
LiveCode – Realize fast, compile-free coding
--
Re: linking for armv7 failed with g++: failed to exec /Appli
This problem seems to have comeback with Xcode 6
I have successfully used the LiveCodeSDK-R14. The SDK has not changed since Sept 2012.
I understand that "GCC compiler no longer ships in Xcode 5 or 6"
Xcode Error
/Users/myName/Library/Application Support/RunRev/Components/LiveCodeSDK/tools/lclink.sh: line 34: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++: No such file or directory
and this is NOT fixed with installing the latest Command line tools? as apparently used to work
lclink.sh, line 34 is
"$PLATFORM_DEVELOPER_BIN_DIR/g++" -dynamiclib $ARCHS -isysroot "$SDKROOT" -o "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.dylib" "$BUILT_PRODUCTS_DIR/$EXECUTABLE_NAME" $SYMBOL_ARGS $SYMBOLS $DEPS
if [ $? != 0 ]; then
echo "error: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the $PRODUCT_NAME.ios file"
exit $?
fi
There is no g++ at that directory location - it was installed there in Xcode 4.6
I have Command Line Tools 6.1 installed - I also tried changing to Command Line Tools 4.6, without success
Because of the issues with Popups on iOs apps under iOS 8, I can't just build under Xcode 4.6, and use it in iOs 8
This is stopping me on a shipping product.
Any suggestions?
I have successfully used the LiveCodeSDK-R14. The SDK has not changed since Sept 2012.
I understand that "GCC compiler no longer ships in Xcode 5 or 6"
Xcode Error
/Users/myName/Library/Application Support/RunRev/Components/LiveCodeSDK/tools/lclink.sh: line 34: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++: No such file or directory
and this is NOT fixed with installing the latest Command line tools? as apparently used to work
lclink.sh, line 34 is
"$PLATFORM_DEVELOPER_BIN_DIR/g++" -dynamiclib $ARCHS -isysroot "$SDKROOT" -o "$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.dylib" "$BUILT_PRODUCTS_DIR/$EXECUTABLE_NAME" $SYMBOL_ARGS $SYMBOLS $DEPS
if [ $? != 0 ]; then
echo "error: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the $PRODUCT_NAME.ios file"
exit $?
fi
There is no g++ at that directory location - it was installed there in Xcode 4.6
I have Command Line Tools 6.1 installed - I also tried changing to Command Line Tools 4.6, without success
Because of the issues with Popups on iOs apps under iOS 8, I can't just build under Xcode 4.6, and use it in iOs 8
This is stopping me on a shipping product.
Any suggestions?
Re: linking for armv7 failed with g++: failed to exec /Appli
Hi rca,
I believe the issue nana was experiencing was slightly different from yours but the below should hopefully give you some leads.
There are quite a few changes needed within the iOS SDK to bring support with the latest versions of Xcode. We are aware of those issue and are actively looking at updating the SDK asap.
More information on this can be found in the following bug reports-
http://quality.runrev.com/show_bug.cgi?id=11846
http://quality.runrev.com/show_bug.cgi?id=11430
I especially recommend checking our the second link as it explains how to create a symbolic link to g++ within its new directory.
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
I believe the issue nana was experiencing was slightly different from yours but the below should hopefully give you some leads.
There are quite a few changes needed within the iOS SDK to bring support with the latest versions of Xcode. We are aware of those issue and are actively looking at updating the SDK asap.
More information on this can be found in the following bug reports-
http://quality.runrev.com/show_bug.cgi?id=11846
http://quality.runrev.com/show_bug.cgi?id=11430
I especially recommend checking our the second link as it explains how to create a symbolic link to g++ within its new directory.
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--