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: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: ANN: MAX! home automation v1.9 Date: Fri, 16 Jun 2017 21:54:49 +0200 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: MajGvm9MbNtGBKE7r8NgYA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:46963 Date: 2017-06-16T21:54:49+02:00 List-Id: 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. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de