You can find it in *http://comments.gmane.org/gmane.comp.graphics.otb.user/1878
<http://comments.gmane.org/gmane.comp.graphics.otb.user/1878>* and locate
the problem with keyword "otbWrapperApplication" in this webpage.

2016-01-04 16:40 GMT+08:00 Poughon Victor <[email protected]>:

> You say that you found someone with the same problem online. Could you
> share a link?
>
> Victor Poughon
> ------------------------------
> *De :* [email protected] [[email protected]] de la part
> de 刘志伟 [[email protected]]
> *Envoyé :* jeudi 24 décembre 2015 22:52
> *À :* [email protected]
> *Objet :* Re: [otb-users] Need help: compile OTB library and applications
> from sources on Windows
>
> Hi Victor Poughon,
> I checked the compilation error, found these errors may caused by some
> .lib files within ITK, so I uninstalled the ITK 4.7.2, then I downloaded
> source code of the newest ITK 4.8 and sucessfully compiled it with Visual
> Studio 2013.
> After 'config' and 'Generate' under Cmake, I began to build OTB.sln with
> VS2013 , and this time I got an error as following:
>
> ..\ApplicationEngine\otbWrapperApplication.cxx(66): error C2589: ')' :
> illegal token on right side of '::'
> ..\ApplicationEngine\otbWrapperApplication.cxx(66): error C2143: syntax
> error : missing ')' before '::'
> ..ApplicationEngine\otbWrapperApplication.cxx(66): error C2660:
> 'itk::LoggerBase::SetPriorityLevel' : function does not take 0 arguments
> ..\ApplicationEngine\otbWrapperApplication.cxx(66): error C2059: syntax
> error : ')'
>
> I searched this problem online and found someone had met the same problem.
> I have commented this line to successfully compile the entire project but
> I am not sure this bug can be fixed like this.
> Actually I spent some time reading the code but could not find what's
> wrong.
>
> 2015-12-23 19:31 GMT+08:00 Poughon Victor <[email protected]>:
>
>> Hi 刘志伟
>>
>> Thank you for your interest in OTB! We are well aware that building OTB
>> from source can be challenging, especially on Windows.
>> The instructions for building on windows are here:
>> http://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows
>> I personally don't develop on windows so I cannot help you beyond this
>> guide. It also recommends using Eclispe instead, so maybe this is part of
>> the solution to your problem.
>>
>> Please note however, that compiling from source is not necessarily
>> something you need! If you only want to use OTB applications for image
>> processing, you can download binaries directly from:
>> https://www.orfeo-toolbox.org/download/
>>
>> Let us know how it goes with your project and if you need more help,
>> Cheers,
>>
>> Victor Poughon
>> ------------------------------
>> *De :* [email protected] [[email protected]] de la
>> part de 刘志伟 [[email protected]]
>> *Envoyé :* mercredi 23 décembre 2015 10:04
>> *À :* otb-users
>> *Objet :* [otb-users] Need help: compile OTB library and applications
>> from sources on Windows
>>
>> Dear guys:
>>     I'm a student from Wuhan University, China. I'm interested in OTB
>> features and want to do something about my research on Remote Sensing
>> Graphic processing with this toolbox.However, I followed the SoftwareGuide
>> and tried so many times but failed to set it up.
>>    This is the software environment:* Windows 10 Pro 64-bit, Visual
>> Studio 2013 Ultimate. Cmake 3.4.1*
>>      *1*.* I tried to use SuperBuild*. Use OSGeo4w to install
>> dependencies such as EXPAT/CURL/GDAL/ITK etc.
>>      1.1.Create directory "D:/OTB/src" and clone the source code here(git
>> clone), Create directory "D:/OTB/build" as the OTB_BINARY_DIR and directory
>> "D:/OTB/install" as the OTB_INSTALL_DIR.
>>     1.2. Lauch Cmake and configure it using "D:/OTB/src/SuperBuild" as
>> input and set the CMAKE_INSTALL_PREFIX to "D:/OTB/install"
>>     1.3. Libraries setup by OSGeo4w have been found with "System Checkup"
>> and I used them by setting the corresponding option USE_SYSTEM_XXX.
>>     1.4. lanuch 'Configure' and 'Generate' and after the compilation, the
>> build directory has been organized just as the SoftwareGuide mentioned.
>>     1.5. Open the 'OTB-SuperBuild.sln' with Visual Studio and build the
>> solution. Get *error c1083:Cannot open source
>> file:'D:/OTB/install/include':No such file or directory*
>>
>>      *2.* I also tried to *configure Cmake using "D:/OTB/src"* as input
>> (not the SuperBuild) .Configure and update the valued in red in Cmake and
>> finally there is no error.'Generate' and then open "OTB.sln" with Visual
>> Studio. Build the solution and get lots of link error:
>> errorLNK2038:mismatch detected for '_MSC_VER':value'1600' match value
>> '1800'\fatal error LNK1104:cannot open file
>> '..\OTBApplicationEngine-5.2.lib' and so on.
>>
>>     I really want to know is there anyone build this Toolbox from source
>> code successfully on Windows with Visual Studio?
>>     And I think there should be more details about Build OTB from source
>> code. Sorry to say that this may be the most difficult software I've met
>> and really need help.
>>
>> --
>> --
>> 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.
>>
>> --
>> --
>> 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 a topic in the
>> Google Groups "otb-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/otb-users/pRaQLs38qT8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> --
> 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.
>
> --
> --
> 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 a topic in the
> Google Groups "otb-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/otb-users/pRaQLs38qT8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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.

Reply via email to