Highlighted

Library not found for -lstdc++ in adt on Windows 10

Explorer ,
Dec 19, 2015

Copy link to clipboard

Copied

I'm trying to pack ipa on Windows 10 with adt and i get an error:

ld: library not dound for -lstdc++

ld: library not dound for -lstdc++

Compilation failed while executing : ld64

I am used AIR SDK 20 beta

How to fix it?

Thank you.

TOPICS
Development

Views

972

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Library not found for -lstdc++ in adt on Windows 10

Explorer ,
Dec 19, 2015

Copy link to clipboard

Copied

I'm trying to pack ipa on Windows 10 with adt and i get an error:

ld: library not dound for -lstdc++

ld: library not dound for -lstdc++

Compilation failed while executing : ld64

I am used AIR SDK 20 beta

How to fix it?

Thank you.

TOPICS
Development

Views

973

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 19, 2015 0
Adobe Employee ,
Dec 19, 2015

Copy link to clipboard

Copied

Hi ,

Can you let us know the command you are using to package the ipa?

Roshan

Adobe AIR

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2015 0
Explorer ,
Dec 19, 2015

Copy link to clipboard

Copied

Hi!

My  .bat script:

set AIR_SDK=C:\work\sdks\AIRSDK_20

set iOS_SDK=C:\work\sdks\iPhoneOS.sdk

set PROVISIONING_FILE=C:\work\~cert\FlashPressAll.mobileprovision

set KEYSTORE_FILE=C:\work\~cert\sertificate.p12

set KEYSTORE_PASSWORD=!Q2w3e4r5t

set ADT=%AIR_SDK%\bin\adt.bat

start %ADT% -package -target ipa-debug-interpreter ^

        -storetype pkcs12 -keystore %KEYSTORE_FILE% -storepass %KEYSTORE_PASSWORD% -provisioning-profile %PROVISIONING_FILE% ^

        example.ipa .\Main-app.xml .\Main.swf ^

        -platformsdk %iOS_SDK% ^

        -extdir ..\ane

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2015 0
Adobe Employee ,
Dec 19, 2015

Copy link to clipboard

Copied

Hi, Thanks,

Can you try a simple hello world application without using -platformsdk ? Let us know the result.

-Roshan

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2015 0
Explorer ,
Dec 19, 2015

Copy link to clipboard

Copied

Without -platformsdk all good, ipa created.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2015 0
Adobe Employee ,
Dec 19, 2015

Copy link to clipboard

Copied

Thank you,

We are looking into this issue. Will update as soon as we have the fix for it.

-Roshan

Adobe AIR

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 19, 2015 0
Adobe Employee ,
Jan 06, 2016

Copy link to clipboard

Copied

Hi ,

We investigated the issue and found that this issue will be encountered if the lib folder inside the PhoneOS.sdk\usr does not contain all the libraries.

Kindly verify if you have all the libs present there including the one with soft links (you can compare it with the Xcode if possible) .There should be a total of 169  files inside that folder if you are using 9.0 SDK.

Please recheck and let us know if you are still facing this issue.

-Roshan

Adobe AIR.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 06, 2016 0
Explorer ,
Apr 19, 2018

Copy link to clipboard

Copied

we have similar issue using latest iossdk 11

ld: library not dound for -lc++

ld: library not dound for -lc++

Compilation failed while executing : ld64

We have to use platformsdk as on windows air sdk 29 still has issues signing ipa containing ios third party dynamic framework.

On mac air sdk works as expected but not on windows.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2018 0
Explorer ,
Apr 19, 2018

Copy link to clipboard

Copied

as a solution we added needed libs from air sdk to iphone sdk folder

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 19, 2018 0