comp.lang.ada
 help / color / mirror / Atom feed
From: Rod Kay <rodakay5@gmail.com>
Subject: Re: Artificial Intelligence libraries in ADA
Date: Sat, 14 Jan 2023 20:35:07 +1100	[thread overview]
Message-ID: <tptsvp$1ua9j$1@dont-email.me> (raw)
In-Reply-To: <ede6c159-a009-4bd0-9536-8e167d65f6aan@googlegroups.com>

On 14/1/23 09:08, Roger Mc wrote:
> On Friday, January 13, 2023 at 6:18:58 PM UTC+11, roda...@gmail.com wrote:
>> Would you able to send me a patch file for the bits which did need
>> adjusting, so I can add it to the cBound repo ?
> 
> Probably easier if I just report changes that I found necessary to get it to work.
>   A patch file would probably include stuff specific to my own installation and formatting preferences.
> 1.  I removed "-lpthread" from Builder sections of the project (gpr) files due to builder complaint.
> 2.  In tensorflow_wrap.c I needed to change
> #include <tensorflow/tensorflow/c/c_api.h>
> to
> #include <tensorflow/c/c_api.h>
> 3. In tensorflow.gpr I needed to change
> with "swig";
> to
> with "../../../tier-0/swig/library/swig.gpr";
> 4. In tensorflow.gpr I added my path to tensorflow/c/c_api.h to the Source_Dirs
> In my case: "/usr/local/Cellar/libtensorflow/2.11.0/include"
> 5. Not sure whether or not I caused this diff statement for the gpr files:
> -end hello_TF;
> \ No newline at end of file
> +end Hello_TF;
> 6. In hello_tf.gpr:
> -with
> -     "tensorflow",
> -     "swig";
> +with "../../../library/tensorflow.gpr";
> Presumably with is "swig" redundant as imported by tensorflow.gpr
> 

Thanks.


I've opened an issue for these problems in the github cBound repo ...

      https://github.com/charlie5/cBound/issues/2


Perhaps we can continue there. This thread is getting a bit *big* :) .

  reply	other threads:[~2023-01-14  9:35 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10  7:25 Artificial Intelligence libraries in ADA Daniel
2019-07-10  7:39 ` J-P. Rosen
2019-07-10  8:57   ` Daniel
2019-07-10 10:52 ` Dmitry A. Kazakov
2019-07-10 11:30   ` Daniel
2019-07-10 14:44     ` Philip Munts
2019-07-10 15:08     ` Dmitry A. Kazakov
2019-07-10 16:13 ` Jeffrey R. Carter
2019-07-11  7:42   ` Björn Lundin
2019-07-11 16:49     ` Jeffrey R. Carter
2022-11-10 17:58       ` Marius Amado-Alves
2022-11-10 19:10         ` Jeffrey R.Carter
2022-11-10 19:18           ` Luke A. Guest
2022-11-11 10:20             ` Rod Kay
2023-01-08 16:32               ` Dana B
2023-01-09 11:12                 ` Rod Kay
2023-01-11  6:35                 ` Rod Kay
2023-01-12  2:46                   ` Roger Mc
2023-01-12  5:01                     ` Rod Kay
2023-01-12  5:13                       ` Roger Mc
2023-01-12  5:30                         ` Roger Mc
2023-01-12  5:38                           ` Roger Mc
2023-01-12  5:43                             ` Roger Mc
2023-01-12  7:31                               ` Rod Kay
2023-01-12  8:02                               ` Rod Kay
2023-01-12  9:12                                 ` Roger Mc
2023-01-12 10:32                                   ` Rod Kay
2023-01-12 10:51                                     ` Roger Mc
2023-01-12 11:28                                       ` Roger Mc
2023-01-12 12:18                                         ` Rod Kay
2023-01-12 21:57                                           ` Roger Mc
2023-01-12 22:09                                           ` Roger Mc
2023-01-13  0:12                                             ` Roger Mc
2023-01-13  0:40                                               ` Roger Mc
2023-01-13  7:24                                                 ` Rod Kay
2023-01-13 22:13                                                   ` Roger Mc
2023-01-13 11:18                                                 ` Marius Amado-Alves
2023-01-13 14:55                                                   ` Roger Mc
2023-01-13  7:19                                               ` Rod Kay
2023-01-13 22:08                                                 ` Roger Mc
2023-01-14  9:35                                                   ` Rod Kay [this message]
2023-01-14 11:53                                                     ` Roger Mc
2023-01-09  1:56 ` Roger Mc
2023-01-09 10:49   ` J-P. Rosen
2023-01-09 11:21     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox