[mpir-devel] Re: locale, unresolved symbol?

2010-01-09 Thread techtech
On Jan 9, 5:59 pm, Cactus wrote: > I have removed the problem in SVN by removing the file level > overrides.  Do let me know if the error persists (or if it doesn't!). >     Brian File level overrides! I encountered those long ago but had forgotten about them. Link successful! Thanks for the h

[mpir-devel] Re: locale, unresolved symbol?

2010-01-09 Thread techtech
On Jan 9, 2:37 pm, Cactus wrote: > They appear to be coming from a link requirement of mpircxx.lib. > > Did you set the correct run time library for mpircxx.lib as well as > mpir.lib? > >    Brian Yes, the following MPIR projects are all I build and they are all set to "Multi-threaded Debug DLL (

[mpir-devel] Re: locale, unresolved symbol?

2010-01-09 Thread techtech
On Jan 9, 1:16 pm, Bill Hart wrote: > That's interesting. Can you give us a selection of some of the symbols > it thinks are already defined? All the dup symbols seem to be from the standard library Runtime, as if Microsoft's Runtime was statically linked into mpir.lib when I built. But I built

[mpir-devel] Re: locale, unresolved symbol?

2010-01-09 Thread techtech
On Jan 9, 1:36 am, Cactus wrote: > Originally you had many more symbol problems - how were these removed > - does this give any clues about this final one? What's the correct way to link with mpir.lib in Visual Studio? The readme.txt file doesn't say much except "add the MPIR and/or the MPIR C++

[mpir-devel] Re: locale, unresolved symbol?

2010-01-09 Thread techtech
On Jan 9, 1:36 am, Cactus wrote: > Originally you had many more symbol problems - how were these removed > - does this give any clues about this final one? >    Brian The locale #undef allowed me to link and run my app this morning. Progress. However, all the other MS Runtime Library conflicts w

[mpir-devel] locale, unresolved symbol?

2010-01-08 Thread techtech
mpirxx.lib(osmpf.obj) : error LNK2001: unresolved external symbol "private: static int std::locale::id::_Id_cnt" (? _id_...@id@loc...@std@@0HA) I get this error in Visual Studio 2008 Standard Edition on both 1.2.2 and 1.3.0-rc3. I don't care about locales, and someone mentioned that I might be ab

[mpir-devel] Re: Runtime Library (MSVS)

2010-01-04 Thread techtech
On Jan 3, 1:55 pm, Cactus wrote: > But you could force a link by adding > /FORCE:multiple >     Brian Useful trick, thanks. I also discovered how to use dumpbin to determine which MS runtime library was requested by a .lib or .dll. (See: http://www.davidlenihan.com/2008/01/choosing_the_correct_c

[mpir-devel] Re: Runtime Library (MSVS)

2010-01-03 Thread techtech
On Jan 3, 12:25 pm, Cactus wrote: > If you have a small example that fails to link, I will be happy to > have a look at it. > >    Brian Unfortunately my app depends on several third-party libraries like SDL and Boost. I'm stuck in the middle trying to guess which lib is truly the cause of the

[mpir-devel] Runtime Library (MSVS)

2010-01-03 Thread techtech
Can anyone tell me if MPIR works under Microsoft Visual Studio 2008 with the "Multi-threaded Debug DLL (/MDd)" setting for Runtime Library? MPIR's projects for VS 2008 use the non-DLL setting of "Multi-threaded Debug (/MTd)". I can build the MPIR library itself successfully with both settings. T