From: Patrick H. <pa...@vr...> - 2002-04-20 19:22:00
|
Okay, compiling the GMTL test suite on Win32 gives exactly the same errors I was getting with Gadgeteer. These are the errors that prompted the patches I mailed out earlier. With gmtl::makeTrans(), the error is: d:\VR\juggler\cygwin\cygwin\home\administrator\patrick\GGT\modules\GMTL\Test\TestSuite\TestCases\MatrixGenTest.cpp(57) : error C2784: 'VEC_TYPE gmtl::makeTrans(const gmtl::Matrix<DATA_TYPE,,> &,gmtl::Type2Type<VEC_TYPE>)' : could not deduce template argument for 'const gmtl::Matrix<ROWS,,> &' from 'gmtl::Vec<DATA_TYPE,SIZE>' with [ DATA_TYPE=float, SIZE=2 ] This error occurs multiple times when compiling MatrixGenTest.cpp. -Patrick Patrick Hartling wrote: > I haven't tried the test suite yet, although I suppose that would be a > good reason to get Doozer working on Win32. :) The last I knew, the > test suite did compile under Win32, but it required VC7. > > -Patrick > > Kevin Meinert wrote: > >> does the test suite compile anything similarly? if so, what is different >> there (assuming the test suite does compile under win32...) >> >> >> kevin >> >> @--@---@---@----@-----@------@------@-----@----@---@---@--@ >> Kevin Meinert __ _ __ >> http://www.vrac.iastate.edu/~kevn \ || \| \ / ` >> Virtual Reality Applications Center \ ||.-'|--\\ >> Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, >> ----------------------------------------------------------- >> >> On Sat, 20 Apr 2002, Patrick Hartling wrote: >> >> >>> Patrick Hartling wrote: >>> >>>> I have had to make some changes to GMTL to get Gadgeteer compiling with >>>> VC7. I don't think they are too nasty, but I thought they should be >>>> reviewed before being committed. The first attached file contains the >>>> diffs made against the latest GMTL. >>>> >>>> Even with those changes, I have run into some other problems compiling >>>> code that uses GMTL. The second attached file contains a diff I made >>>> against a Gadgeteer file (gadget/Devices/Sim/SimPosition.cpp and >>>> gadget/Type/Glove.cpp). The compiler couldn't determine the second >>>> template parameter to gmtl::makeTrans<gmtl::Matrix44f>(), so I added it >>>> in manually. I'm not sure if this is the best solution, but the code >>>> does compile. Does anyone have a better suggestion? >>>> >>>> Finally, I've run into a problem I haven't figured out how to fix. >>>> Again compiling Gadgeteer, VC7 generates a bunch of problems regarding >>>> the use of gmtl::xform in gadget/Type/Glove.cpp. The error output is >>>> the third attachment. I have no idea how to fix this, but once that >>>> file compiles, all of Gadgeteer will compile on Win32. :) >>>> >>>> -Patrick [snip] -- Patrick L. Hartling | Research Assistant, VRAC pa...@vr... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |