-
Notifications
You must be signed in to change notification settings - Fork 179
Complile error #38
Comments
What distro? |
Debian, Wheezy |
Looks like a duplicate of #32. Please verify that you have Clutter 1.12. |
stiks@s:~/finalterm/build$ dpkg -l | grep clutter- It's look like 1.14.0 installed and libclutter 1.10.8 |
Wasn't |
Not according to the docs: https://developer.gnome.org/clutter/1.12/ClutterActor.html#ClutterActor--x-expand says 1.12. |
And I have 1.12 on my system, and it works for me. |
Alternatively the actor.x_expand could be replaced with "(layout_manager as Clutter.BoxLayout).set_expand(actor, true);", which is deprecated, but also works with older Vala/Clutter. |
@stiks more precisely that'd be replacing line 56 in src/LineView.vala with "(layout_manager as Clutter.BoxLayout).set_expand(text_container, true);" |
o_o |
@jrabbit Not entirely sure about this, but could you try adding "(layout_manager as Clutter.BoxLayout).set_fill(text_container, true, false);" right below the previous line. |
seems to work fine. |
Pushed to master. Thank you for the workaround, @TomB95! |
stiks@s:~/finalterm/build$ cmake ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'unity'
-- package 'unity' not found
-- checking for module 'libnotify'
-- found libnotify, version 0.7.5
-- checking for modules 'clutter-gtk-1.0;mx-1.0;keybinder-3.0;gee-0.8;libnotify'
-- found clutter-gtk-1.0, version 1.2.0
-- found mx-1.0, version 1.4.6
-- found keybinder-3.0, version 0.2.90
-- found gee-0.8, version 0.8.4
-- found libnotify, version 0.7.5
-- Found Vala: /usr/bin/valac
-- checking for a minimum Vala version of 0.16.0
-- found Vala, version 0.16.1
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/local/share/glib-2.0/schemas/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stiks/finalterm/build
stiks@s:~/finalterm/build$ make
[ 5%] Generating src/FinalTerm.c, src/Terminal.c, src/TerminalStream.c, src/TerminalOutput.c, src/CharacterAttributes.c, src/TerminalView.c, src/LineView.c, src/Autocompletion.c, src/NotifyingList.c, src/ScrollableListView.c, src/Utilities.c, src/TextMenu.c, src/ColorScheme.c, src/Theme.c, src/KeyBindings.c, src/Command.c, src/Settings.c, src/Metrics.c, build/src/Config.c
/home/stiks/finalterm/src/LineView.vala:56.3-56.25: error: The name
x_expand' does not exist in the context of
Clutter.Text'text_container.x_expand = true;
^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [src/FinalTerm.c] Error 1
make[1]: *** [CMakeFiles/finalterm.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: