Hi inderpaul,

> LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of
> other libs; use /NODEFAULTLIB:library
VC 6.0 uses single threaded libraries by default. Crypto++ uses
multithreaded. Also keep an eye on Crypto++ use of static linking to
the C++ runtime versus your project's linkage.

Jeff

On 8/10/09, inderpaul <[email protected]> wrote:
>
> On Aug 9, 5:10 pm, inderpaul <[email protected]> wrote:
> > Hello all again.
> >
> > I'm running into one single error regarding heap memory. The exact
> > description of the error is pasted below. According to Microsoft its
> > either too much memory has been allocated for the heap or not enough.
> > I am not sure on how to fix this one even I did try a couple of things
> > but to no avail.
> >
> > c:\program files\microsoft visual studio\vc98\include\xstring(78) :
> > fatal error C1076: compiler limit : internal heap limit reached; use /
> > Zm to specify a higher limit
> > Error executing cl.exe.
> >
> > Here is the link to the Microsoft page if it helps 
> > anyone.http://msdn.microsoft.com/en-us/library/bdscwf1c.aspx
> >
> > Best Regards
>
> I believe the included cryptest project was using the cryplib as a
> dependency therefore I should be able to create my own test
> application using the same type of setup. I was also able  to get
> around the above error by using the following switch parameter (/
> Zm200) but I am still getting the following two (2) errors:
>
> --------------------Configuration: test1 - Win32
> Release--------------------
> Linking...
> libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall
> std::_Lockit::~_Lockit(void)" (??1_loc...@std@@q...@xz) already defined
> in libcp.lib(locale.obj)
> LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of
> other libs; use /NODEFAULTLIB:library
> Release/test1.exe : fatal error LNK1169: one or more multiply defined
> symbols found
> Error executing link.exe.
>
> test1.exe - 2 error(s), 1 warning(s)
> --------------------Configuration: test1 - Win32
> Release--------------------
>
> Any comments or suggestions would be greatly appreciated.
>
> inderpaul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to