Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/link error "undefined reference to `zxdg_*" #87

Open
WLCIssuesBot opened this issue May 3, 2017 · 0 comments
Open

build/link error "undefined reference to `zxdg_*" #87

WLCIssuesBot opened this issue May 3, 2017 · 0 comments

Comments

@WLCIssuesBot
Copy link
Collaborator

Issue by joj-pacovi
Wednesday Mar 01, 2017 at 10:35 GMT
Originally opened as Cloudef/wlc#237


Hi,

I am getting a error when trying to compile wlc-Upstream.
Was not satisfied with the gentoo ebuilds and had the Problem that menus only appeared once in sway which was said to be fixed by compiling wlc from git.

Here is what i issue as commands:
git clone https://github.com/Cloudef/wlc.git
cd wlc/
git submodule update --init --recursive
mkdir target && cd target
cmake -DSOURCE_WLPROTO=ON -DCMAKE_BUILD_TYPE=Upstream ..
make

Here is the Error i get:
Scanning dependencies of target example
[ 94%] Building C object example/CMakeFiles/example.dir/example.c.o
[ 96%] Linking C executable example
../src/libwlc.so.0.0.8: undefined reference to `zxdg_shell_v6_interface'

../src/libwlc.so.0.0.8: undefined reference to `zxdg_positioner_v6_interface'

../src/libwlc.so.0.0.8: undefined reference to `zxdg_surface_v6_interface'

../src/libwlc.so.0.0.8: undefined reference to `zxdg_toplevel_v6_interface'

../src/libwlc.so.0.0.8: undefined reference to `zxdg_popup_v6_interface'

collect2: error: ld returned 1 exit status
make[2]: *** [example/CMakeFiles/example.dir/build.make:98: example/example] Error 1
make[1]: *** [CMakeFiles/Makefile2:1229: example/CMakeFiles/example.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

did i miss something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant