LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 05-30-2018, 11:33 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
this distro is not finding header for gtk / gdk within itself.


I just happen to be using codeblocks, nonetheless, I am doing gtk, using these two headers, trying to anyways,
Code:
#include <gtk-2.0/gtk/gtk.h>
#include <gtk-2.0/gdk/gdk.h>
then when I compile just to see if it will, I get the error,
Code:
gdk/gdk.h no such file or directroy
as it pops open the header for gtk.h showing its includes #include <gdk/gdk.h>
and its path to the gtk.h header is

Code:
/usr/include/gtk-2.0/gtk/gtk.h/...
like this system is not setup to use relative paths for gtk, as all of the code files I've ever looked at all just use
Code:
#include <gtk/gtk.h>
and manjaro is not allowing this instead I have having to use absolute path statements for gtk. Which would require me to edit all of the gtk headers files on the system side to absolute paths.


even if I get this worked out, then if I boot into Slack and code on this some, I am thinking it will/might screw up again due to this absolute path issue I think it is having.

even within itself as the gtk.h header is using relative path and throwing an error as a result of it.

any Manjaro programmers know how to deal with this?

---
mod:
on second thought , it maybe the command line as I have not added anything to tell it to use gtk. I just popped open codeblocks and a webpage how to and started typing.
---
I know its a programing setup issue, but it is distro specif.

Last edited by BW-userx; 05-30-2018 at 11:44 AM.
 
Old 05-30-2018, 11:50 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
user error
Code:
`pkg-config --cflags gtk+-2.0` \
`pkg-config --libs gtk+-2.0`
Now I am getting the proper errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gdk.font in Ada Gtk Mario Blunk Programming 0 02-02-2013 07:45 PM
pkg-config glib gtk gdk Peterius Linux - Software 6 05-11-2007 02:38 AM
Help on GDK GTK+ programming varun_shrivastava Programming 0 05-07-2007 09:06 AM
how to get window from gdk to gtk? SciYro Programming 1 08-03-2004 09:01 PM
gtk , gdk ????? varunk123456 Linux - Software 7 04-03-2004 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration