Porting issues with boost::regex when going from CS6 to CC2014 using Xcode

I have a working project in CS6 that uses the boost::regex framework that I'm having problems porting into CC2014.
I ported this project by using Dolly to create a new project, then coping the old source files across, finally updating the various out dated InDesign API calls that appeared when I compiled. For the use of regular expressions I added the debug and release builds of the boost_regex.framework to the respective targets.
Now, for the debug build the new CC2014 projects builds happily. But when I switch to the release build I get a few linker errors. They are all something like:
Undefined symbols for architecture x86_64:
"boost::re_detail::get_mem_block()", referenced from:
boost::re_details::perl_matcher<__gnu_cxx::__normal_iterator<char const *, std::string>, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const *, std::string> > >, boost::regex::regex_traits<char, boost::cpp_regex_traits<char> > >::find_imp() in SbRegex.o
etc.
I did a bit of reading through the boost header files. The odd thing is that the "get_mem_block()" appears to be defined for the pre-processor option BOOST_REGEX_NON_RECURSIVE, while in the project settings for BOOST_PREPROCESSOR_DEFINITIONS contains BOOST_REGEX_RECURSIVE. These two settings are mutually exclusive and there's pre-processor logic that blocks having both cases defined at once.
This recursive option is used to control how memory is used while processing a regular expression, so seeing a get_mem_block() call (other link errors involve a call to put_mem_block) sort of makes sense being calls that look like something to do with memory.
I'm trying to figure out why debug builds, but release build fails. Does this problem look familiar to anyone? Anyone have any suggestions to try to fix it?

Thanks for the reply, Bartok, but those didn't seem to work for me. Maybe I applied them incorrectly as that thread was for the Win platform and not Xcode and I might have translated the solution poorly.
Basically I went to the "Release_Cocoa64" target, and scrolled down the "Build Settings" page. I then edited the BOOST_PREPROCESSOR_DEFINITIONS field.
First I tried just appending BOOST_SYSTEM_NO_DEPRECATED.
Second I thought that this might be a macro of some sort so I tried $(BOOST_SYSTEM_NO_DEPRECATED).
Finally, I deleted all the previous values and added "BOOST_ALL_DYN_LINK BOOST_REGEX_USE_CPP_LOCALE BOOST_REGEX_RECURSIVE BOOST_HAS_ICU=1 BOOST_ FILESYSTEM_VERSION=3 BOOST_CHRONO_HEADER_ONLY BOOST_SIGNALS_NO_DEPRECATION_WARNING".
As you might guess from the experimentation I got none of these to work. The error that I was getting has remained exactly the same.
One difference that I assumed between the Win and Xcode version is that Win separates the values with a semi-colon whereas Xcode separates with a space.
My only other thought is maybe I edited the wrong field. Is BOOST_PREPROCESSOR_DEFINITIONS the one?
As a final comment, the thread you gave me and my issue really comparable? I have other projects that don't use the boost::regex libraries and they build and run without issue. It's only when I try to use boost's regular expressions in a release build that I get problems when linking (debug build is still fine).
Also the link error looks different. The thread that you gave me points at "boost::system::error_category" as not being resolved, while I have problems resolving "boost::re_detail::get_mem_block".
I don't seem to have problems with basic boost - just the regular expression stuff.

