Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6046

Compiling X11 on ubuntu results with undefined reference errors

$
0
0

i have problem with compiling my project on Ubuntu.

This is my project: https://github.com/23vbq/tv-managing-system/

It contains directory endpoint with Makefile.

I was developing it on Arch and everything is working. For testing I have installed new, clean VM with Arch and two required packages to build (base-devel [for Make], libx11 [for X11]). Everything is building fine (without any errors, warinings, etc.).

When trying to test it on Ubuntu build of endpoint fails. I have installed libx11-dev package but it still saying that lot of X11 functions are undefined.Here is result from make debug command: https://pastebin.com/6AQNz3KN

Errors comes from this c++ file: https://github.com/23vbq/tv-managing-system/blob/main/endpoint/src/windowmanager.cpp

I checked on Arch what libraries are linked:linked libraries on arch

Ubuntu contains all these libraries.

Also I tested building example of X11 and it is working fine. I don't have any idea why my project building fails on Ubuntu.


Viewing all articles
Browse latest Browse all 6046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>