From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:2f07:b0:531:ce85:c6e8 with SMTP id od7-20020a0562142f0700b00531ce85c6e8mr1874678qvb.40.1673561396198; Thu, 12 Jan 2023 14:09:56 -0800 (PST) X-Received: by 2002:a05:6214:5693:b0:4c6:fe57:5b97 with SMTP id lm19-20020a056214569300b004c6fe575b97mr5120885qvb.49.1673561395999; Thu, 12 Jan 2023 14:09:55 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!news.uzoreto.com!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 12 Jan 2023 14:09:55 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=118.208.176.39; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 118.208.176.39 References: <53481976-aebc-4d6d-bb8f-aa4f63f0b01b@googlegroups.com> <9becf5e6-1e77-4711-a4bb-1c7a5465e804n@googlegroups.com> <8f87c00c-1043-4452-8cee-ce437c0fafcfn@googlegroups.com> <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com> <624d767b-ce04-46b0-8a5c-1999a86d3a1an@googlegroups.com> <77030e13-e4fc-4675-ac54-9d3047cf992cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Artificial Intelligence libraries in ADA From: Roger Mc Injection-Date: Thu, 12 Jan 2023 22:09:56 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:64816 List-Id: On Thursday, January 12, 2023 at 11:18:42 PM UTC+11, roda...@gmail.com wrote: > On 12/1/23 22:28, Roger Mc wrote: > > I have modified the hello_tf.gpr linker section to > > package Linker is > > for Default_Switches ("ada") use ("-Wl,-rpath,/usr/local/lib", "-L/Users/rogermcmurtrie/miniconda3/envs/tf/lib/python3.9/site-packages/tensorflow", "-ltensorflow_framework", > > "-L/Ada_Source/cBound/tier-1/tensorflow/library/lib", "-lTensorFlow"); > > end Linker; > Maybe try adding "-ltensorflow" to the Linker 'Default_Switches', just > after the "-ltensorflow_framework" switch. Adding "-ltensorflow" didn't work as my tensorflow installation doesn't have any libtensorflow libraries. I tried installing a new version of tensor flow via pip install tensorflow and checked that it had installed correctly as described by the installation instructions. The new version still only contains the following libraries libtensorflow_framework.2.6.5.dylib libtensorflow_framework.2.dylib libtensorflow_framework.dylib Today, I'll try getting hello_tf to work on my Ventura machine using a brew installation of tensorflow. Brew installation of tensorflow under High Sierra fails. Regards, Roger