$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Methods prefixed by cdecl?
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-10-20 03:37:02
> I'm using Windows 7 (64 bit) and I'm trying to compile and link my code
> against the regex libraries. It compiles fine, but at link time, it can't
> find any of the methods in the regex library. But the methods it's looking
> for are prefixed by "__cdecl". I've tried compiling my code with the /Gd
> and /Gz options, and neither seemed to work.
Are you letting the auto-linking code select the correct regex .lib file to
link against, or are you linking manually?
I ask because those are the kinds of errors you may get if you select the
wrong .lib to link to.
HTH, John.