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

[Mac OS X - CS5.5] Compiling / Linking Boost

Enthusiast ,
Nov 24, 2011 Nov 24, 2011

Hi,

I would like to use Boost filesystem library (like I did for my previous windows plugin).

Compiling Boost using Bjam utility works fine. But when I want to link against this library, I have got some linking troubles.

Assuming I have not  set the correct options for the compilation, Could anyone tell me which one to choose?

Actually, here it is my compile command: ./bjam address-model=32_64 architecture=x86 macosx-version=10.5 toolset=darwin-4.0 stage

Boost version: 1_48_0

Best regards,

Thomas.

TOPICS
SDK
1.1K
Translate
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

Enthusiast , Nov 25, 2011 Nov 25, 2011

I have finally solved my problem. Actually I used Boost_1_37_0 revision, the same I used the Windows.

I compiled those library using the following options:

address-model=32

architecture=x86

macosx-version=10.5

toolset=darwin-4.0

For using filesystem library, do not forget to use system library too.

Hoping this will help some of you.

Best regards,

Thomas.

Translate
Adobe
Enthusiast ,
Nov 25, 2011 Nov 25, 2011

I have finally solved my problem. Actually I used Boost_1_37_0 revision, the same I used the Windows.

I compiled those library using the following options:

address-model=32

architecture=x86

macosx-version=10.5

toolset=darwin-4.0

For using filesystem library, do not forget to use system library too.

Hoping this will help some of you.

Best regards,

Thomas.

Translate
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
Enthusiast ,
Nov 30, 2011 Nov 30, 2011
LATEST

If you want to use filesystem and system libs, do not forget to install_name_tool -change in order to update dependencies link between both libs.

Otherwise, you will have some runtimes troubles. Plugin won't be loaded.

Translate
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