Can you please tell me what you have done to solve the problem (fatal error U1077)? I am trying to install OTB throgh its .sln file but i can't.
On Friday, May 15, 2009 at 10:56:40 PM UTC+4:30, yoususo wrote: > > Solved!! Thank everyone that has read this thread and a lot to who has > helped me. > > I will be around here asking and answering if it's possible > > On 15 mayo, 12:40, yoususo <[email protected]> wrote: > > Hello Emmanuel, > > > > I've passed all the week triying to do something unti the next version > > will be realased, I do the same with gdal141 and i have the same > > problem (Reader->update()) in the same line. I'm starting to think > > thah the problem comes from the installation. To install I do the > > next: > > > > Download GDAL 140 and install it doing > > > > Doing this changehttp:// > blog.aggregatedintelligence.com/2007/12/building-gdal-144-usin... > > C:\Program Files\Microsoft Visual Studio\VC\bin\VCVARS32.BAT > > C:\GDAL> nmake /f makefile.vc > > C:\GDAL> nmake /f makefile.vc install > > C:\\GDAL> nmake /f makefile.vc devinstall > > > > These instructions are from > http://trac.osgeo.org/gdal/wiki/BuildingOnWindows > > > > Download and install cmake2.6-patch 4 > > Download OrfeoToolbox-2.8.zip and extract it > > Run CMake and especify GDAL directories, lib output dir, bin output > > dir, don't use external itk, ... and I press configure with Visual > > Studio 9 2008 as compiler > > Next I press generate > > > > Now, a OTB.sln has been created. > > I copy ossimVersion.h to utilities/ossim/ because if I don't do it, > > generate crash > > I rename gdal_i.lib on the folder gdal/lib to gdal.lib > > And I generate the project. > > Examples are generated. > > > > Do you know what is the problem? > > > > Thank you very much! > > > > On 8 mayo, 17:02, Emmanuel Christophe <[email protected]> > > wrote: > > > > > Hi, > > > I think we've seen a few problem with bmp files. Formats such as tif, > > > png, jpg are tested more extensively so in doubt, it's better to use > > > these. > > > Besides, the next release of OTB (3.0) should be out next week. We've > > > been working quite a bit on gdal (support for the 1.6 and the big > > > tiff) to avoid conflict within OTB. The problem you're seeing might be > > > coming from this. With this release, we will also provide some binary > > > for gdal compiled with all the option required for OTB (ogr, etc). > > > > > Let us know how it went with gdal 1.4 (should be working). If not, you > > > can wait a bit for next week. > > > > > Emmanuel > > > > > On May 8, 8:33 pm, yoususo <[email protected]> wrote: > > > > > > In first place, thank you very much for your fast answer. > > > > > > The code that i try to execute is > > > > > > int main( int , char * argv[]) > > > > { > > > > > > typedef unsigned char PixelType; > > > > const unsigned int Dimension = 2; > > > > > > typedef otb::Image< PixelType, Dimension > ImageType; > > > > ReaderType::Pointer reader = ReaderType::New(); > > > > const char * filename = "C:\\jesus.bmp"; > > > > reader->SetFileName( filename ); > > > > > > reader->Update(); > > > > > > return 0; > > > > > > } > > > > > > The code is from OTB's examples. It is in data representation, > images, > > > > image2. > > > > > > I have tried to open bmp, jpg, jpeg, bsq, .... but it's impossible. > > > > > > I have deleted all and i'm generating otb again using gdal141. I > don't > > > > know if this will be good or not. > > > > > > Thanks again. -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
