16.09.2016, 18:09, "Tobias Hunger" :
> Hi Kapil,
>
> according to the error message you will need to build your code with
> -fPIC. Not very helpful, but the best I can do with that information,
> sorry.
>
> https://cmake.org/cmake/help/v3.6/variable/CMAKE_POSITION_INDEPENDENT_CODE.html#variable:C
Hi Kapil,
according to the error message you will need to build your code with
-fPIC. Not very helpful, but the best I can do with that information,
sorry.
https://cmake.org/cmake/help/v3.6/variable/CMAKE_POSITION_INDEPENDENT_CODE.html#variable:CMAKE_POSITION_INDEPENDENT_CODE
might help though:-)
Hi,
I am having this error with qt code :
```
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40,