Hi Payal, Dont know about Netbeans IDE but I had configured OTB using Eclipse in both linux and windows.
Here is a wiki page (draft) about building OTB in Windows with MinGW. I will refer you to the itk section where there is a howto about Eclipse and cmake project. The procedure is same on linux instead you chose native compiler in cmake gui. [1] http://wiki.orfeo-toolbox.org/index.php/MinGW#ITK On Fri, Jul 11, 2014 at 3:51 AM, Payal Prajapati < [email protected]> wrote: > Hello to All, > > OTB has many classes and APIS..I want to configure it using Netbeans for > c/c++ for my conveniency..I have tried 2 things: > > 1)I added all the required include headers and corresponding linkers.All > works fine but when i compile a single program of hello world it gives me > many errors(i can't count) regarding .h and .txx like... > > for example.. > usr/local/include/ITK-4.5/itkSmartPointer.h:132:error: Expected ';' > before 'c' token. > > error:m_pointer was not declared in this scope. > > What to do? > > 2)I tried it for eclipse CDT4 generator as entioned in mailing list. > command is : > CMake -G "Eclipse CDT4 - Unix MakeFiles" -D CMAKE_BUILD_TYPE=Debug(or > Release) <path to the source> > but this command is generating not any ./project or ./cproject in > build directory.. > > plz provide a way to configure it with Netbeans or Eclipse c/c++ module. I > am using Redhat workstation. > > Thank You. > > -- > -- > 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. > -- Regards, Rashad -- -- 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.
