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 8079393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:05:13+00:00 2026-06-05T16:05:13+00:00

I successfully compiled the following program simple.cc: #include <gtkmm.h> int main (int argc, char

  • 0

I successfully compiled the following program simple.cc:

#include <gtkmm.h>

int main (int argc, char *argv[])
{
  Glib::RefPtr<Gtk::Application> app = 
    Gtk::Application::create(argc, argv,
      "org.gtkmm.examples.base");

  Gtk::ApplicationWindow window;

  return app->run(window);
}

using the following command:

g++ simple.cc -o simple `pkg-config gtkmm-3.0 --cflags --libs`

Which gave me the executable simple, but when I tried to run it, I got the following error:

(simple:2964): GLib-GIO-CRITICAL **: g_application_list_actions: assertion `application->priv->is_registered' failed
Segmentation fault (core dumped)

As far as I can tell, I have the latest and greatest GLib packages. I’m running Ubuntu 12.04 LTS.

  • 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-05T16:05:14+00:00Added an answer on June 5, 2026 at 4:05 pm

    I had the same problem as I have just started on the same tutorial.
    Replace:

        Gtk::ApplicationWindow window;
    

    with

        GTK::Window window;
    

    If you read the description of the code in the tutorial the latter is actually the code that is discussed. Making this change made the program work for me.

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

Sidebar

Related Questions

I am trying to compile the following program: #include <iostream> int main(){ std::cout <<
I have my program written in C++ and it is can be successfully compiled
I have successfully compiled a C-program by GCC on Mac with GD2 library installed
I have the following program that uses ptr_fun with a lambda function. #include <iostream>
Following interface and classes are successfully compiled. Problem is mentioned in the output below
I do tutorial in following link: Java RMI Tutorial After I compile successfully three
I successfully compiled ActionBarSherlock in Eclipse. But I get 75 errors when I use
I've successfully compiled my WinRT version of SQLite for x86 as described by Tim
I have successfully compiled lua in my mac. It works. It runs. Now, I
I've successfully compiled my library on Linux and Mac and used it with Java

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.