I am trying to make autocompletion using Gtk.SourceView. I added --pkg gtksourceview-3.0 in the makefile. Now when I try to make, it gives fatal error: gtksourceview/gtksource.h: No such file or directory
error while compiling: gtksourceview/gtksource.h: No such file or directory
1.5k Views Asked by user2716394 At
2
There are 2 best solutions below
Related Questions in GTK
- Do GTK file chooser dialogs come with localized strings for buttons and titles?
- Why does GTK beep when calling `gtk_entry_set_text` (while resizing a window)?
- Distributing a GTK4 Windows application
- Callback function doesn't modify widget
- getting arguments with g_signal_connect GTK4
- ValueError: Namespace Xdp not available
- How do I link gtk/gtk.h to my compiler in VSCode
- Using GTK v0.18.1 on rust to draw
- How to set transparent background for gtk_plug_new window
- GTK Cairo. Why gtk_widget_queue_draw called from function (in iddle callback) does not work?
- GTK4 Window Created from XML, Closes Immediately After Run()
- How do I receive UDP broadcast packets using GTK / GIO?
- Install Gtk 3.0 problem with depencies in linux
- Ubuntu 22.04 libgtk-3.so: undefined reference to symbol 'gdk_window_hide'
- GTK: "Object with ID not found" error, but the ID is empty
Related Questions in VALA
- Writing value to GATT characteristic via DBUS results in "garbage" value during subsequent read
- Stuck at 101 switching protocols in Vala/Liboup websocket client
- Static enums in Vala?
- GTK: "Object with ID not found" error, but the ID is empty
- how to read a string array property of an outer class?
- How do I return a C array of strings to be used in Vala code?
- Bind more than one source properties to a target property in Vala?
- Write into stdin, read from stdout Subprocess/Process in Glib/GTK Vala
- How do I make a Gtk4 application with a menu bar in Vala?
- gtk4 styleprovider vs set_css_classes
- Looking for an example how to use ColumnView in GTK4 with editable cells
- Replace a paintable with another in vala Gtk4
- What does the class keyword do to a method in Vala?
- Giving vala a variable to function doesn't pass right
- Simple image viewer with Vala and GTK4
Related Questions in GTKSOURCEVIEW
- GTKSourceView "style not defined" when loading a file with custom .lang file
- GtkSourceView-CRITICAL **: Highlighting a single line took too much time, syntax highlighting will be disabled
- Can Gtk widgets be imported into Gtk#
- GtkSourceView - Gedit: regex matching discrepancy
- How to change the background color of the line numbers mode in GTK3+?
- How to add custom color scheme for syntax highlighting in a Text Editor using gtk source view and XML
- How to syntax highlight different assembly languages in Gedit?
- How can I load a style in GtkSourceView in python?
- Loading big files into GtkSourceView is slow
- GtkSourceView/Buffer crash: Gtk-ERROR: Byte index is off the end of the line
- How to apply style using GtkSourceView library
- How to modify the formatting options for a single <keyword> in a syntax highliting definition for GEdit?
- Use double line feed as <end>-element in GtkSourceView
- gtksourceview / gedit syntax-highlighting : highlighting a 'shell' sub-section
- Why can I not use GtkSourceView in GtkBuilder, loading a file by Glade?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Valac (or better gcc) search (by default) header files in /usr/include and /usr/local/include/. Maybe apt-get did not copy these files in /usr/include/.
So:
1.Open gtksourceview-3.0 package (default path of vapi files is /usr/share/vala/vapi or /usr/share/vala-0.20/vapi)
2.Checks [cheader_filename]: if it is something like:
then valac tries to use /usr/include/gtksourceview/gtksource.h or /usr/local/include/gtksourceview/gtksource.h
3.Check if /usr/include/gtksourceview contains gtksource.h
4.If not, search your gtksource.h: we suppose that is in /usr/include. Then create a symbolic link:
# ln -sf /usr/include/gtksource.h /usr/include/gtksourceview/gtksource.h