Similar Messages

  • Issue with Emoji icons when sent from iOS6 to iOS5

    Issue with Emoji icons when sent from iOS6 to iOS5, all icons appear as a square on the iOS5 message screen.
    Both iOS are the current version and the phones are 4S 64GB
    Anybody got this problem

    Hi!
    What kind of RFC do you use? If you use synchronous RFC the caller waits for the answer/result of the called function. In normal cases this should solve your issue.
    Regards,
    Volker

  • Issue with Enter-PSSession when running from the shell and via script

    Hello
    Can someone please help me with the following issue
    If I open the PowerShell console and do the following
    Enter-PSSession -computername Server1
    "This is a test" > C:\Log.txt
    Exit-PSSession
    It works e.g. the Log.txt file is create as expected on Server1
    However if I put the exact same command in a script and execute the script.
    ./TestScript.ps1
    The Log.txt file is created on my Client (e.g. PC) and not the Server1
    I also tried using $Session = New-PSSession -ComputerName Server1 etc.....
    then Enter-PSSession -Session $Session
    I also tried Enter-PSSession etc....
    Start-Sleep -seconds 60
    "This is a test" > C:\Log.txt
    Exit-PSSession
    Again no luck when running from shell all OK, then executing as a script (again from the command line) files is created on client
    Any ideas why this is happening please and how to resolve, I am using PowerShell v4 on the client and PowerShell v2 on the Server
    Thanks
    AAnotherUser__
    AAnotherUser__

    No, the command is explicitly designed for interactive use, not within a script. If you see
    http://technet.microsoft.com/en-us/library/hh849707.aspx you'll even see it clearly state that it "Starts an interactive session with a remote computer".
    There are quite a few threads elsewhere on the same subject, all of which say the same thing, for instance
    http://powershell.com/cs/blogs/tips/archive/2010/11/15/enter-pssession-do-s-and-don-ts.aspx and
    http://powershell.org/wp/forums/topic/running-multiple-remote-commands-with-enter-pssession/ and
    http://blogs.technet.com/b/heyscriptingguy/archive/2009/10/29/hey-scripting-guy-october-29-2009.aspx and
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/7e89b957-ff5b-42c4-b107-d7e18752fcf1/enterpssession-within-a-script
    So when you run it interactively, you've started the interactive connection to the remote computer and are now running the relevant commands on that machine. When you run it from the script it starts the remote connection, but crucially it doesn't use that
    new connection, the script is still being run in the current local session.
    When you think about it makes sense. Using the Invoke-command method you're connecting to a remote machine, sending the script block to the remote machine, and then running that block of code on the remote machine. The remote machine only knows about the
    code you send it, not the rest of the script (which is why if you use variables you have to pass them to invoke-command otherwise they won't be available to the script block on the remote machine. Conversely, when you use the Enter-PSSession method, you've
    connected to the remote machine, but you haven't passed any code to it. At that point you're on the remote machine, but it has no way to know what you want it to do since your script code is on the local machine. It can then either return to the local
    machine and run the next line of code locally (which it does), or sit there connected to the remote machine waiting input that will never come (which would be even less useful).

  • Issues with image centering when printing from CS5

    I contacted EPSON tech support about this issue, they are putting the blame on the application used - in my case Photoshop CS5 printing with an EPSON R2880.
    I am trying to figure out exact print tray margins to take into account when printing horizontal 13x19 images on EPSON's Hot Press 13x19 paper on the R2880 (via manual roll single feeder).
    These are not borderless full frame images, 13x19 image files set on white with exact white frames around the image, so the shift in centering becomes quite obvious on the print.
    Here are the two print settings I have tried, both do not center the image correctly:
    Selected Scale to Fit Media & Center Image Top:0 Left 0.105
    Selected Center Image: Top: -10,152 Left -0.118
    (margin values are entered in the print window automatically)

    u are probably not getting much help on this unless you post screenshot of your process (starting with File> Print window)
    remember, Photoshop can print a document correct regardless of how it looks on the monitor (and vice versa: Photoshop can display a document correct regardless of how it prints)
    i recommend getting a known target like the WhackedRGB.jpg and see where the problem is occuring (in Photoshop color management settings, on the monitor, on the printer or both)...

  • Issues with timecode remapping when transcoding from 24fps to 23.976fps

    I'm trying to transcode a RedCode reference QuickTime at 24FPS into a DVCProHD QuickTime at 23.976FPS. I've enabled "Frame Controls" and "Set duration to: so source frames play at 23.98 fps", and I get a one to one mapping of frames from the original R3D reference QuickTime to the DVCProHD QuickTime, which is what I want. The problem is that compressor is applying a 1000/1001 conversion to the start timecode for the original QuickTime: for instance, if the start timecode of my 24fps clip is 01:26:10:14, the start timecode of my transcoded clip becomes 01:26:05:10, which corresponds to applying a 1000/1001 conversion to the timecode. That's definitely not what you want, as it makes it very difficult to go back to the original media based if you edit in Final Cut Pro with the new media.
    So the question is: is there a magic setting which tells Compressor not to mess with the start timecode of a clip and just copy it from the source to the destination?
    On a related note: RedCode reference QuickTimes appear to have two timecode tracks: the first one seems to be "run" timecode (increments as long as the camera is capturing), the second one is "time of day" timecode (or I'm guessing that it can be synced to an external timecode source). Compressor seems to pick the first timecode track as the one it copies to the destination QuickTime: is there a way to tell it which timecode track it should read from?

    Any luck altering the layout of the Timecode tracks in QT Pro? Having never done this myself for a RED-sourced file, that would mean either setting one above the other other via the layer number (the small box under Visual Settings) and/or toggling tracks On/Off.
    Also, to go in a different direction, any luck with Cinema Tools' Conform feature? You should be able to open up your 24fps QT clip and conform it to 23.98fps. Or do you still get the 1000/1001 remap there?

  • What happens to plug-ins for Premiere Pro when upgrading from CS6 Production Premium to CC?

    If I upgrade from CS 6 Production Premium to CCloud, what happens to the plug-ins currently installed in Premiere Pro? Will I lose them (some Red Giant, Synthetic Aperture and such)?

    Not only that, there was an internal code change when going from CC to CC2014
    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
    This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
    -so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
    If you are sure you don't need the old CC programs
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    -read reply #3 about the ORDER of uninstalling & installing https://forums.adobe.com/thread/1242671

  • Print issues when going from develope to print

    In LR5 when going from Develope to Print, I loose the picture and the print tab is greyed out.  Never had this problem before, did I do something wrong

    Make sure the source remains the same - check the filmstrip.
    The only suggestion is to place the batch for editing and printing into a collection or (temporary) quick collection and access the images from there in both modules.

  • Issues with sending mail when using 2 email accounts - possible bug?

    Hi all,
    Having issues with trying to send email from the 3g iPhone. I have 2 IMAP acounts set up on the phone, one
    which works fine but when I try to create mail from the primary account as soon as I hit send it exits the mail program and goes back to the home screen.
    Both IMAP accounts have identical settings apart from the username and email address. On the primary account there is no sent messages folder on the iPhone whilst there is on the account that works. I've had a look in the advanced settings and it is programmed to store sent messages in the local sent folder which doesn't exist. I've tried selecting it to store in a IMAP folder as I thought maybe it was crashing as the local folder wasn't there but it has the same result.
    Have deleted the account and entered the settings back in again to try to coax it to create the local sent folder but cake up with the same problem.
    Suggestions are welcome.

    You have their SMTP servers mixed up, go to Mail>Preferences>Accounts>Outgoing Mail Server (SMTP), click on the server then choose Edit SMTP Servers and select the correct one for each account. Then check the Use Only This Server box

  • Hi BC, I have an issue with BC. When the shopping cart is used it takes stock out of inventory and h

    Hi BC,
    I have an issue with BC. When the shopping cart is used it takes stock out of inventory and holds it, regardless of whether or not a customer proceeds to purchase. OK.
    To make matters worse, the stock is only cleared from the shopping cart when the customer closes the browser - not when they close the shopping window.
    Now lets say a customer doesn't close their browser for a month - it happens! .. when their stock is finally returned it may throw out our stock levels that have in the meanwhile been adjusted. So their stock will be added on top of an accurate stock take, putting stock in that isnt really available.
    This is causing us mayhem.
    We have not yet seen if stock is actually returned at all. In the test we did today where we filled a shopping cart then closed the browser without making a purchase, the stock was not returned immediately. So we dont even know when it will be returned - thats IF a customer actually closes their browser. Any solutions out there?
    Jo

    Hi there,
    The way stock is managed in this situation is desirable for many in that case otherwise shopping on a site and adding to cart would not be viable or use friendly.
    What you mention about not closing a browser though is a case that is not true. IF you go into the shop settings in the admin you can see the cart restore timer which is by default 24 hours but you can change this to as low as 1 hour if you wish.

  • Hi When going from Develop module to print module a white boarder appears on screen which also prints via my epson r3000 printer. I can get round this by exporting photo to Elements and printing from there but can i get rid of the boarder and print from l

    Hi When going from Develop module to print module a white boarder appears on screen which also prints via my epson r3000 printer. I can get round this by exporting photo to Elements and printing from there but can i get rid of the boarder and print from lightroom?

    In the printer driver (accessed through the Page Setup button) set the Advanced tab to borderless. Then in the right hand panel under Layout set all the margins to zero.

  • I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I am having issues with Sidebar files not appearing from within InDesign CS5.5. They show up fine from other Adobe applications. Using OS10.6.8.

    I would first of all trash the preference file for InDesign, make sure the application is closed then find the prefs in
    /Users/USER NAME/Library/Preferences/Adobe InDesign and just throw the entire folder away, it will generate a new one after you launch InDesign again.
    Now launch InDesign and see if the problems are resolved.
    If not I would repair your permissions on your hard drive wih disk utility, and if that fails then di-install InDesign and re-install that single application.
    Let me know if any of these suggestions work for you
    I will be checking my email although you might have to wait for a response as I will be taking a microlight flight over the Victoria Falls tomorrow. Yay can hardly wait.

  • Issue with VO extension after upgrading from 11i to R12

    Hi All,
    We are facing issue with VO extension after upgrading from 11i to R12(12.1.3).
    Most of the cases we are facing issue as given below,
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 21 with java object of type java.lang.Boolean due to java.sql.SQLException.
    Please help me out to resolve this issue.
    Any help/suggestion will highly appreciate.
    Thanks & Regards,
    Sunita

    Hi Gyan,
    Thanks for the response.
    There is one attribute has added in VO query.
    In VO.xml file ViewAttribute definition is as given below,
    <ViewAttribute
    Name="DisplayApproveButton"
    IsUpdateable="false"
    IsQueriable="true"
    IsPersistent="false"
    Type="java.lang.Boolean"
    ColumnType="NUMBER"
    AliasName="DisplayApproveButton"
    Expression="xxh_invoice_approval_pkg.check approval(invoice_id)"
    SQLType="BIT" >
    </ViewAttribute>
    Thanks & Regards,
    Sunita

  • When going from a Mac-based Ai to a PC based Ai, the documents "Font" are not found on the PC version?  (mostly Helvetica) where and how do I get those Fonts?  And/or, can I use the Mac version of these Fonts?

    When going from a Mac-based Ai to a PC based Ai, the documents "Font" are not found on the PC version?  (mostly Helvetica) where and how do I get those Fonts?  And/or, can I use the Mac version of these Fonts?
    Thanks, Rich

    In order to be cross platform you must be using the Open Type version of all fonts to cause the least disruption. Macs can read and process the Windows .ttf  type format but PCs can't process Mac formatted type. Most recent versions also cannot use the older PS Type 1 fonts.

  • Issue with BAPI_ACC_***_TRANSFER_POST (when trying to execute as per ABT1N)

    Hello experts,
    For this thread, please check the following link:
    [Issue with BAPI_ACC_***_TRANSFER_POST (when trying to execute as per ABT1N);
    Thanks and Regards,
    Daniel.

    Hi Experts,
    The question has been answered as per the following "link":
    [Issue with BAPI_ACC_***_TRANSFER_POST (when trying to execute as per ABT1N);
    Daniel

  • I  have an issue with speaker/microphone. when i call or i  recive a call the person on the other side can not hear me.

    i  have an issue with speaker/microphone. when i call or i  recive a call the person on the other side can not hear me.

    Hello aalapdesai112,
    Lets see if we can get you back to taking calls normally again. Start your troubleshooting with the article below and go through checking to making sure that you are up to date with your iOS as well as a simple restart on your iPhone. 
    If your voice is too faint or sounds unclear using iPhone, or iPod touch
    http://support.apple.com/en-us/HT203792
    Regards,
    -Norm G. 

Maybe you are looking for

  • Doubts on clearing line items in profit centre and deleting the profit cent

    hello All We are using ecc 5.0 and new g/l, document splitting is activated. We are not using classic profit centre accounting. We have two accounts which has values for profit centre 1010219. 1. 228100 which is assigned in cross company code clearin

  • Serial No in HFR

    Hi, We are developing planning reports through Financial Reporting. In one of our reports we have a requirement to have sequential serial no. of the rows(having project codes) will come. How can it be implemented in FR so that the serial no will be g

  • Wireless profiles problem

    I'm hoping that Phrakture and Dibblethewrecker see this.  I'm setting up a Thinkpad X20 with a Cisco 350 wireless card.  I grabbed the dibble-modified wireless script, and set up a new wireless-profile.  I repeatedly get the message on booting that t

  • HT201359 Purchased video downloads not yet available - how do I get a refund?

    I purchased Game of Thrones Season 2, the downloads are not yet available.  How do I process a refund through iTunes?

  • Error in Canceling Excise Invoice

    Hello All, I am facing following error while canceling excise Invoice in ECC6. "No item information transferred into Accounting". However the same is working properly in 4.6. Please guide. Thanks & regards.