It seems that your system is not a stock version. You need to find a
workable libclang-dev package and install it before you build beignet.

Beignet is using LLVM/clang as the front end of the OCL compiler. You can
choose clang or gcc to build the runtime library, but for the

compiler part LLVM/clang are always required.

 

From: D [mailto:dcmhoybdp...@web.de] 
Sent: Friday, September 19, 2014 5:16 PM
To: Zhigang Gong; beignet@lists.freedesktop.org
Subject: Re: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2

 

$ sudo apt-get install libclang-3.4-dev

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libclang-3.4-dev : Depends: libclang-common-3.4-dev (= 1:3.4-1ubuntu3) but
it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ 

So I tried $ sudo apt-get install libclang-common-3.4-dev

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libclang-common-3.4-dev : Depends: libllvm3.4 (= 1:3.4-1ubuntu3) but
1:3.4.2-2~gd~t is to be installed
E: Unable to correct problems, you have held broken packages.

$

So I tried $ sudo apt-get install libllvm3.4

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libllvm3.4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$

And what is the purpose of "> cmake -DCOMPILER=[GCC|CLANG|ICC] ../"
(README.md) if one still needs clang? (I wanted to build with GCC)

On 19.09.2014 10:00, Zhigang Gong wrote:

It seems that libclang-dev is missing.
Try to install libclang-3.4-dev.
 

-----Original Message-----
From: D [mailto:dcmhoybdp...@web.de]
Sent: Friday, September 19, 2014 3:25 PM
To: Zhigang Gong; beignet@lists.freedesktop.org
<mailto:beignet@lists.freedesktop.org> 
Subject: Re: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2
 
Hi,
it's Ubuntu 14.04 x64 ("3.13.0-35-generic"). Beignet is from a PPA, don't

see

any utests folder. I tried building myself but it fails:
pastebin.com/PHFUDAHB.
 
On 19.09.2014 01:57, Zhigang Gong wrote:

Hi,
 
Which platform are you using? And what's the kernel version?
Did you try to run the unit test cases? There are detail instructions
In the README.md file to guide how to run those test cases.
If not, please do it firstly to verify the beignet on your platform.
If you already did it, please share the result here.
 
Thanks,
Zhigang Gong.
 

-----Original Message-----
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On
Behalf Of

D

Sent: Thursday, September 18, 2014 9:15 PM
To: beignet@lists.freedesktop.org <mailto:beignet@lists.freedesktop.org> 
Subject: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2
 
Hi,
please check this out:
http://www.luxrender.net/forum/viewtopic.php?f=13
<http://www.luxrender.net/forum/viewtopic.php?f=13&t=11271> &t=11271
 
--
OpenPGP/GnuPG key:
 

https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C680

8
2ED
 
_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org <mailto:Beignet@lists.freedesktop.org> 
http://lists.freedesktop.org/mailman/listinfo/beignet

 
 
--
OpenPGP/GnuPG key:
https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C6808
2ED

 






-- 
OpenPGP/GnuPG key:
https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED
_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to