comp.lang.ada
 help / color / mirror / Atom feed
From: Roger Mc <rogermcm2@gmail.com>
Subject: Re: Artificial Intelligence libraries in ADA
Date: Thu, 12 Jan 2023 02:51:55 -0800 (PST)	[thread overview]
Message-ID: <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com> (raw)
In-Reply-To: <tponjk$18bam$1@dont-email.me>

On Thursday, January 12, 2023 at 9:32:23 PM UTC+11, roda...@gmail.com wrote:

> I doubt using a path to one of the Python system versions will work :/ . 
Yes, it fails due to c_api.h wanting to reference other tensorflow/c header files 

I've just succeeded building tier-1 tensorflow by
1. modifying tier-1/tensorflow/library/tensorflow.gpr:
for Source_Dirs use (".", "../source/**", "../../../../../Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow/include");
2. modifying tensorflow_wrap:
#include <tensorflow/c/c_api.h>

hello_TF compiles but link fails with:
ld: library not found for -ltensorflow
I think I should be able to fix this.

> 
> Which OS are you using ?
MacBook Air (13-inch, Early 2015). although purchased new from Apple in 2018!
OSX restricted to version 10.13.6 High Sierra thanks to Apples planned obscelence policy.
(although somewhat a blessing in disguise)
GNAT Community 2021 (20210519)

I  also have a Mac_mini running OSX Ventura which has its own problems!
However, I do have the latest GNAT working on it.
If I can get this working on my MacBook Air I'll next try a  Mac_mini Ventura version.
I think tensorflow will build from source under Ventura.

  reply	other threads:[~2023-01-12 10:51 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 [this message]
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
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