本文介绍了如果gtk没有正确的子文件夹,如何在Code :: Blocks中设置GTK +项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循这个,但设置起来似乎更复杂环境变量和更改Code :: Blocks全局编译器设置,所以我想知道这个2013教程是否仍然有效。

When I look back at the repository, I see there is no "include" or "lib" subfolder that is needed to make the project. What can I do to setup the project if neither of those folders exist? I realize the tutorial was written in 2013, so maybe it's outdated. There is a 2015 YouTube tutorial about setting this up, but it seems more complicated with setting up environment variables and changing Code::Blocks "Global Compiler Settings", so I was wondering if this 2013 tutorial still works.

推荐答案

该教程中有很多过时的信息。它建议GTK + 2,GTK +现在在版本3上,移动到4,你可能想要遵循GTK的安装和设置方法,而不是围绕Code :: Blocks定位。

That tutorial has a lot of outdated info in it. It recommends GTK+2, GTK+ is now at version 3, moving on to 4, and you'll probably want to follow GTK's methods for installing and setting up instead of orienting yourself around Code::Blocks.

我的建议是遵循和以及这些关于如何开始的说明,然后开始使用Code :: Blocks(为此您可能需要查看)。

My recommendation would be to follow the GTK+ download instructions and the instructions on how to set it up and maybe these instructions on how to start, then begin making it work with Code::Blocks (for which you probably need to look at this question).

另外,无论如何,为GTK + 3设置Code :: Blocks需要花费多少功夫,你可以考虑使用usi不同的IDE。

Also, with how much work it takes to set up Code::Blocks for GTK+3 anyway, you may consider using a different IDE.

这篇关于如果gtk没有正确的子文件夹,如何在Code :: Blocks中设置GTK +项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!