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

  • SEARCH
  • Home
  • 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 6574621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:17:03+00:00 2026-05-25T15:17:03+00:00

I have installed both the GNAT Programming Studio (GPS) and GtkAda. They both seem

  • 0

I have installed both the GNAT Programming Studio (GPS) and GtkAda. They both seem to work fine, but when I try to build the Simple Window project under New Project from Template, I get a bunch of errors saying “file gtk.ads not found.” This seems to be a directory/dependency sort of problem – GPS doesn’t know where to look for GtkAda. I’m running Windows 7, and have GPS installed at C:\GNAT\2011, and GtkAda installed at C:\GtkAda. I tried adding GtkAda to my PATH; at the moment my PATH user variable includes C:\GNAT\2011\bin, and my Path System variable includes C:\GtkAda\bin. Any advice on resolving this problem is greatly appreciated!

  • 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-05-25T15:17:04+00:00Added an answer on May 25, 2026 at 3:17 pm

    There are two things here.

    First, “project” is key. Whenever you’re building something that depends
    on a library like GtkAda, it’s much much easier if (a) you use GNAT
    Project to manage it, and (b) you use the GPR(s) provided by the library
    – always assuming it does, of course.

    In the case of GtkAda, that means that your GPR needs to “with” GtkAda;

    with "gtkada";
    project Tinkering is
       ...
    

    Second, gnatmake or gprbuild needs to be able to find gtkada.gpr.

    The easiest way is to install GtkAda in such a way that gtkada.gpr is in
    the default place that gnatmake/gprbuild expect to find GPR files. This
    is $prefix/lib/gnat. GtkAda obeys this convention, so you could install
    GtkAda under the same root as your compiler. I don’t know why that’s not recommended anyway.

    If you don’t want to do that, you can add the correct location to the
    environment variable ADA_PROJECT_PATH, for example in your case set it
    to C:\GtkAda\lib\gnat.

    There is a lot of good stuff in the GtkAda README at libre.adacore.com, and in
    the GtkAda User’s Guide which I see from the README is also included with the
    installed package at (in your case) C:\GtkAda\doc\GtkAda\gtkada_ug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed both shoulda and factory_girl, I can run shoulda just fine, but
I have both SQL Server 2005 and Visual Studio 2008 installed and think it
I have installed both plugins: WTP and JBoss Tools (3.3) for Eclipse Indigo, but
I have installed VS2010 SP1 and IIS Express Beta. Both are installed correctly, but
I have installed the dev tools. I have both visual studio 2010 and Visual
I have set up and installed both interprolog and swi prolog on my linux
Have GHC 6.8.3 and wxHaskell-0.10.3 on a Windows XP computer. Installed both as binary
I have 2 computers. Both with w7 as os. I have installed wampserver on
I have two vista Business machines. I have IE 7 installed on both. On
I have both InDesign CS2 and CS3 installed. Both use files with .indd extension.

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.