• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ld: symbol(s) not found for architecture x86_64

Community Beginner ,
Oct 23, 2024 Oct 23, 2024

Copy link to clipboard

Copied

Hi All, I am getting below error when trying to build my native c++ plugin in xcode 15.2. 

Can anyone please help.

Thanks

 

Undefined symbols for architecture x86_64:

  "boost::this_thread::interruption_point()", referenced from:

      boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) in HttpUtils.o

  "boost::this_thread::disable_interruption::disable_interruption()", referenced from:

      boost::shared_mutex::lock() in HttpUtils.o

      boost::shared_mutex::lock_shared() in HttpUtils.o

  "boost::this_thread::disable_interruption::~disable_interruption()", referenced from:

      boost::shared_mutex::lock() in HttpUtils.o

      boost::shared_mutex::lock_shared() in HttpUtils.o

  "boost::detail::get_current_thread_data()", referenced from:

      boost::detail::interruption_checker::interruption_checker(_opaque_pthread_mutex_t*, _opaque_pthread_cond_t*) in HttpUtils.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

TOPICS
SDK

Views

319

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
community guidelines

correct answers 1 Correct answer

Explorer , Oct 25, 2024 Oct 25, 2024

Hi @Alam5EC6

Seems, Boost_thread library is missing in you project. You can add the library by following the below steps.
1.) Navigate to the "Build Phases" tab.
2.) Under "Link Binary With Libraries," click the "+" button.
3.) Click on "Add Other" and navigate to Boost framework (<SDK folder>/build/mac/release_cocoa64/pakacgefolder/contents/frameworks).
4.) Add the "boost_thread.framework" library.

- Ravi Pratap Sahu

Votes

Translate

Translate
Community Expert ,
Oct 23, 2024 Oct 23, 2024

Copy link to clipboard

Copied

Hi @Alam5EC6,

Please check if the sample plugins shipped with the SDK build for you or not. If not then cross check that you have set the dev env as per the recommendation by Adobe. You can check the documentation of the SDK for the recommended setup

-Manan

Votes

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
community guidelines
Explorer ,
Oct 25, 2024 Oct 25, 2024

Copy link to clipboard

Copied

LATEST

Hi @Alam5EC6

Seems, Boost_thread library is missing in you project. You can add the library by following the below steps.
1.) Navigate to the "Build Phases" tab.
2.) Under "Link Binary With Libraries," click the "+" button.
3.) Click on "Add Other" and navigate to Boost framework (<SDK folder>/build/mac/release_cocoa64/pakacgefolder/contents/frameworks).
4.) Add the "boost_thread.framework" library.

- Ravi Pratap Sahu

Votes

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
community guidelines