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=-0.4 required=3.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!aioe.org!BjBzT2/l1M9p3GosSF8Qfg.user.46.165.242.75.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: Working folders for a project Date: Mon, 26 Sep 2022 22:24:44 -0500 Organization: Aioe.org NNTP Server Message-ID: References: Reply-To: nma@12000.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="16411"; posting-host="BjBzT2/l1M9p3GosSF8Qfg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:64430 List-Id: On 9/26/2022 9:50 PM, Rick Duley wrote: > It is my practice to load my software in the folder 'C:\' on my PC but to do my work in a separate disc partition 'D:\'. > > I have created a new Project deploying it in D:\Ada Programming. I specified the Project Name and Main Name as My_SDC. My_SDC reads > > project My_Sdc is > for Source_Dirs use ("Source Files"); > for Object_Dir use "Object Files"; > for Main use ("my_sdc.adb"); > end My_Sdc; > > Project --> Build All is successful and placed the relevant files where I expect them to be. > > Project --> Build and Run --> My_SDC.adb results in this error message: > > [2022-09-27 10:45:00] Error while trying to execute D:\Ada Programming\obj\my_sdc.exe: not an executable > > Something is looking for a folder called D:\Ada Programming\obj which does not exist. How do I get it to look in the right place? > I can't help you with the error but just one free advice Never, ever use a space in files names or folder names. Use "_" instead of space as a separator. So "Ada Programming" folder name should be renamed to "Ada_Programming" --Nasser