|
did you build the library ?
|
|
|
|
|
Hi,
i just copied in the include folder from my vc98
\\Microsoft Visual Studio\VC98\Include\
use MS XPprof!
I think that is all what i have to do before i can use this library:
Boost is comes already configured for most common compilers and platforms
text from the boost
regards
break;
|
|
|
|
|
see my 2nd response - you still have to build the libraries, configured or not
'g'
|
|
|
|
|
do you mean the settings in the :
#define BOOST_COMPILER_CONFIG "boost/config/mysetup/visualc.hpp"
#define BOOST_STDLIB_CONFIG "boost/config/mysetup/stlport.hpp"
#define BOOST_USER_CONFIG "boost/config/mysetup/win32.hpp"
ok, how to build this library!? :->
regards
|
|
|
|
|
if the reply the the first question is 'no', you need to follow these instructions (from introduction.html) ...
Open up a command prompt, which has the necessary MSVC environment variables defined (for example by using the batch file Vcvars32.bat installed by the Visual Studio installation), and change to the <boost>\libs\regex\build directory.
Select the correct makefile - vc6.mak for "vanilla" Visual C++ 6 or vc6-stlport.mak if you are using STLPort.
Invoke the makefile like this:
nmake -fvc6.mak
You will now have a collection of lib and dll files in a "vc6" subdirectory, to install these into your development system use:
nmake -fvc6.mak install
The lib files will be copied to your <vc6>\lib directory and the dll files to <vc6>\bin, where <vc6> is the root of your Visual C++ 6 installation.
You can delete all the temporary files created during the build (excluding lib and dll files) using:
nmake -fvc6.mak clean
Finally when you use regex++ it is only necessary for you to add the <boost> root directory to your list of include directories for that project. It is not necessary for you to manually add a .lib file to the project; the headers will automatically select the correct .lib file for your build mode and tell the linker to include it.
Note that if you want to statically link to the regex library when using the dynamic C++ runtime, define BOOST_REGEX_STATIC_LINK when building your project (this only has an effect for release builds). If you want to add the source directly to your project then define BOOST_REGEX_NO_LIB to disable automatic library selection.
|
|
|
|
|
Hello,
, ok i use nmake and create all libs, there is a new sub folder "vc6", now when i try to copy
all libs to vs6 i recive an error like this:
NOTE: this error is only with -f parameter!
also:
nmake -f vc6.mak install
Error message:
copy vc6\boost_regex_vc6_sss.lib "F:\MICROS~1\VC98\lib"
Access denied
0 Files are copied.
NMAKE : fatal error U1077: 'copy' : return code '0x1'
when i use this
nmake vc6.mak install
touch vc6/libboost_regex-vc6-mt-gd-1_33_1/winstances.obj
...
...
touch all
there r no errors, what is differnt between
nmake -f vc6.mak install
and
nmake vc6.mak install // can i use this!
thanx in advance
break;
-- modified at 10:23 Tuesday 17th October, 2006
|
|
|
|
|
I use the Boost.Regex on MSVC 6 all the time with no problems at all. See here[^] for a list of compatible compilers.
Steve
|
|
|
|
|
Hello Stephen,
i use MS VisualStudio 6 with servicepack 6, i install all packages but i recive an compiler error
when i include regex.hpp!
use:
#include <regex.hpp>
the include path is set, and the error is:
error C2668: 'wcslen' : ambiguous call to overloaded function
this error is for all wcslen() that i have in my code..
regards
break;
|
|
|
|
|
I suspect your problem is poor use of a using directive. If you look through the regex code you’ll see all calls to wcslen are called like this: std::wcslen . MSVC 6 declares a function of the same name in the global namespace. Have you got a using namespace std somewhere? The easiest solution is to make all your calls like this:
::wcslen
Steve
|
|
|
|
|
Hello,
yes, you right, i use "use namespace std;" in 3 source files, for my vector!
I try with ::wcslen();!
regards
break;
|
|
|
|
|
when i change all wcslen() in my project to ::wcslen() i recive to many errors from other files!
|
|
|
|
|
Is it possible to get the text topic of a specific WinHelp/HtmlHelp ID without displaying the windows help or context? I need to have the text topic in a report creation.
Thanks,
Ed
|
|
|
|
|
Hi all,
Could any one help me in getting the public and private IP address of a remote system.
Actually i am developing an application, where i have to connect to a remote server and i have to get the remote sytem's public and private ipaddress.
can any one help me in this regard,
Thanks in advance.
With regards
Gopinath MV
|
|
|
|
|
Have you tried gethostbyname() ?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello Mr David,
I tried that,but i could able to get only the Public IP address, i,e the Internet IP address. but how can i find out the internal ip address of that system
Gopinath MV
|
|
|
|
|
How, or why, are you distinguishing between "Internet" and "internal?"
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Actually, i got a requirement, where i have to get the IPaddress of the system and also its local IP address if it is connnected with in a lan.
and i mean the local ipaddress is the internal ipaddress.
For example my system IPaddress are
E.g : Internet IPaddress : 219.91.165.43
Internal IPaddress : 192.168.0.9
how to get them
Gopinath MV
|
|
|
|
|
gloriousgopi wrote: E.g : Internet IPaddress : 219.91.165.43
Are you sure this isn't the address of some firewall or gateway? Is the name of your machine 43-165.91.219.static.iqara.net?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i just gave an example, those are not exact.
Gopinath MV
|
|
|
|
|
gloriousgopi wrote: but how can i find out the internal ip address of that system
The "internal" ip of the remote system is useless from the outside anyway.
If you MUST have it you can have the server send it to you when you connect.
Mark
|
|
|
|
|
Actually, i got a requirement, where i have to get the IPaddress of the system and also its local IP address if it is connnected with in a lan.
and i mean the local ipaddress is the internal ipaddress.
For example my system IPaddress are
E.g : Internet IPaddress : 219.91.165.43
Internal IPaddress : 192.168.0.9
how to get them
Gopinath MV
|
|
|
|
|
I understand what you want. You can't get it from outside the LAN. Maybe there's a way to
hack in to the router LOL. I would hope not.
Have your server (behind
the NAT) call gethostname(). That will give you the local (LAN) ip address. Send that address to your
client outside (on the WAN).
Call getpeername() from the client to get the server's public (WAN) ip address.
gloriousgopi wrote: Actually, i got a requirement...
Not much you can do with that address from outside the LAN except display it.
Why the requirement? If you can be a little more specific maybe there's a solution.
Mark
|
|
|
|
|
Just i have to display the address, thats it.
Gopinath MV
|
|
|
|
|
Have your server (behind the NAT) call gethostname(). That will give you the local (LAN) ip
address. Send that address to your client outside (on the WAN).
Mark
|
|
|
|
|
Hello, I have to fill a parameter from an edit box, which is later used when creating an sql statement.
Are there any special characters in addition to "*" which I may not use ?
And is there any possibility to easyly avoid that a user enters a "*" into the edit box ?
Greetings
|
|
|
|