Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2013 11:36:23 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        lbartoletti <coder@tuxfamily.org>
Cc:        ohartman@zedat.fu-berlin.de, freebsd-ports@freebsd.org
Subject:   Re: Freeocl build but doesn't work
Message-ID:  <20130725113623.1a9ad58d@kalimero.tijl.coosemans.org>
In-Reply-To: <20130725091756.4a01c51d@bureau>
References:  <20130725091756.4a01c51d@bureau>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/FwmtJ0wge6Sa9FQINkZg7G7
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 25 Jul 2013 09:17:56 +0200 lbartoletti wrote:
> Hello,
>=20
> I try to work with opencl via Freeocl but it doesn't work.
>=20
> When i build a test, it's ok (except with gcc46), but when i run it, it
> doesn't work :
> ": version GLIBCXX_3.4.11 required
> by /usr/local/lib/libOpenCL.so.1 not found"
>=20
>=20
> here some logs and the source code for test.
>=20
> Thank your for your help

Compiling C++ code with gcc ports is a little tricky because they insist
on using their own runtime libraries (/usr/local/lib/gcc46/libstdc++.so.6)
instead of the base system libraries (/usr/lib/libstdc++.so.6).

So try to compile your test with "gcc46 -Wl,-rpath=3D/usr/local/lib/gcc46".

--Sig_/FwmtJ0wge6Sa9FQINkZg7G7
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iF4EAREIAAYFAlHw8ZwACgkQfoCS2CCgtiswQQD/WYk9V7vx6IOHYZH2G+p3lM2v
51vVb7KMmo8kLzE2LDoA+wbmHeOW6zJNrcTY1d2v6OOx2SagvIsHJYeA7MMPC8Z9
=D/yR
-----END PGP SIGNATURE-----

--Sig_/FwmtJ0wge6Sa9FQINkZg7G7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130725113623.1a9ad58d>