From: j a. <jar...@ya...> - 2006-12-21 10:44:09
|
I get the following error when using ossimIndexToRgbLutFilter=0A=0A=0A=0AC:= \programas\pesca\colortable\p1>nmake /f=0Amakefile.vc=0A=0A=0A =0A=0A=0AUti= lidad de mantenimiento de programas de Microsoft=0A(R) versi=BEn 7.10.3077= =0A=0A=0A(C) Microsoft Corporation. Reservados todos los=0Aderechos.=0A=0A= =0A =0A=0A=0A=0A=0A=0A=0A=0A=0A cl /nologo /MD /EHsc /D_FILE_OFFSET= _BITS=3D64 /D_LARGE_FILES /DMPI_SETTING=3D0 /DHAS_OPEN_THREADS=3D0=0A/DGEOT= IFF_ENABLED /DFREETYPE_SETTING=3D1 /DHAVE_CONFIG_H/DOSSIMUSINGDLL=0A-IC:\os= sim_windows\ossim\include -IC:\ossim_windows\geotiff\libgeotiff -IC:\ossim_= windows\geotiff\libgeotiff\libxtiff=0A-IC:\ossim_windows\libtiff\=0A=0A=0A= =0A=0Alibtiff=0A-IC:\ossim_windows\jpeg-6b -IC:\ossim_windows\freetype\incl= ude p1.cpp C:\ossim_windows\ossim\lib\ossim\ossim.lib=0A=0A=0Ap1.cpp=0A=0A= =0Ap1.obj : error LNK2019:=0As=EDmbolo externo "public: void __thiscall oss= imIndexToRgb=0A=0A=0ALutFilter::setLut(class=0AossimRgbLutDataObject &)" (?= setLut@ossimIndexToRgbLutFil=0A=0A=0Ater@@QAEXAAVossimRgbLutDataObject@@@Z)= sin resolver=0Aal que se hace referencia en=0A=0A=0A la funci=F3n=0A_main= =0A=0A=0Ap1.exe : fatal error LNK1120: 1 externos sin=0Aresolver=0A=0A=0ANM= AKE : fatal error U1077: 'cl' : c=BEdigo devuelto=0A'0x2'=0A=0A=0AStop.=0A= =0A=0A=0A=0A=0AOther filters and combinators works fine=0AI've checked the = spelling the code compiles fine with linux code.=0A=0Athe code is=0AossimRg= bLutDataObject *myLut =3D new ossimRgbLutDataObject(256);=0A FILE *col= ormap;=0A int a,b,c,d;=0A colormap=3Dfopen(argv[4],"r");=0A = for (int i =3D0;i<256;i++)=0A {=0A fscanf(colormap," %d %d %d = %d ",&a,&b,&c,&d);=0A (*myLut)[i].setR(b);=0A (*myLut)[i].s= etG(c);=0A (*myLut)[i].setB(d);=0A }=0A //ossimIndexToRgbL= utFilter *lutfilter =3D new ossimIndexToRgbLutFilter(BandAverageFilter,(*my= Lut),0,255,ossimIndexToRgbLutFilter::ossimIndexToRgbLutFilter_NEAREST);=0A = ossimIndexToRgbLutFilter *lutfilter =3Dstatic_cast<ossimIndexToRgbLutF= ilter*> (ossimImageSourceFactoryRegistry::instance()->createObject(ossimStr= ing("ossimIndexToRgbLutFilter")));=0A lutfilter->connectMyInputTo(Band= AverageFilter);=0A lutfilter->setLut(*myLut);=0A /*lutfilter->set= InterpolationType(ossimIndexToRgbLutFilter::ossimIndexToRgbLutFilter_NEARES= T);=0A lutfilter->setMinValue(0);=0A lutfilter->setMaxValue(255);= */=0A //=3D new ossimIndexToRgbLutFilter();=0A =0A Any ideas=0Atha= nks in advance=0AJorge Artieda=0A=0A=0A=0A=0A=0A___________________________= _______________________=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has = the best spam protection around =0Ahttp://mail.yahoo.com |