19 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
108
views
"loadImageSVG" linker error when building with Ada Raylib
Hope you an help me, I am attempting to get into simple game development using Ada and the Raylib Ada binding. So far so good, I set everything up through Alire Package Manager, got VS Code to find ...
-1
votes
1
answer
214
views
How to create an executable Ada file with gnatmake
I have an Ada program that calls a C function. I have the C object file. I wrote an small test to see if it works. When I run:
$ gnatmake main.adb -largs cfile.o -lpthread
apparently there's no error ...
0
votes
0
answers
77
views
add another packages into a ada project
here i've two projects (project1 and project2) on my machine (debian 12 if it help) which are into two different directories. the first, project1 is into All_My_Projects/App_Projects/Project1 and the ...
2
votes
1
answer
96
views
Speeding up alr build with gtk
Is there a way of speeding up an alr build with gtk? Say I start a new project.
alr init --bin a98xml
alr with gtk
That is simple enough.
alr build
This takes about 4 minutes. We only have to do ...
cup's user avatar
- 8,558
0
votes
1
answer
115
views
How to switch off -gnatyt in alr
I've just installed alr on Linux. Haven't used ada for about 10 years and found that gnat community is no longer supported. Entered the following program
with Ada.Text_IO;
procedure A02hello is
...
cup's user avatar
- 8,558
1
vote
1
answer
110
views
Build the whitakers-words dictionary with Alire
First of all I want to apologize for something wrong I will say, I'm new to Ada and Alire.
I am trying to use the whitakers-words dictionary (https://github.com/mk270/whitakers-words) for a personal ...
3
votes
4
answers
555
views
How can I add an additional compiler option in an Alire .toml file?
For cross-compilation I need to specify the MCU type as a option to the Ada, C and theoretically C++ compiler.
How can I do that and in a way that it is also applied when building the dependencies?
At ...
0
votes
0
answers
148
views
How to build SSL enabled for Ada Web Server?
I'm trying to get HTTPS requests working with Ada Web Server (AWS) found at https://github.com/AdaCore/aws/tree/master
I'm on Windows 11 and I don't understand how to make a build of the library and ...
1
vote
1
answer
180
views
Cannot build SDL Ada Bindings on OSX Sonoma because of error: missing binary operator before token "("
I am trying to write a small game using ADA (via Alire and gnat_native toolchain) and SDL2 on my OSX Sonoma 14.4.1.
For Ada I am using Alire and from what I can see I have latest gnat native version (...
-1
votes
1
answer
135
views
Alire macOS Sonoma GTKAda "gtk.ads" not found when compiling a simple "Hello, World!" program
I am having trouble compiling and running a simple GTKAda "Hello, World!" program on a macOS Sonoma M3 Mac. I'm using "alr-6768bdb" from GitHub it's the 11, December 2023 beta ...
-1
votes
1
answer
223
views
Trying to compile a simple Ada program, getting GNAT compiling error in OS 14.1 (23B73) on a M2 MBP
❯ alr build
i Building myproj/myproj.gpr...
Link
[link] myproj.adb
0 0x10034af43 __assert_rtn + 64
1 0x10024cf43 ld::AtomPlacement::findAtom(unsigned char, unsigned long long, ld::...
3
votes
2
answers
2k
views
Gcc 13.1.0 macOS Sonoma not compiling Ada or any languages on Intel or M1 Macs
I just upgraded to macOS Sonoma on my Intel and M1 Macs, and Gcc and Alire cannot compile simple Ada programs or any others so I suspect it's a compatibility issue. I am using Gcc 13.1.0 aarch64 and ...
1
vote
1
answer
161
views
alire cannot run hello programm error code 35
Hello I am trying to run Hello program on Alire on Windows but can't I get this error, can someone help?
Note: Selected tool version gprbuild=22.0.1
Note: Deploying gprbuild=22.0.1...
curl: (35) ...
3
votes
2
answers
248
views
Alire mandates use of GitHub account?
I went to try out the Alire package manager for Ada the other night, and found this in the documentation:
Issue alr init --bin myproj (you can use --lib for a library project)
The first time you run ...
1
vote
1
answer
279
views
Cannot Run GNATStudio - WSL
I've checked the other questions and this case doesn't seem to be covered. I'm running Ubuntu in WSL on my windows machine and I'm trying to run GNATStudio, any time I attempt to run the program ...