From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: lyttlec Newsgroups: comp.lang.ada Subject: Re: ANN: MAX! home automation v1.9 Date: Fri, 16 Jun 2017 17:22:43 -0400 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: OCWJW/tfylTAYWPXxdWHHA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:46964 Date: 2017-06-16T17:22:43-04:00 List-Id: On 06/16/2017 03:54 PM, Dmitry A. Kazakov wrote: > On 2017-06-16 16:35, lyttlec wrote: >> On 04/19/2017 12:30 PM, Dmitry A. Kazakov wrote: >>> The software is an Ada GUI application to control wireless radiator >>> thermostats produced under brands MAX! and ELV. >>> >>> http://www.dmitry-kazakov.de/ada/max_home_automation.htm >>> >>> Changes to the previous version: >>> >>> - MQTT on WebSocket support added; >>> - The MQTT server's topic names have the leading '/' removed because >>> some MQTT clients reported having troubles with names starting with '/'; >>> - When controlled over HTTP or MQTT the target temperature can be >>> specified to be airing, comfort, and eco according to the thermostat >>> settings; >>> - The thermostat address can be omitted when in control commands over >>> HTTP or MQTT. In this case the command applies to all thermostats; >>> - HTTP access control (CORS) support added; >>> - HTTP server JSONP support added. >>> >> I'm just getting back into Ada. In order to get some experience with >> gnat-gps, I tried to build max_home_automation. This gives an error >> "apq.ads not found" for apq_keys.ads. What am I missing? > > You should use the GPR project file (max_home_automation.gpr). APQ is > referenced in some source files irrelevant to this project. It seems > that you just compile every source file in there. That will not work. > > Also you should set project scenario variables to match your target. > Then there must be GtkAda + GTK3 developing installed. Additionally > under Linux, unixODBC developing package must be installed. > Thanks for the reply. I have unixodbc, unixodbc-dev, unixodbc-bin installed. I also have libgtk-3-dev, libgtkada3.14, libgtkada3.14-dev, libgnatcoll-gtk3.17 I started the project with : gnat-gps max_home_automation.gpr & and then selected Build->Project->Build All Under the Scenario tab, the list is empty. The target is the laptop used for the build: amd 64-bit Ubuntu 17.04 I do have the environment variable ADA_INCLUDE_PATH set to the paths to the max source and to /usr/share/ada/adainclude/gtkada