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=-2.2 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,NICE_REPLY_A,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: Artificial Intelligence libraries in ADA Date: Thu, 12 Jan 2023 18:31:28 +1100 Organization: A noiseless patient Spider Message-ID: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 12 Jan 2023 07:31:11 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="1d3df95a2be197b83fa17e6989f75c3b"; logging-data="1286828"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/E2+jxP8vflB6kcsfx+RqlDpsqqnH+nMU=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cancel-Lock: sha1:TMjfvstJ1PMOivA0moItG4HIjg0= Content-Language: en-US In-Reply-To: <29948ab4-9b39-4996-bcb8-3a2f7f509225n@googlegroups.com> Xref: reader01.eternal-september.org comp.lang.ada:64806 List-Id: On 12/1/23 16:43, Roger Mc wrote: > On Thursday, January 12, 2023 at 4:38:27 PM UTC+11, Roger Mc wrote: >> On Thursday, January 12, 2023 at 4:30:11 PM UTC+11, Roger Mc wrote: >>> My problem now is that my hello_TF build fails in compiling tensorflow_wrap.c with: >>> /Ada_Source/cBound/tier-1/tensorflow/source/thin/tensorflow_wrap.c:150:10: fatal error: tensorflow/tensorflow/c/c_api.h: No such file or directory >>> 150 | #include >>> >>> As tensorflow_wrap.c was automatically generated by SWIG I'm not sure how to proceed. >>> Certainly, there is no on this computer. >> This problem also occurs when I attempt to build tier-1/tensorflow. > > I'm now cloning tensorflow from Git. > Hopefully I'll be able to build it. Does 'tensorflow/c/c_api.h' exist anywhere on your system ? If so, you might try modifying the 'tensorflow_wrap.c' #include to use your path to the 'c_api.h'.