Difficulty setting up gtkmm on windows using msys2 [message #1826623] |
Mon, 27 April 2020 21:23 |
Simon Savard Messages: 1 Registered: April 2020 |
Junior Member |
|
|
Hi,
As the title suggests, I am having a hard time setting up Eclipse to use gtkmm from msys2.
I had previously been using Code::Blocks for C++ development and I would simply need to point the toolchain to the msys2 toolchain and add the `pkg-config gtkmm-3.0 --cflags` to the compile command and --libs to the linker and everything would work fine, gtkmm apps would compile and run.
I wish to move to Eclipse since it is favoured in my university so I wish to get familiar with it. However, getting gtkmm to work has been a hassle as I have searched many permutations of search terms and seen every links from the first 3 or so pages of google without success.
I realize that using back ticks will not work as Eclipse doesn't seem to be using the MinGW shell to run the commands.
What I have tried:
- Adding back ticks commands, the result is g++ telling me `pkg-config isn't a thing.
- Using the pkg-config support plugin, I had to manually select the pkg-config executable. The list would then contain all my packages but when i select one, the libs are added but not the includes.
- Verified that the correct toolchain is pointed at, added msys2's MinGW to the path. No success.
- Followed multiple videos/tutorials, resetting my settings each time to make sure they don't interfere but no success.
What I'm wondering is, is there another way to, say, make Eclipse use the MinGW shell to run commands? Or is there another way to install gtkmm that would be more conveniant to use with Eclipse? Msys2 was conveniant for Code::Blocks but I realize it might not be the case here. I'd like to avoid having to add all the include files manually to the project.
Using:
Windows 10 version 1909
Eclipse for C / C++ developers (20.03)
All 64 bits
Thank you very much for your support, I hope to use Eclipse more in the future for embedded development as well.
If I am missing any useful information I will make sure to provide them.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04353 seconds