Question
Hi there,
Is it possible to give more explanations about this topic (
InstallingRegexSupportForVisualCPP). After not using gpstk for a while, now I discover that in the mean time your organization decided to stop using regex file. After I updated the repository I noticed that the old regex file was deleted.
Personally, I have used VC++ since beginning due to the easiness in debugging (in my case). I did some minor changes in some files (e.g., instead of #include <filename.hpp> I had to change to #include "filename.hpp") and I could compile the libraries and work with them pretty easy.
I could not understand from your post if I have to install
GnuWin32? ... or only the PCRE. However, I did download PCRE but I think I have to compile it my self and is not possible to do it without cygwin ... or
GnuWin32? .... I have to admit now I am totally lost.
Thus for now, I decided to use the regex file from version 1.5.
Thank you for your time and explanations
--
OctavianAndrei - 24 May 2008
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
I have hopefully clarified the page by removing the link to PCRE.
GnuWin32? is a compiled version of PCRE. If you install
GunWin32?, update your compiler to include a path to those files, everything should compile again. Re-open this topic if you need more of an explanation.
--
RickMach - 25 May 2008
I attached the build log output file.
I assume I still do something wrong. Any hint?
PS: I use Microsoft Visual Studio ver 8.0. I open it and then I go to Tools > Options > Project and Solutions > VC++ Directories and add the new
GnuWin32? links to:
Executable files (..\GnuWin32\bin-directory),
Include files(..\GnuWin32\include) and
Library files (..\GnuWin32\lib)
--
OctavianAndrei - 28 May 2008
Based on this, are you using a custom make file/MS studio project and not jam/jamfiles that are shipped with the gpstk to build the library? I think the problem is if you are using your own build files, you also need to tell the compiler what library to link in. I would try adding
regex.lib to the list of link libraries as is specified in the
Jamrules file shipped with the gpstk.
--
RickMach - 29 May 2008