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)
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
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
Copy link to clipboard
Copied
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