From kde-devel Wed Apr 02 18:46:05 2014 From: "Ahmed I. Khalil" Date: Wed, 02 Apr 2014 18:46:05 +0000 To: kde-devel Subject: Re: Trying to use KJSEmbed but facing kjsembed/kjsembed.h: No such file or directory Message-Id: <3265952.Pe2lyEo15E () ramdac-pc> X-MARC-Message: https://marc.info/?l=kde-devel&m=139646436527576 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3894827794225985282==" --===============3894827794225985282== Content-Type: multipart/signed; boundary="nextPart3273594.tUnF8rEQBf"; micalg="pgp-sha512"; protocol="application/pgp-signature" --nextPart3273594.tUnF8rEQBf Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday 01 April 2014 08:51:29 PM Roney Gomes wrote: > On Tue, Apr 1, 2014 at 7:47 PM, Ahmed I. Khalil > > wrote: > > Hello, > > I am trying to use KJSEmbed::Engine in a library that I am writing. My > > CMakeLists.txt links with the ${KDE4_KJS_LIBS} and also contains > > include_directories( ${KDE4_INCLUDES} ). > > > > AFAIK the ${KDE4_INCLUDES} contains all include directories required for > > KDE (as stated in FindKDE4Internal.cmake) . But I don't know why the > > compiler can't find kjsembed.h file. > > How did you install the KJS libs? Depending on their location you'll > may need to set CMAKE_INCLUDE_PATH or CMAKE_PREFIX_PATH. > I've installed it using Arch Linux Pacman, Which installs it to the standard location (/usr/lib/ and /usr/include) > > Here is the full CMakeLists.txt file : > > > > http://pastebin.kde.org/ppankpyj0 > > A paste of cmake's output would also help. Here is the paste of my CMake output http://pastebin.com/LHFRz3Rb > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > >> << --nextPart3273594.tUnF8rEQBf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABCgAGBQJTPHa4AAoJEIFvhuUTJRGRmFYP/1cebBSmwGRhUgL/tKVJKJq7 48MAdPwQuzpAdOAv7uyVUkLu9Y/SRdtcY38B5QhRNRxPCg80+AF1fnP93P+8Zv6F NDKjtr1PFaeoE2w+J6pb7HUzqQwZE29dkmayM9mxsVecckUOavRqCumZ/ZcWPhLO sDTioCC3FtiPc6QoydnvXVV6LWY4BLhVbmFK2g8+rp3ZYQyjyj0dEsiVpZhNpbb2 2Vy17Z44+fBFObqYj1DF/90Msob3zX94dbWvgD5cXabw7cgq/KcoEuJwCg75kWkC XnFoiobvZE/77BEKTOa/XSZdam2NAqdaNXCKzU6IaL4UbroQ4AWPS0h2Saet69ja jZ1t74hEuiHsclpC4CB/Lja2GMXzZHGszCQMUAxakO8AKkUfpMlk+UX/EaqbN6wT PVSjCjrI4axPziXLF9rgCPx6vnBkP14m94G6ikIYtWjs+hYmOvINCqW23A+GqGWG Zx+g16wSZJygzmt2YkkYEZyiE/UgaclHmdA8VDu4LUZlv9IzVjyawnRgtA5Kjn+S jc1bu31JWD9wUOHWtzWUeyawOTNRVYqcseqe48fle/oRFxrAvrinqUz1GDvSaX3O kS6mjzf/NEgY0bkdUEvZdaW79xfWaDtcT0aMGOiJ2BK/tAushwH9OerWgx9N3DCw fgprvFUMiDYpSE8/EBPO =lt/F -----END PGP SIGNATURE----- --nextPart3273594.tUnF8rEQBf-- --===============3894827794225985282== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============3894827794225985282==--