[GRASS-dev] Compiling and running a module in winGRASS- not running in Win7 but yes in XP

Helmut Kudrnovsky hellik at web.de
Wed Apr 6 15:14:11 EDT 2011


>6- Then I placed exe and dll in OSGEO4w/apps/grass/grass6.4.1svn/bin
>7- I runned in WinGRASS in WinXP and it runned just fine
>8- I runned in WinGRASS in Win7 and I got a pop window checking error and
>the following was printed in GRASS Command window:
>This application has requested the Runtime to terminate it
>in an unusual way.
>Please contact the application's support team for more

maybe an issue with windows UAC (see [1],[2)]?

UAC isn't present in WinXP, but Vista and a above.

last year, creating a manifest [3] for everey module-exe was added in the wingrass-build process. 
a manifest tells the windows os how to proceed with an exe.

just have a look in C:\OSGeo4W\apps\grass\grass-6.4.0\bin, 
everey xyz.exe is accompanied by an xyz.exe.manifest.

let's try following on the Win7-plattform

- after copying exe and dll in 
grass6.4.1svn/bin, just copy d.ask.exe.manifest and 
rename it to i.segment.exe.manifest. 

- open this file in 
an text editor and change every occurence of d.ask to i.segment.

- try running i.segment in the wingrass-session.

best regards

[1] http://en.wikipedia.org/wiki/User_Account_Control
[2] http://technet.microsoft.com/en-us/library/cc709691%28WS.10%29.aspx
[3] http://msdn.microsoft.com/en-us/library/aa375365%28v=vs.85%29.aspx

Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1747 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20110406/c9b9c67d/smime.bin

More information about the grass-dev mailing list