I have been using CPPUnit for a while now with dynamically linked apps. But I also have a few applications that must be distributed as small, stand-alone static apps. (i.e. I don't want to distribute MFC libraries)
These apps are built using VC++ 7 Runtime Libarary set to Multi-threaded Debug (/MDt).
But CPPUnit requires application linking to be Multi-threaded Debug DLL (/MDd).
I tried rebuilding CPPUnit using /MDt and got lost in library conflict hell.
Does anyone have a solution?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an app right here using static MT libs, no problems. If you are lost in LCH, then be sure all the libs you are linking in are all static.
My problems are getting CPPUnit, Log4cxx, Boost and STLPort to play nice!
Hope this helps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been using CPPUnit for a while now with dynamically linked apps. But I also have a few applications that must be distributed as small, stand-alone static apps. (i.e. I don't want to distribute MFC libraries)
These apps are built using VC++ 7 Runtime Libarary set to Multi-threaded Debug (/MDt).
But CPPUnit requires application linking to be Multi-threaded Debug DLL (/MDd).
I tried rebuilding CPPUnit using /MDt and got lost in library conflict hell.
Does anyone have a solution?
Thanks in advance.
I have an app right here using static MT libs, no problems. If you are lost in LCH, then be sure all the libs you are linking in are all static.
My problems are getting CPPUnit, Log4cxx, Boost and STLPort to play nice!
Hope this helps