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

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.

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.

Similar Messages

  • Switched from a PC to MAC and want CS5!

    I switched from a PC to a MAC and I want CS5 on my MAC NOT CS6, I have the serial number but don't know how to download it onto my computer! Please help!!

    Go here: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    Please carefully read the download instructions or the links won't work.
    Gene

  • Ld error under x86 when linking boost serialization

    Hi all,
    I am trying to compile and link boost serialization project. I am doing this work under two architectures:
    - sparc using sunstudio12 libraries and CC version 5.8
    - x86 using sunstudio12 libraries and CC version 5.10
    Under sparc I can compile the code and generate libserialization.so, release and debug.
    However, I can't generate libserialization.so under x86 environment in debug mode (release mode works)
    Here are my variables:
    CPPFLAGS := -w -g -DDEBUG -KPIC -features=extensions -I.
    LDFLAGS := -G -Bsymbolic -Llib/x86/DEBUG -ldl -lm -lrt -lnsl -lsocket -lCstd -lCrun -I.
    The link takes about 2 minutes (few sconds under sparc) and ld crash displaying this message and generating a core:
    CC: Fatal error in ld: Segmentation Fault (core dumped)
    make: *** [home/.../boost/lib/x86/DEBUG/libserialization.so] Error 1
    I think ld crashes because I don't have enough space under the swap partition, but why is it works under sparc? and faster?
    Thanks for your help,

    One difference is debug data is due to the compiler version, not differences between sparc and x86.
    C++ 5.8 (in Sun Studio 11) generates debug data in stabs format. C++ 5.10 (in Sun Studio 12u1) generates debug data in dwarf format.
    By default, stabs data remains in the .o files and is not copied into the executable program.
    But dwarf data is copied into the executable. The program will need more memory when it is being linked, and take up more space on disk. (You can get the same effect with stabs if you link using the -xs option.) The dwarf data in the executable does not affect the amount of memory the running program needs, since it is not loaded into the program address space.
    The advantage of putting the debug data in the executable is that you do not need access to the original .o files when debugging the program. With stabs, if you delete or move the .o files, or run the program from a location where the .o files are not visible via the original path, the debugger can't find any debug data.
    Dwarf format does not allow omitting the debug data from the program; debugging via debug data in .o files is not an option.

  • If my iphone, ipad, MAC and macbook pro are all linked, and then I upgrade only my phone to iOS 7.0, does that have an effect on my calendar, etc.  It doesn't seem to be showing the same data it was before the update.  Lost lot of info from calendar.

    If my iphone, ipad, MAC and macbook pro are all linked, and then I upgrade only my ipone to IOS 7.0, does that have an effect on the linking to my other MAC products.  It seems my calendar has lost a lot of information since the upgrade.

    If you purchased Lion for your iMac, just log into the Mac App Store from your MacBook using the Apple ID under which you purchased Lion and go to the Purchases page. You will be able to download and install Lion there. 
    searching the internet i found a link to upgrtade to 10.7
    The only place you get get Lion is from the Mac App Store. If you found some other site, that was an illegal copy and almost certainly tied to someone else's Apple ID and hence unusable by you. If the link was just to the Mac App Store, see above.
    As to the problem with synchronization to iCloud, that's not a 10.6 question, so I'd suggest you take up that specific issue in either the Lion or iCloud forums, providing full details, and someone there can probably help you sort things out.
    Regards.

  • Cannot open camera RAW images from Sony DSC-RX100M3 camera.  Working on a Mac in Photoshop CS5 and have camera raw 6.7.

    Cannot open camera RAW images from Sony DSC-RX100M3 camera.  Working on a Mac with Photoshop CS5 and Camera Raw 6.7?

    Bruce,
    When I made the transition to digital some 8 years ago, I had tremendous help from a number of well documented websites, among which:
    http://www.luminous-landscape.com
    I think a lot of stuff there to get you seriously going. Another one is:
    http://www.computer-darkroom.com
    I sold all my film based stuff, except a Nikon F3 and a handful of lenses and a Paterson developing tank.
    The Nikon suspiciously smells like foam mirror damping strips chemically decaying.
    I sold my enlarger over the internet. The word "enlarger" caused me to be on SpamCops blacklist for a while.
    I'm in this since the seventies, and I think you'll be as amazed as I was at the possibilities and control you have. And no more bags with $300 worth of film that's consumed in one shoot.
    Jump in both feet! you won't be sorry. And these forums are the best help you can get.
    Good luck,
    Rob

  • Help in compiling/linking a DEVICE DRIVER in SOLARIS10 x86

    hello!
    PROBLEM:
    ++++++++++++++++++++++++++++++++++
    i need assistance in compiling/linking a video capture
    driver (bt848x) (http://bt848x.sourceforge.net/) for
    solaris 10 x86.
    the driver uses the /usr/lib/libc.a (specifically the _xtoll.o)
    which, if im not mistaken, is not available in solaris 10
    anymore. so how am i going to compile it?
    BACKGROUND:
    ++++++++++++++++++++++++++++++++++
    the original compile/link code in the makefile is:
    /usr/ccs/bin/ld -o bt848x -r bt848-cards.o bt848-driver.o
    bt848-kern.o i2c.o tuner.o sound-tda9875.o
    sound-msp3400.o _xtoll.o
    i modified it to:
    /usr/ccs/bin/ld -o bt848x bt848-cards.o bt848-driver.o
    bt848-kern.o i2c.o tuner.o sound-tda9875.o
    sound-msp3400.o -L/usr/lib -lc
    (NOTE: i removed the -r and _xtoll.o; and added
    -L/usr/lib -lc)
    the output was:
    Undefined ____________ first referenced
    symbol ______________ in file
    mod_install bt848-kern.o
    delay bt848-cards.o
    ddi_get_instance bt848-kern.o
    nodev bt848-kern.o
    ddi_create_minor_node bt848-kern.o
    ddi_regs_map_free bt848-kern.o
    pci_config_getw bt848-driver.o
    pci_config_getb bt848-driver.o
    ddi_soft_state_zalloc bt848-kern.o
    ddi_dma_unbind_handle bt848-kern.o
    kmem_alloc i2c.o
    cv_broadcast bt848-driver.o
    ddi_remove_intr bt848-kern.o
    ddi_get_soft_state bt848-kern.o
    mod_driverops bt848-kern.o
    ddi_get_lbolt bt848-cards.o
    mutex_tryenter bt848-kern.o
    ddi_get_iblock_cookie bt848-kern.o
    nochpoll bt848-kern.o
    ddi_copyin bt848-kern.o
    mod_info bt848-kern.o
    ddi_remove_minor_node bt848-kern.o
    nulldev bt848-kern.o
    ddi_dma_sync bt848-driver.o
    ddi_dma_addr_bind_handle bt848-kern.o
    mod_remove bt848-kern.o
    ddi_prop_lookup_int_array bt848-cards.o
    _pagesize                           bt848-driver.o
    ddi_prop_op bt848-kern.o
    ddi_dma_free_handle bt848-kern.o
    ddi_set_driver_private bt848-kern.o
    cv_wait_sig bt848-kern.o
    ddi_intr_hilevel bt848-kern.o
    ddi_regs_map_setup bt848-kern.o
    pci_config_teardown bt848-driver.o
    ddi_dma_mem_alloc bt848-kern.o
    ddi_copyout bt848-kern.o
    cmn_err bt848-cards.o
    ddi_dma_alloc_handle bt848-kern.o
    ddi_prop_exists bt848-cards.o
    cv_init bt848-kern.o
    pci_config_setup bt848-driver.o
    cv_destroy bt848-kern.o
    timeout sound-msp3400.o
    untimeout sound-msp3400.o
    devmap_umem_setup bt848-kern.o
    ddi_prop_get_int bt848-kern.o
    uiomove bt848-kern.o
    kmem_free i2c.o
    ddi_add_intr bt848-kern.o
    ddi_report_dev bt848-kern.o
    getminor bt848-kern.o
    mutex_exit bt848-driver.o
    ddi_prop_free bt848-cards.o
    ddi_soft_state_fini bt848-kern.o
    ddi_soft_state_free bt848-kern.o
    ddi_soft_state_init bt848-kern.o
    mutex_enter bt848-driver.o
    ddi_mem_putl bt848-cards.o
    ddi_mem_getl bt848-cards.o
    drv_usecwait bt848-cards.o
    drv_usectohz bt848-cards.o
    ddi_dma_mem_free bt848-kern.o
    ld: fatal: Symbol referencing errors. No output written to bt848x
    QUESTIONS:
    ++++++++++++++++++++++++++++++++++
    1.) What other libraries do i need to include so that
    there would no more "symbol referencing errors" ???
    2.) Is my linking code correct?
    /usr/ccs/bin/ld -o bt848x bt848-cards.o bt848-driver.o
    bt848-kern.o i2c.o tuner.o sound-tda9875.o
    sound-msp3400.o -L/usr/lib -lc
    i mean, is it ok to build a driver with dynamic libraries?
    or the device driver should always be statically linked?
    COMPUTER SPECS:
    ++++++++++++++++++++++++++++++++++
    Solaris 10 (6/06 release)
    SunOS 5.10 Generic_118844-26 i86pc i386 i86pc
    Pentium 4 - 1.4GHz
    1GB RDRAM
    32 BIT
    Video Capture Card: PixelView PV-BT878P+FM.RC (rev.9F)
    thanks!!!
    -kllc

    i think i already found the answers to my questions
    (i partially read SUN docs WRITING DEVICE DRIVER in
    http://docs.sun.com/app/docs/doc/816-4854 specifically
    the BUILDING A DEVICE DRIVER) =)
    i used:
    /usr/ccs/bin/ld -o bt848x -dy -r bt848-cards.o bt848-driver.o
    bt848-kern.o i2c.o tuner.o sound-tda9875.o sound-msp3400.o
    -L/usr/lib -lc
    (NOTE: i used the flags -dy -r -L/usr/lib -lc)
    so far, the TV-TUNER is working hehehehe!!
    any comments/suggestions/tips from other people are still welcome!
    thanks!!
    -kllc

  • How to turn off floating interface on mac version adobe cs5?

    How can I turn off floating interface on mac version adobe cs5? It is very hard and confusing to work with the new interface and I want a gray (relaxing) background as it was in earlier versions for Windows.
    I do not want to see the desktop while working in Photoshop...
    Thank You!

    For most applications you can enable the application frame. Look under the Windows menu.
    Bob

  • Minimal compile & link files for sun sparc?

    hi.
    i have been developing an oci dir path project using redhat linux 7.3 (2.4.x.) & gcc 2.96. (see http://sourceforge.net/projects/odpd/) i am using a dev copy of ora9i release 9.2.0.1.0 installed on the linux dev machine. i would like to compile the project on a sun sparc box using sun's C++ compiler 5.3.
    so, i would like to get my hands on solaris versions of headers & libraries for #include & linking. i don't see any need to actually run the app against an installed version of ora9i under solaris; i just want to compile & link. further, i don't have root# access on target machine, so ora9i install isn't really an option.
    the target machine:
    $ uname -a
    $ SunOS nydev-app2 5.7 Generic_106541-23 sun4u sparc SUNW,Ultra-4
    on the linux dev machine:
    $ ls -laF $ORACLE_HOME/lib/libclntsh*
    lrwxrwxrwx 1 oracle 16 Aug 31 2002 /u01/app/oracle/product/9.0.1/lib/libclntsh.so -> libclntsh.so.9.0*
    -rwxr-xr-x 1 oracle 9.8M Aug 31 2002 /u01/app/oracle/product/9.0.1/lib/libclntsh.so.9.0*
    if anyone can help me get relevant files for compile & link, please contact me: asdrury at sourceforge dot net.
    tia. asd

    Go to http//otn.oracle.com. On the downloads menu select Oracle Instant Client.
    From the 'Instant Client Downloads' page you should be able to find IC packages to download for available platforms, e.g. Solaris SPARC 64-bit. (Latest version is 11.2.0.3.)

  • Lags while c++ compile linking

    Hello, i got a system lags while gcc is linking libs on a big project, so i need to stop compile/linking if i need do some rly important stuff. Is there any way to decrease system priority of linking or other ways to beat lags?

    Mr.Elendig wrote:also ionice
    Thanks, I wasn't aware of ionice. Although it seems to be dependant on using an appropriate kernel I/O scheduler (namely CFQ).
    ungaminga wrote:any solution for qtcreator runned make?
    Either qtcreator allows customizing the call to make, or you can set the niceness of qtcreator itself. Forked processes should inherit the priority value of their parents, i.e. every process started during the build would have the niceness that you set when calling qtcreator [citation needed].

  • Pro*C compiling/linking

    I have a Pro*C EXE program on Sun that compiles/links and works fine on that Unix box, which has Pro*C compiler and Oracle 8.05 installed. Apparantly this EXE program is refering to Oracle libraries ar run time. If I take this program on other Sun computer, it gives me an error "ld.so.1: dpn_config: fatal: libclntsh.so.1.0: open failed: No such file or directory"
    How can I create a Pro*C EXE program that will run on similar Sun box that has no Oracle or Pro*C compiler installed?
    There must be some linking parameters in make file I can make use of.
    Thanks for your help.
    Kishor

    Sorry alphasof, but you'll need to have the minimum oracle client software installed on every sun box you move the app to. More than just the libraries are involved, the whole TNS name lookup stuff gets installed, etc. It's more than just trying to statically link in the oracle libraries to your executable.
    If you install the oracle client software, you'll have no problems moving the executable.

  • Good morning, i need to do a recovery of my ios  X on my mac butthe apple id I have linked to my mac is an old one and i have locked it up trying to remeber the security questions

    Good morning, i need to do a recovery of my ios  X on my mac butthe apple id I have linked to my mac is an old one and i have locked it up trying to remeber the security questions

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (107161)

  • I am having mac book. I order for I-boost up software for $9.99 on 5th oct 2012 installed and paid through credit card. Again on 8th oct2012 my credit card debited with $9.99 please look into matter why this amount debited ,if wrongly debited please refun

    I am having mac book. I order for I-boost up software for $9.99 on 5th oct 2012 installed and paid through credit card. Again on 8th oct2012 my credit card debited with $9.99 please look into matter why this amount debited ,if wrongly debited please refund.

    Apple deosn't respond here, just other users like you.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • OCCI compilation/linking problems on Linux

    Hi All,
    I am having difficulty in compiling/linking demo programms on Linux machine. I am trying to compile a demo program with the following command:
    make -f demo_rdbms.mk build EXE=occidml OBJS=occidml.o
    When I try to do this I get following errors:
    make -f demo_rdbms.mk build EXE=occidml OBJS=occidml.o
    /usr/bin/g++ -c -I/u01/app/oracle/product/9.0.1/rdbms/demo -I/u01/app/oracle/product/9.0.1/rdbms/public -I/u01/app/oracle/product/9.0.1/plsql/public -I/u01/app/oracle/product/9.0.1/network/public occidml.cpp
    cc -L/u01/app/oracle/product/9.0.1/lib/ -L/u01/app/oracle/product/9.0.1/rdbms/lib/ -o occidml occidml.o -lclntsh `cat /u01/app/oracle/product/9.0.1/lib/ldflags` `cat /u01/app/oracle/product/9.0.1/lib/sysliblist` -ldl -lm
    occidml.o: In function `main':
    occidml.o(.text+0x49): undefined reference to `endl(ostream &)'
    occidml.o(.text+0x56): undefined reference to `cout'
    occidml.o(.text+0x5b): undefined reference to `ostream::operator<<(char const *)'
    occidml.o(.text+0x66): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
    occidml.o(.text+0x102): undefined reference to `endl(ostream &)'
    occidml.o(.text+0x10f): undefined reference to `cout'
    occidml.o(.text+0x114): undefined reference to `ostream::operator<<(char const *)'
    occidml.o(.text+0x11f): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
    occidml.o(.text+0x138): undefined reference to `endl(ostream &)'
    occidml.o(.text+0x145): undefined reference to `cout'
    occidml.o(.text+0x14a): undefined reference to `ostream::operator<<(char const *)'
    occidml.o(.text+0x155): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
    occidml.o(.text+0x16e): undefined reference to `endl(ostream &)'
    occidml.o(.text+0x17b): undefined reference to `cout'
    occidml.o(.text+0x180): undefined reference to `ostream::operator<<(char const *)'
    occidml.o(.text+0x18b): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
    occidml.o(.text+0x1a4): undefined reference to `endl(ostream &)'
    occidml.o(.text+0x1b1): undefined reference to `cout'
    occidml.o(.text+0x1b6): undefined reference to `ostream::operator<<(char const *)'
    occidml.o(.text+0x1c1): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
    occidml.o(.text+0x1f7): undefined reference to `endl(ostream &)'
    occidml.o(.text+0x204): undefined reference to `cout'
    occidml.o(.text+0x209): undefined reference to `ostream::operator<<(char const *)'
    occidml.o(.text+0x214): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))'
    occidml.o(.text+0x22d): undefined reference to `endl(ostream &)'
    I am sure that I don't have some of the environmet variables right. I will really appreciate if anyone can point me in the right direction.
    Thanks for your time.
    Parag

    Thanks for your reply. I installed the Sun Forte Compiler 7 and tried again. The errors I got this time are:
    ----------------- ERRORS ---------------------
    Undefined first referenced
    symbol in file
    __builtin_delete test.o
    __length_error(const char*) test.o
    __ls__7ostreamPFR7ostream_R7ostream test.o
    terminate(void) test.o
    createEnvironment__Q36oracle4occi11EnvironmentQ46oracle4occi11Environment4ModePvPFPvUi_PvPFPvPvUi_PvPFPvPv_v test.o
    endl(ostream&) test.o
    cerr test.o
    __ls__7ostreamPCc test.o
    __cp_pop_exception test.o
    __tfQ36oracle4occi12SQLException test.o
    copy__t18string_char_traits1ZcPcPCcUi test.o
    __eh_rtime_match test.o
    __throw test.o
    length__t18string_char_traits1ZcPCc test.o
    __start_cp_handler test.o
    move__t18string_char_traits1ZcPcPCcUi test.o
    __out_of_range(const char*) test.o
    ld: fatal: Symbol referencing errors. No output written to test.exe
    ====================================================
    Do you have any other suggestions? Though Linux sounds good, I have no choice but to develop on Solaris.
    Thanks very much!

  • How to compile Universal binaries in Mac OS X Lion with static linking

    Hello Experts,
    I have a projects which needs to be ported on Mac. This project uses some third party libraries and link them statically. I am new to Mac world and hence struggling to compile universal binaries with static linking on Mac 10.7.3 system installed with Xcode4.3.2 .
    Any help ?
    Best Regards
    Sudhir

    Uncheck Organize by Coversation:

  • Premiere Pro CS5.5 Dynamic Linking Broken

    I have a project in Premiere Pro CS5.5. Brough in all my greenscreen footage and did my edits. When I got picture lock from client I "replace with after effects comp" and did my keying in AE. This worked great throughout the project until yesterday when doing some final tweaks. Premiere would not load all the media, it got to 222 items reamaing and stalled, for hours! Then I moved the folder where all my graphics where and skipped the files when loading premiere and premiere then opened. I relinked all my graphics just fine, but when it came to relinking my AE dynamic link projects, got the spinning beach ball. I figured I would just let it spin overnight and see what happened in the am. 12 hours later it was still spinning. This is very frusterating and I can't think what I did to mess it up or if it's a dynamic link problem. I may have opened and edited the AE project without premiere open, maybe thats what messed it up. Any thoughts?
    Mac Pro 8-core 3ghz
    12 GB ram
    6TB fibre channel drive
    Mac OS 10.7.3
    Adobe Production Premium CS5.5 (all up to date)

    I've heard of other issues with DL from AE, but not this one... the problem I'm used to seeing is that you've got the wrong footage, and that's usually fixed by unlinking and relinking, which you've done. I rarely use AE myself, and when I do, I've generally found that I get better results by NOT using DL... but I know it should work, so perhaps someone else will have some answers for you. As long as you have the AE project still, you can always just render out your comps as lossless AVIs with UT or Lagarith and then import those to PrPro and replace the DL clips...

Maybe you are looking for

  • Why won't iMessages send any of my photos? (iPhone 5, iOS 7.1)

    Hello! I'm facing a little problem with iMessage. Each time I try to send a photo from my Camera Roll to someone on my contacts list using iMessage, it would say that the photo is "Delivered;" however, after 10-15 seconds, a red exclamation point wil

  • Need a file converted from InD CS5 to InD CS4...

    Had someone do some work for me and their source file came as a CS5 InDesign version 7 file (I think)... which I cannot open in CS4 InD version 6.  Is there such as thing as file converter of some kind or do I need to have them or someone else open i

  • Blazeds brakes when there is multiple directorys involved.

    Hello guys I was wondering if anyone can help me with this issue with blazeds and tomcat 5.5 i realized this is not a flex question but the only reason I'm using blaze is for the purpose of allowing flex to see my java classes. if i have a directory

  • Why wont the lock sound play when i lock my phone

    my phone wont play the lock sound when i lock my phone and the volume is up all the way and the switch is up.

  • Trouble syncing Yahoo Calendar with BB8330 using DTM

    I am desperately trying to sync my 8330 with Yahoo Calendar.   WIth only the following 2 exceptions, items entered on my BB calendar can not be seen on my Yahoo calendar.   It will sync recurring entriesand it will sync calendar entries for today.  I