Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8871663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:02:44+00:00 2026-06-14T18:02:44+00:00

i’m having some troubles when trying to compile Ada code in GPS. GPS says

  • 0

i’m having some troubles when trying to compile Ada code in GPS. GPS says is missing when I include it on a package. I tried installing with apt-get, and it does, but the error is still there. What can I do next? I’m running GPS on a x64 Ubuntu 12.04.

Here’s the error message I got:

gprbuild -d -P/media/LUISMUNYOZ/QUINTO/str/pendulum/pendulum_portatil/pendulum.gpr
 -XEXTRA=True -XOPENGL=True -XGNOME=True -XBUILD=Production
 print_barrier_sync.adb contrib.gpr:1:09: warning: no compiler specified for language "Xml",
 ignoring all its sources x86_64-pc-linux-gnu-gcc -c lw.c In file included from
 /media/LUISMUNYOZ/QUINTO/str/pendulum/pendulum_portatil/gtkada/testgtk/opengl/lw.c:20:0:
 /media/LUISMUNYOZ/QUINTO/str/pendulum/pendulum_portatil/gtkada/testgtk/opengl/lw.h:23:18:
 fatal error: glib.h: No such file or directory compilation terminated.
 gprbuild:* compilation phase failed

[2012-11-21 13:24:47] process exited with status 4 (elapsed time: 02.06s) [2012-11-21 13:24:56]
    Could not locate executable on path: svn SVN error:
[…]

The error triggers at this point:

#ifndef LW_H
#define LW_H

#include <glib.h>           <------------------------------------------
#include <GL/gl.h>

#define LW_MAX_POINTS   200
#define LW_MAX_NAME_LEN 500

The file is lw.h, which is defined in the package GtkAda. I downloaded it from GPS page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:02:45+00:00Added an answer on June 14, 2026 at 6:02 pm

    I’d pursue @Simon’s approach, but a work-around based on 2.4.2. Using the command line might be a temporary alternative while you sort out the underlying problem.

    As you are using linux, here’s a Makefile for the basic Interaction demo.

    # Make shared, static or debug targets.
    OS := $(shell uname)
    OBJ = obj
    TARGET = interaction
    GNATMAKE = gnatmake -D $(OBJ)
    CARGS = -cargs -O3 -gnatp -gnatwu -gnatf
    BARGS = -bargs
    LARGS = -largs
    .PHONEY: clean cleaner cleanest
    
    all:
        @echo ""
        @echo "Build targets:"
        @echo ""
        @echo "    shared     Use the shared Ada libraries."
        @echo "    static     Link the Ada libraries statically."
        @echo "    debug      Enable debugging."
        @echo ""
        @echo "Support targets:"
        @echo ""
        @echo "    clean      Remove *.ali *.o b~.*"
        @echo "    cleaner    Remove target, too."
        @echo "    cleanest   Remove build directory, too."
        @echo ""
    
    shared: $(OBJ)
    shared: INCLUDE = $(shell gtkada-config --cflags)
    shared: BARGS += -shared
    shared: LARGS += $(shell gtkada-config --libs)
    shared: LARGS += -dead_strip
    shared: *.ad[sb]
        @echo "building with shared libraries:"
        $(GNATMAKE) $(TARGET) $(INCLUDE) $(CARGS) $(BARGS) $(LARGS)
    
    static: $(OBJ)
    static: INCLUDE = $(shell gtkada-config --static --cflags)
    static: BARGS += -static
    static: LARGS += $(shell gtkada-config --static --libs)
    static: LARGS += -dead_strip
    static: *.ad[sb]
        $(GNATMAKE) $(TARGET) $(INCLUDE) $(CARGS) $(BARGS) $(LARGS)
    
    debug: $(OBJ)
    debug: INCLUDE = $(shell gtkada-config --static --cflags)
    debug: BARGS += -static
    debug: LARGS += $(shell gtkada-config --static --libs)
    debug: *.ad[sb]
        $(GNATMAKE) -g $(TARGET) $(INCLUDE) $(LARGS)
    
    $(OBJ):
        mkdir $(OBJ)
    
    clean:
        ${RM} $(OBJ)/* b~*
    
    cleaner: clean
        ${RM} $(TARGET)
    
    cleanest: cleaner
        ${RM} -r $(OBJ) 
    

    For reference, these packages were installed on Ubuntu 12.04:

    $ dpkg --get-selections | egrep "gnat|gtkada"
    gnat                        install
    gnat-4.6                    install
    gnat-4.6-base               install
    gnat-gps                    install
    gnat-gps-common             install
    gnat-gps-doc                install
    libgnat-4.6                 install
    libgnatprj4.6               install
    libgnatvsn4.6               install
    libgtkada-bin               install
    libgtkada2.24.1             install
    libgtkada2.24.1-dev         install
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I have this code to decode numeric html entities to the UTF8 equivalent character.
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.