Closed rogermc2 closed 7 months ago
Hello @rogermc2 ,
Did you install XMLAda before? You are missing a project. We recomment to use the Alire package manager: https://alire.ada.dev to build and use templates-parser.
Thanks.
XMLAda was installed before.
I didn't know templates-parser could be built with alire; it doesn't seem to be mentioned as an alire crate on the git repository page.
I needed templates-parser to get the startup-gen hello example to work.
templates-parser now successfully installed with alire.
startup-gen was built with alire.
If possible, how do I make startup-gen and templates-parser executables available system wide as attempt to build startup-gen hello example with GNAT Sudio still fails with:
imported project file "templates_parser.gpr" not found
.
Terminal command fails with
Roger@Rogers-Mac-mini startup-gen-stm32f4 % gprbuild -P hello.gpr gprconfig: can't find a toolchain for the following configuration: gprconfig: language 'ada', target 'arm-eabi', runtime 'light-cortex-m4f'
The new Alire 2.0.1 provides an alr install
command. Use the --prefix
switch to specify installation location.
Mac OSX 14.1.1 Xcode 15.1
templates_parser builds ok with make but make install fails with:
tp_xmlada.gpr:19:06: imported project file "xmlada_unicode" not found tp_xmlada.gpr:19:06: imported by "/System/Volumes/Data/Ada_Source/templates-parser/tp_xmlada.gpr" tp_xmlada.gpr:19:06: imported by "/System/Volumes/Data/Ada_Source/templates-parser/templates_parser.gpr" tp_xmlada.gpr:20:06: imported project file "xmlada_input" not found
etc. Direct compile of tp_shared.gpr also fails. A small test program involving xmlada_unicode.Unicode,To_Unicode builds OK.