mainRapid Ada Portable Interface Designer - Support: sr #107236, Attempt to compile and execute...

 
 

sr #107236: Attempt to compile and execute under MinGW

Submitter:  None
Submitted:  Tue 26 Jan 2010 04:43:32 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  okellogg
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  Microsoft Windows
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Jan 2010 05:57:47 AM UTC, comment #2: 

For further discussion of MinGW build, see
http://savannah.nongnu.org/support/?107238

Oliver Kellogg <okellogg>
Group administrator
Tue 26 Jan 2010 09:56:33 PM UTC, comment #1: 

Thanks for your report.
Should be fixed by following commit to svn.savannah.nongnu.org/rapid/ :

------------------------------------------------------------------------
r67 | okellogg | 2010-01-26 22:52:00 +0100 (Tue, 26 Jan 2010) | 1 line
Changed paths:
   M /trunk/tcl_peer/mcc-gui-widget-dropdown.adb
   M /trunk/tcl_peer/mcc-gui-widget-text_entry.adb
   M /trunk/tcl_peer/mcc-gui-widget-textbox.adb

MCC.Img function returns 'Image without leading space - add space where needed.

Oliver Kellogg <okellogg>
Group administrator
Tue 26 Jan 2010 04:43:32 PM UTC, original submission:  

Dear RAPID developers,
I attempted to compile and execute "rapid.exe" under MinGW+MSYS, using:
 
*) gcc version 3.4.5 with GNAT 3.4.5 (mingw special)
*) tcl and tk for MinGW, release 8.4
*) TASH, version 8.4.1a

I compiled first the demos provided with TASH, checking that they were working properly.

Then I modified makefile for RAPID (current source version 3.2), just in the following lines:

GNATLINK_ARGS := -L$(TASH_ROOT)/src -ltk84 -ltcl84 $(TASH_ROOT)/src/tkmacro.o $(TASH_ROOT)/src/tclmacro.o

gnatmake $(RAPID_INCLUDES) -I$(TASH_ROOT)/src -g rapid -largs $(GNATLINK_ARGS)

I was able to obtain a working executable "rapid.exe"; running it, for instance to customize "examples/simple/demo.gui", the problem comes when pressing right mouse button to modify a widget.
This generates an uncaught TCL.ADA.TCL_ERROR_EXCEPTION, with message:
< wrong # args: should be ".name74.name76 selection range start end" >

Apparently, this seems actually the only problem; I expect that obtaining a working RAPID under MinGW is then very easy...





Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by okellogg (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-28 okellogg StatusReady For Test Done
        Open/ClosedOpen Closed
    2010-01-26 okellogg StatusNone Ready For Test
        Assigned toNone okellogg

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code