Hello again,
I've been trying my best these past days to make it work, but unfortunately
I'm still unable to run OTB on Windows.
This is what I've tried so far:
- I've followed the guide for building OTB on Windows using three
computers, and the result has been the same on all of them: g++.exe:
error: /bigobj: No such file or directory
- Apparently, it doesn't matter whether VS is installed on the
computer or not, because I've uninstalled it using the total uninstaller
and the error persists.
- I've checked the configuring parameters and I'm certain that
mingw64-gcc and g++ are selected.
- I've been trying to build OTB with VS2015 on my work computer but I
always get stuck. I've uninstalled and reinstalled both VS and cmake
several times with no success. That's why I tried with my personal laptop,
and it looks like I built OTB successfully; at least I finish the running
of dashboard.bat. However, when I try to build my own codes I get some
errors. Before describing them, these are the codes I'm testing right now.
They're very simple so that I achieve a first success and then move ahead:
- CMakelists.txt -> pastebin.com/embed_js/kQSHPUyB
- MyFirstProcessing.cpp -> pastebin.com/embed_js/P21gr2Un
- Header.h -> pastebin.com/embed_js/yrTAS2JW
- Now, let's see the errors I get and what I've tried to solve them so
far:
- I get the first error while configuring with cmake. It is not able
to find OpenCV. I thought it should be referenced internally by OTB, but
it
seems it is not. Therefore, I've built it from sources and I explicitly
reference its new location and I can get past this step. After this, I
can
configure and generate the solution correctly.
- When I build the solution using VS, I select Release and build all
three projects within the solution: ALL_BUILD, MyFirstProcessing and
ZERO_CHECK. MyFirstProcessing.exe is created within the Release folder,
but
when I execute it I get a pop-up error saying that
OTBOSSIMAdapters-5.9.dll
doesn't exist. I checked its existence and I actually found it in
C:\dashboard\otb\build_x64\bin\Release. I tried to create an environment
variable to this path, but it didn't work.
So this is where I'm at right now. I think I'm getting closer, although it
is starting to work on my personal computer, not my work computer.
Thanks for your time and help, Rashad. I really appreciate it.
Jaime
--
--
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.