A) Workaround is to add: "-I/usr/include/mirclient
-I/usr/include/mircommon" to your compiler options.

B) Something is still odd here. Mir support was enabled in SDL2. You now
have to install libmirclient-dev and mircommon-dev and explicitly add
includes to mir header files in your program in order to compile any
SDL2 program, even if you don't use mir or have mir installed. Sure, Mir
will be the default next release - but that's next release, and trusty
was supposed to be an LTS release.

It's like having to install java in order to compile anything that uses
libc. (Hyperbole, but similar idea).

Enabling Mir support is great, but requiring developers to explicitly
include headers they don't know about and won't use seems odd.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1306629

Title:
  [SRU] SDL_syswm.h can't find mir_toolkit/mir_client_library.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1306629/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to