cmake does not work
Tomaz Canabrava
tcanabrava at kde.org
Thu Jul 10 15:59:13 UTC 2014
On Thu, Jul 10, 2014 at 12:45 PM, Shantanu Tushar Jha
<shaan7in at gmail.com> wrote:
> Cool, though I had asked "how" have you installed Qt ;) Because I've never
> encountered this error.
>
> Anyway, you can even add the fPIC flag like this -
>
> cmake .. -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix` -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 -DKDE4_BUILD_TESTS=OFF
>
It's a very common error if you work with Math based software,
libraries like CGAL are compiled with -fPIC and your code should also
compile with that because if you don't, strange things will happen.
and Qt5 is compiled also with -fPIC. :)
>
> On Thu, Jul 10, 2014 at 8:33 PM, Devanshu Jain <devanshu.jain919 at gmail.com>
> wrote:
>>
>> Hi Shantanu,
>> I am using Ubuntu 14.04 and yes I have Qt installed.
>>
>>
>> On Thu, Jul 10, 2014 at 8:26 PM, Shantanu Tushar Jha <shantanu at kde.org>
>> wrote:
>>>
>>> Hi Devanshu,
>>>
>>> What distro are you using? Also, how have you installed Qt?
>>>
>>>
>>> On Thu, Jul 10, 2014 at 4:48 PM, Devanshu Jain
>>> <devanshu.jain919 at gmail.com> wrote:
>>>>
>>>> Hi Harish,
>>>> Thanks for pastebin suggestion. I would keep it in mind next time.
>>>> As for the typos: No I didn't make any typos. I double checked
>>>> everything.
>>>>
>>>>
>>>>
>>>> On Thu, Jul 10, 2014 at 4:37 PM, R.Harish Navnit
>>>> <harishnavnit at gmail.com> wrote:
>>>>>
>>>>> On Thu, Jul 10, 2014 at 12:35 PM, Devanshu Jain
>>>>> <devanshu.jain919 at gmail.com> wrote:
>>>>>>
>>>>>> Please find the enclosed cmake output log file
>>>>>
>>>>>
>>>>> Hi Devanshu,
>>>>>
>>>>> I would suggest using pastebin instead of attaching the output logs in
>>>>> your mails. I think that's a lot easier and attachments in mails sent to
>>>>> ML's is not a good practice either.
>>>>>
>>>>> I don't think there's any hard and fast rule as such, but usually
>>>>> clones of projects that you wish to build and run are placed in the home
>>>>> dir, no ? (you may ignore this) and I hope you didn't make a typo while
>>>>> running the command that Sinny mentioned.
>>>>>
>>>>> Regards.
>>>>> R.Harish Navnit
>>>>> The Enigma
>>>>>
>>>>> _______________________________________________
>>>>> Plasma-devel mailing list
>>>>> Plasma-devel at kde.org
>>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Plasma-devel mailing list
>>>> Plasma-devel at kde.org
>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Shantanu Tushar (UTC +0530)
>>> http://www.shantanutushar.com
>>>
>>> _______________________________________________
>>> Plasma-devel mailing list
>>> Plasma-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>
>>
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>
>
>
> --
> Shantanu Tushar (UTC +0530)
> http://www.shantanutushar.com
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
More information about the Plasma-devel
mailing list