Setting up GTKmm in Eclipse for C++

前端 未结 3 2050
庸人自扰
庸人自扰 2021-01-25 17:49

I am trying to create a GUI using GTKmm in Eclipse, however I can\'t get the configuration working. For reference, here is my actual code:

#include 

        
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-25 18:50

    I can't put this in the comments they are too restrictive. These are the steps I have just gone through to make a gtkmm program in my eclipse. I followed the procedure twice and it worked both times.

    Create Project:

    File -> New -> C++ Project

    Project Type: Executable -> Hellow World Gtkmm Project

    Toolchains: Linux GCC

    Project Properties:

    C/C++ Build -> Settings -> Pkg-config -> gtkmm-3.0

    See if that works for you.

提交回复
热议问题