< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Build TFM Under VC++.NET 7.1


        Hello everyone.

I have been trying to get the TFM sanityTests package to build under VC++.NET 7.1 to no avail.

I am currently working with build 5681 and I am using the provided solution files (reSIProcate_7_1.sln and tfm.sln) without change. Resiprocate itself builds without problems and we are using it for testing just fine. When I build tfm.lib I get various warnings (type conversions, signed/unsigned) but none seem problematic. So all looks good.

        When I then try to build sanityTests though I have big problems.

The first one is easy to fix and is the same problem reported earlier (Nov. 7) regarding "interface" being a reserved word in 7.1. This is used in both TestRepro and TestReproUser. Can someone please fix this in the source tree when they get a chance?

The second issue occurs during the link phase. I get all these conflicts for basic stuff such as the following.

sanityTests error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::operator<<(int)" (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z) already defined in sanityTests.obj

        ...and...

sanityTests error LNK2001: unresolved external symbol "public: static class TestUser * Fixture::jason1" (?jason1@Fixture@@2PAVTestUser@@A)

I am also getting lots of basic stuff being already defined (like a std:: library conflict) as follows.

sanityTests error LNK2005: __snprintf already defined in LIBCMTD.lib(snprintf.obj)

Any ideas? Has anyone actually built the sanityTests project under 7.1?

Also, Boost (./contrib/boost_1_33_0) is listed in the project include path but is not provided in the source tree and does not appear to be used.

        Any help would be greatly appreciated. Thanks.