Problems with porting boost::regex when ranging from CS6 to CC2014 using Xcode

I have a job in CS6 project which uses the framework boost::regex I have porting problems in CC2014.

I wore this project using Dolly to create a new project, and then face the old files source overall, finally update the output of various dated calls to API InDesign 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 version new projects of CC2014 debug builds with happiness. But when I switch to the Release version I get some errors from the linker. They all have something like:

Undefined symbols for x86_64 architecture:

'boost::re_detail::get_mem_block()', referenced from:

Boost::re_details:perl_matcher < __gnu_cxx::__normal_iterator < const char *, std::string >, std::allocator < boost::sub_match < __gnu_cxx::__normal_iterator < const char *, std::string > > >, < char, < char > boost::cpp_regex_traits > boost::regex:regex_traits >: find_imp() in SbRegex.o

etc.

I did a bit of reading through the impetus of header files. The strange thing is that the 'get_mem_block()' seems to be set for option pre processor BOOST_REGEX_NON_RECURSIVE, while in the project contains parameters for BOOST_PREPROCESSOR_DEFINITIONS BOOST_REGEX_RECURSIVE. These two parameters are mutually exclusive, and it is logical to preprocessor that blocks with both cases, defined both.

This recursive option is used to control the use of memory when processing a regular expression, then see a call get_mem_block() (other errors of link imply a call to put_mem_block) somehow made sense being called that look like something to do with memory.

I'm trying to understand why the debug builds, but Release version fails. This problem sound familiar to anyone? Anyone have any suggestions to try to fix it?

Figured out how to build the project when you add the framework for regular expression of thrust.

The key is the optimization level. When Dolly creates a project it defines the level of optimization for the Release version of "-O3". When you use boost::regex, you can only link correctly if you use the O0 and O1 optimization levels. Highest and link errors I saw appear.

For the Release version, so I put in the Release_Cocoa64 build parameters 'Optimization level' to ' Fast [-O, O1] ' and it compiles.

Tags: InDesign

