![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 243
Rep Power: 3
![]() |
Re: C++ cross-platform Regular Expression Library
It just can't find the file "pcre.h"
Also, I noticed something strange. This thing happens to me only using Xcode. Using the command line, all headers are included correctly, and the compiler encounters no error at all! Any ideas?
__________________
Project::Soulstorm (personal homepage) |
|
|
|
|
|
#12 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Re: C++ cross-platform Regular Expression Library
What is the command line that XCode uses to compile with? You can watch the commands as it executes so you can check to make sure they are correct.
__________________
Robotics @ Maryland AUV Team - Software Lead |
|
|
|
|
|
#13 |
|
Hobbyist Programmer
Join Date: Jan 2006
Location: Menidi, Athens, Greece
Posts: 243
Rep Power: 3
![]() |
Re: C++ cross-platform Regular Expression Library
Xcode uses GCC to compile the code. Using the terminal, the code compiles with a simple call to g++, without entering any additional arguments. Why would Xcode need a different configuration?
My main problem is with pcre, but it has happened with the Boost distribution, also.
__________________
Project::Soulstorm (personal homepage) |
|
|
|
|
|
#14 |
|
Expert Programmer
Join Date: Jun 2005
Posts: 894
Rep Power: 4
![]() |
Re: C++ cross-platform Regular Expression Library
Ah I see where I went wrong. After you extract the zip, you have to create the pcre.h (and other files) using the configure and make commands. There are instructions in the INSTALL file (its in upper case - I'm not shouting). I did this long ago, so I forgot that step.
I would extract the zip file to a different directory though, you don't want to clutter up your project with someone else's project. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Regular Expression: Matching All Possible Characters | kruptof | PHP | 3 | May 30th, 2007 7:22 PM |
| Date Regular Expression | King | C# | 2 | Apr 30th, 2006 10:41 PM |
| Word Frequency Regular Expression | hoffmandirt | C# | 4 | Feb 27th, 2006 9:21 PM |
| Regular Expression | toghian | C++ | 12 | Dec 28th, 2005 11:12 PM |
| Regular Expression HELP -- thanks | paulchwd | JavaScript and Client-Side Browser Scripting | 3 | Oct 11th, 2005 5:40 PM |