Wayland Compilation,

Benjamin Franzke benjaminfranzke at googlemail.com
Sat Oct 30 14:52:11 PDT 2010


If you write --with-egl-platforms=auto configure should fail..
either use x11,drm or dont pass the with-egl-platforms option, both is equal

If you write auto, the configure script searches for a egl-dir named
auto, which is not found..

2010/10/30 Clurado cl <clurado1980 at gmail.com>:
> so , you suggest me to use master branch of mesa ?! its at ver Mesa-7.9 .
>
> i compiled this version with --enable-gles2 --with-egl-platforms=auto , so i
> able to configure and compile wayland . but the compositor starts under x
> and shows the blank window and say failed to create contaxt ,
>
> without x it say failed to create contax , failed to initialize egl ,
> segmention fault .
>
> i also set the Env Vars EGL_DRIVER=/usr/local/lib/egl/egl_dri2.so and
> LD_LIBRARY_PATH
>
>
>
> On Sat, Oct 30, 2010 at 10:23 PM, Benjamin Franzke
> <benjaminfranzke at googlemail.com> wrote:
>>
>> ah, and i forgot: you dont need krh`s private git repos for mesa,
>> libdrm and cairo..
>>
>> furthermore is kms in egl-platforms obsolete, its called drm now..
>>
>> 2010/10/30 Benjamin Franzke <benjaminfranzke at googlemail.com>:
>> > You may need gles support for mesa. enable gles2 via mesa configure:
>> >   --enable-gles-overlay --enable-gles2
>> > and for egl platforms I would use:
>> >   --width-egl-platforms=x11,drm,kms
>> >
>> > If you did that and you installed those packages in a special
>> > location, you may need to set an appropriate PKG_CONFIG_PATH:
>> >
>> > export PKG_CONFIG_PATH="/your/special/install/location/lib/pkgconfig"
>> >
>> > ..so waylands configure is able to find these packages
>> >
>> > 2010/10/30 Clurado cl <clurado1980 at gmail.com>:
>> >> Hi , i think its time to someone write a complete article about wayland
>> >> Compiling & Running . the exististing article is very old and not
>> >> usable now
>> >> .
>> >>
>> >> --
>> >>
>> >> I compiled old versions of wayland years age but it didnt work for me ,
>> >> now
>> >> i think it has more fixes and more stable than old versions.
>> >>
>> >> i downloaded latest versions of these package and compiled and
>> >> installed :
>> >>
>> >> libdrm from /~krh/libdrm
>> >> mesa-kms-6  /~krh/mesa
>> >> libxkbcommon /~krh/libxkbcommon
>> >> cairo-wayland /~krh/cario
>> >>
>> >> .
>> >> mesa with : --with-egl-platforms=kms --disable-gallium --disable-demos
>> >> cair with : --enable-gl
>> >>
>> >> i compiled them without errors and installed them , but when i was
>> >> compling
>> >> wayland i got some errors :
>> >>
>> >> compositor-drm.c : in function create_output_for_connector :
>> >> EGL_DRM_BUFFER_FORMAT_MESA undeclared first use in this functions
>> >>
>> >> and lots more : EGL_DRM_BUFFER_FORMAT_ARGB32_MESA ,
>> >> EGL_DRM_BUFFER_USE_SCANOUT_MESA ...
>> >>
>> >> --
>> >>
>> >> its related to header files , whats the problem ?!
>> >> _______________________________________________
>> >> wayland-devel mailing list
>> >> wayland-devel at lists.freedesktop.org
>> >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>> >>
>> >>
>> >
>
>


More information about the wayland-devel mailing list