|
Boost Users : |
Subject: [Boost-users] function calling convensions
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2009-10-25 14:35:44
Hi:
I need to use the stdcall calling convension for a dll that I'm writing.
When ever I do this with boost, I get the following errors:
...
Creating library d:\Work\Access For
Everyone\GHG\TPProductsZW\Debug\TPProductsZW.lib and object
d:\Work\Access For Everyone\GHG\TPProductsZW\Debug\TPProductsZW.exp
TPProductsZW.obj : error LNK2019: unresolved external symbol "class
boost::system::error_category const & __stdcall
boost::system::get_system_category(void)"
(?get_system_category_at_system@boost@@YGABVerror_category_at_12@XZ)
referenced in function "void __cdecl boost::system::`dynamic initializer
for 'system_category''(void)" (??__Esystem_category_at_system@boost@@YAXXZ)
TPProductsZW.obj : error LNK2019: unresolved external symbol "class
boost::system::error_category const & __stdcall
boost::system::get_generic_category(void)"
(?get_generic_category_at_system@boost@@YGABVerror_category_at_12@XZ)
referenced in function "void __cdecl boost::system::`dynamic initializer
for 'generic_category''(void)"
(??__Egeneric_category_at_system@boost@@YAXXZ)
d:\Work\Access For Everyone\GHG\TPProductsZW\Debug\TPProductsZW.dll :
fatal error LNK1120: 2 unresolved externals
Does anyone know how to solve this issue?
I'm building statically, and using visual studio c++ 2008, I'm also
using __declspec(dllexport)
Regards
Sean.
Results
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net