Opened 8 years ago

Closed 8 years ago

#2959 closed defect (fixed)

r.viewshed, r.terraflow and i.atcorr broken in 32/64bit builds

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: blocker Milestone: 7.0.4
Component: Compiling Version: 7.0.3
Keywords: c++, r.viewshed, r.terraflow, i.atcorr, mingw64, mingw Cc:
CPU: All Platform: MSWindows 8

Description

r.viewshed, r.terraflow and i.atcorr are not working in the new MS Windows builds. These are C++ modules and does not work in 32bit and 64bit versions.

The executable exists. The error message when running r.viewshed from the system terminal is shown in a dialog:

The application was unable to start correctly (0xc000007b)

In relation to this message a StackOverflow posts mentions STATUS_INVALID_IMAGE_FORMAT and 32-64 mismatch.

The issues were partially already reported in the following:

Applies to all variations:

  • GRASS version: 7.1.svn (r67915, 2016-01-22), 7.0.3 (r67691, 2016-01-28)
  • Build Platform: x86_64-w64-mingw32 and i386-w64-mingw32
  • Platform: Windows-7-6.1.7601-SP1 (OSGeo4W) and standalone Windows-8-6.2.9200

Attachments (1)

error_viewshed.png (8.8 KB ) - added by annakrat 8 years ago.
error message

Download all attachments as: .zip

Change History (7)

in reply to:  description ; comment:1 by hellik, 8 years ago

Replying to wenzeslaus:

r.viewshed, r.terraflow and i.atcorr are not working in the new MS Windows builds. These are C++ modules and does not work in 32bit and 64bit versions.

The executable exists. The error message when running r.viewshed from the system terminal is shown in a dialog:

The application was unable to start correctly (0xc000007b)

In relation to this message a StackOverflow posts mentions STATUS_INVALID_IMAGE_FORMAT and 32-64 mismatch.

The issues were partially already reported in the following:

Applies to all variations:

  • GRASS version: 7.1.svn (r67915, 2016-01-22), 7.0.3 (r67691, 2016-01-28)
  • Build Platform: x86_64-w64-mingw32 and i386-w64-mingw32
  • Platform: Windows-7-6.1.7601-SP1 (OSGeo4W) and standalone Windows-8-6.2.9200

See also https://trac.osgeo.org/grass/ticket/2884

by annakrat, 8 years ago

Attachment: error_viewshed.png added

error message

comment:2 by annakrat, 8 years ago

I attached a message I get on Windows, perhaps might be helpful.

comment:3 by martinl, 8 years ago

I added missing library to the builds in r68144 and r68145. Please check tomorrow's build.

in reply to:  1 comment:4 by wenzeslaus, 8 years ago

Replying to hellik:

See also https://trac.osgeo.org/grass/ticket/2884

Off topic: Tickets on Trac can be linked using hash and number, e.g.: #2884. The advantage is that Trac will tell you ticket title and status in the tool tip and will strike out closed tickets. See for example the original description of the ticket where I actually speak about i.atcorr and link #2884. Also I don't see a need to quote the whole original description. That's why we use Trac and not just mailing list for tracking the issues. No need to read through description twice when I open the ticket page.

in reply to:  3 comment:5 by martinl, 8 years ago

Replying to martinl:

I added missing library to the builds in r68144 and r68145. Please check tomorrow's build.

I have tested latest 7.0.4svn build and it seems to be fixed (I tested r.viewshed). Please confirm.

comment:6 by annakrat, 8 years ago

Resolution: fixed
Status: newclosed

Yes, it's working, thanks!

Note: See TracTickets for help on using tickets.