Similar Questions

  • is anyone having problems with the debenhams site when accessed from an iPad?

    I can't select sizes, etc. When I go to debenhams site from my iPad 2. In addition, items disappear from my basket once they have been added & new items disappear from the "saved" so box. I was wondering if anyone else may be faced with a similar problem. Any suggestions to solve this would be great, thank you all!

    A couple of things you can try:

    Clear the cache for Safari (Settings - Safari - clear story and Web site data)

    Install app Debenhams

  • Having problems with ports USB 3.0 in computer option H8 - 1010 T

    Well, I bought the option USB 3.0 ports on top of the computer on the computer mentioned in the Thread object and I have problems with them.

    I tried plugging USB 2.0 devices in these two ports to "test" to see if they work, yet I am not able to get them to work with USB 2.0 devices. USB 2.0 is not compatible with USB 3.0 ports? Or I'm doing something other 'evil' here?

    Unfortunately, I do not have a USB 3.0 device to plug USB 3.0 ports to make sure that it is certainly a problem with ports still.

    The device in question I've tried in the USB 3.0 ports is a Microsoft Wireless Mouse 6000 wireless receiver. If the ports are not connected correctly, I would have assumed that the wireless receiver would have "blown" when I plugged it in, but it still works very well.

    USB 2.0 devices are not compatible with USB 3.0 ports? I know that USB 3.0 devices are backward compatible with USB 2.0 ports (I have a friend who is in this situation), but I also thought that the opposite was supposed to be true as well. Am I wrong?

    @William

    Check out this thread, seems to be the same problem you are having.

    http://h30434.www3.HP.com/T5/desktop-hardware/USB-3-0-ports-on-Pavilion-HP8-1070t-not-working/m-p/792857/highlight/true#M35248

  • Problems with clicking and scrolling when you are using the mouse in IE

    Separated from this thread.

    Original title:

    Problems with clicking and scrolling when you are using the mouse

    I have the same problem.  My touchscreen responds but my touchpad and mouse are unable to save a click in IE.  I need to reboot to rectify.  It seems to be more common when the laptop comes out of fashion 'sleep'.   I tried all the steps above, everything is up-to-date.

    Hello Fred,.

    Thanks for the reply.

    I appreciate your efforts to resolve the issue.

    I would suggest trying the following methods and check if it helps.

    Method 1:
    Run the hardware and devices Troubleshooter and check. Please follow these steps:

    a. press Windows + W keys, type Troubleshooting in the search box and press on Enter.
    b. click on 'show all' and then click 'hardware and devices'.
    c. click 'Next' and then follow the on-screen instructions.

    If this does not help, then use method 2.

    Method 2:
    Start your computer in safe mode and check the number.
    Refer to this article:
    Start settings for Windows (including safe mode)
    http://Windows.Microsoft.com/en-us/Windows-8/Windows-startup-settings-including-safe-mode

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • I have problems with my Apple ID when you download applications, that it is said that your ID Apple has not yet been used in the iTunes Store

    I have problems with my Apple ID when you download applications, that it is said that your ID Apple has not yet been used in the iTunes Store

    What exactly is the problem? You are also being invited to review the account and enter payment details? If you did you are your details accepted - if they are, you should be able to remove them then.

  • Anyone who has a problem with the system crashes when importing using the new interface to import

    Anyone who has a problem with the system crashes when importing using the new interface to import

    Can specify you what Adobe program you use so that we do that your post is in the right forum?

  • Hello. I have a problem with the payment process when trying to buy the plan of creative photography of Cloud (one year). the error is: there was a problem processing your order, please contact our Service team customer care for assistance. AfricaBa North

    Hello. I have a problem with the payment process when trying to buy the plan of creative photography of Cloud (one year).

    the error is: there was a problem processing your order, please contact our Service team customer care for assistance. Middle East & North AfricaBahrain: 80081097Egypt: 08000000447Jordan/Kuwait/Lebanon/Qatar/Yemen: English + 44 207 365 0735Jordan/Kuwait/Lebanon/Qatar/Yemen: Arabic/French + 44 203 564 4145Oman: 80077173Saudi Arabia: 8008446638Tunisia, the Morocco and the Algeria: + 33 United Arab Emirates 157324642United: 80004443085Commonthwealth of independent States (CIS): + 44 207 365 0735

    Help me please to solve this problem. I need my lightroom immediately)

    Hi mohamed,.

    Please see the link below to buy the plan of photography:

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    In case you still have question, please contact sales at Adobe team.

    Adobe Middle East and North Africa

    Kind regards

    Sheena

  • Hello all: I have a problem with my Illustrator? When I export final work, the text that is does not, I can config it? I have try several times, but still cannot fix it.

    Hello all: I have a problem with my Illustrator? When I export final work, the text that is does not, I can config it? I have try several times, but still cannot fix it. inactiveforumnotifier Newsgroup_User Zoheir Illustrator

    What is the format of your final work? How are you viewing? What version of Illustrator do you use?

    Here are some common reasons why your type might be missing - is your type completely on the artboard and bleed?

    Is your type on a layer that is set up to print not? Is your white type and position it to overprint?

  • Having a problem with the Muse crashing when opening a Web site I designed in Muse.

    Having a problem with the Muse crashing when opening a Web site I designed in Muse. You need to be able to access this site in order to update for my clients.

    [LASP/updateCaches] TypeError: Error #1009: cannot access a property or method of a null object reference.

    All adventures Rafting | Wenatchee Whitewater Rafting trips - two hours East of Seattle

    Could you please send us the .muse file to [email protected] as well as a link to this topic? If the file is larger than 20 MB, you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc.. Thank you.

  • Problem with Port Forwarding (When PPTP is upward) in the WRT-160N

    Hello world!

    I'm looking for more help with Port Forwarding in my new Linksys router. I bought the daysago afew router and was pretty surprised when I discovered that there is no DD - WRT firmware is installed in it (the router was 100% NEW when I bought it). I downloaded latest firmware original and flashed Linksys file successfully.

    But I still have the problem (even that I was on DD - WRT firmware too) with the port forwarding for my DC ++ and Vuze (app from torrents): I wrote port forward for ports 49151 (for Vuze) and 4000 (for DC ++) to pass on to my desktop computer (IP 192.168.1.201) - I saw a post on this forum, that there could be a problem If you transfer to an IP address, which is within the local area of DHCP, so I forwarded to IP.201 (my local DHCPzone is 192.168.1.100-. 149) But does not forwardind (())

    What's wrong?

    My configuration:

    Router IP: 192.168.1.1

    PPTP (I my ISP)

    IP address: 192.168.226.127

    Default gateway: 192.168.226.2

    DNS 1: 192.168.1.1

    2 & 3 DNS: 0.0.0.0

    The IP address of the PPTP server: 192.168.226.2

    User name: *.

    Password: *.

    _____________________

    Simple Port Forwarding:

    Name of the external port application port internal protocol for IP address Enabled

    Vuze 49151 49151 times checked 192.168.1.201

    DC 4000 4000 checked two 192.168.1.201

    As you mentioned in your post that your ISP has provided you with a PPTP connection with an IP address: 192.x.x.x. The IP address that is provided by your ISP is in a private beach, and if you try to transfer all the ports on your router, it will not work, as long as your ISP modem is blocking this port. If you need get a public IP address from your ISP.

    As you get Private IP of your ISP, if this connection is called as NAT behind NAT and your Modem behaves like a router.

    So now you have 2 options, get the public IP address from your ISP or change the type of connection.

  • Problem with sending a message when you're connected via Wi - Fi

    Hello. Still getting used to my Dext (owned it for about 4 days). I noticed this morning that I can't send the mail from the POP3 account, I set up on my Dext when I am connected via Wi - Fi - when I try I get an "authentication failure". When I disable Wi - Fi email sends end. There is no problem with webmail - send although I am connected to the Wi - Fi or 3 G network.

    Anyone know how to send the mail while POP3 on the Wi - Fi network? Thanks in advance...

    Understand the problem - port incorrect settin for mail server outgoing. Changed to 587 according to some messages that I saw during a search - that did the trick!

  • Problem with a wireless mouse when laptop computer HDMI is connected to a TV

    I have a HP Pavilion G series laptop PC, when I connect to the TV using the VGA interface I have no problem, when I connect to the TV via the HDMI so I have the problem. I use a Microsoft 2.4 ghz wireless mouse, laptop connected to an electrical outlet, new batteries in the mouse, if I move the mouse more than 1 foot of the tower top it becomes useless, erratic, moves 6 inches at a time, or not at all, totally out of control. The laptop is about 2 feet from the TV due to the length of the HDMI cable, and I am sitting about 12 feet out in front of the TV with the mouse. Like I said, no problem if I find the mouse in 1 foot from the laptop and no problems even 12 feet away using the VGA interface. Production of mouse says that the mouse has a range of more than 20 feet. Someone has an idea of what might happen? Last note, I also looked at the use of the processor at the time and it is only 8%. The mouse model number is 3500

    I got it fixed. I replaced the HDMI cable, no change, I tried another TV, no change, I moved the feet 12 laptop away from the TV, no change, bought a Logictech M315 mouse, same technology as the MS3500 and everything's fine. Does a lot for the MS3500 mouse.

  • Problem with Port on the DV7-3079wm of charge

    Hello world.  I searched the forum for this question and other places and I think I probably know what is the problem, but I wanted to make sure that before I go ahead with trying to fix and get some advice on my specific problem.

    I have a HP Pavilion DV7-3079wm running Windows 7 64 bit.  I have problems with the laptop to load.  I've already replaced the battery to eliminate this problem, but I need one anyway, because one was not maintain a load more.

    So the problem is when I plug my power adapter most of the time that he does not even recognize that I have it plugged.  No light load on the side or the front.  So if I slowly wiggle out or try to angle in one sense or the other, eventually he'll catch a connection and then 1 of 2 things going on.  Either she viewed the laptop too long that I do not move the charger of whatever the position in GOLD, it pops up a message saying "Smart AC output adapter is too weak for this computer." and then proceeds to the load of the laptop or it just says: "plugged in, do not load.

    I do not know if my problem is the AC adapter or if the port inside the laptop is messed up, which from what I've read on other forums requires either a new motherboard or tear down my laptop and re - solder a new fee on the motherboard port.

    I can't wait to buy a new adapter if it isn't the problem.  Also another problem, I am very happy with my laptop and really intended to max on memory and improve for one SSD but I don't want to sink money into it until I get this problem resolved.  Any help would be appreciated.

    Thank you

    No rust spots on the inside or outside of my plug adaptors CA.  I finally just went and got a new adapter and when comparing it to mine its all brilliant inside the end of the plug where mine is dull looking.  Which may mean it was just salty and was not getting a good connection.  A new Bill without problem, and immediately, although she Wiggles, if fortunately is not the port inside the laptop.  I'll try to clean my AC adapter / CC and see if it makes too much work again.  Thanks for everyone's help and info that it was appreciated and he has helped guide me in the right direction.  Also, if the port never turn off, now I know where to get a replacement.

    Up next... go to the SSD & maxing out the memory.  I can't wait!

    Thank you!!!

  • Satellite Pro L10 problem with Ports COM/Hyperterminal & Bluetooth

    Hello
    I have the following problems with the above machine:

    (1) I have attached an external series COM port to the machine. However, I can not connect to the COM Port using Hyperterminal.
    (2) I installed a Bluetooth USB adapter, but I can't view the protocol configuration.

    Each of the above works perfectly with another laptop that doesn't have a Bluetooth or even a network card.

    Everyone has experienced similar problems. I use WinXP SP2.

    Thank you

    MC

    Hello

    1, in which is the external COM port connected? Is detected in a straight path in Device Manager? What is the error msg to Hyperterminal?
    When connected via PCMCIA, try to change the settings for PCMCIA slot in the BIOS!

    2, try to reinstall the Toshiba Bluetooth stack! There may be some problems. The MS Bluetooth stack does not work properly with the Toshiba devices and one of the earlier Toshiba Bluetooth stack is not signed by Windows XP Service Pack 2!

    Hans Bye

  • Toshiba Tecra A3 - problem with Port Replikator III

    Hello

    I have a problem with a Toshiba Tecra A3 combined with a Port Replikator III. Both work very well together until you disconnect the laptop computer. After you start the Toshiba Tecra A3 without the Docking Station, everything is always ok. But when I anchor again and start it, Win XP is not able to display the logon session on the external monitor screen. All configurations, I did (for example only display on external monitor) with the mobile extension module are only available after login. But when I don't see the logon screen, I can't do that; (o). so, does anyone have a solution how can I use the external screen after the boot (without using the FN + F5) key.

    any help is much appreciated
    Thank you
    Mario

    Hello

    As far as I know logon window can be displayed on the primary monitor only. Computers laptop LCD is set to a primary, and it cannot be changed. As you can see this option is grayed out in display properties.

    Good bye

Maybe you are looking for