|
Boost Users : |
Subject: Re: [Boost-users] [program_options] linker error LNK2005 (symbol already defined in object)
From: Andrei LIHU (andrei.lihu_at_[hidden])
Date: 2008-10-08 11:06:37
I think I had this problem too a long time ago. I fixed that in
\include\boost\boost\program_options\variables_map.hpp.
Here is the standard Unix diff for that file.
128c128
< friend void store(const basic_parsed_options<char>& options,
--- > friend void BOOST_PROGRAM_OPTIONS_DECL store(const basic_parsed_options<char>& options, -- Check if it works this way for you. Kind regards, Andrei LIHU -------------------- C++ Software Developer +40742545392
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