<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
Please use the mailing list. You can manually add -fPIC in
CMAKE_C_FLAGS and CMAKE_CXX_FLAGS to both ITK and RTK compilations.<br>
No, the ITK GPU option is not required.<br>
Simon<br>
<br>
<div class="moz-cite-prefix">On 14/12/2015 05:17, varghese alex
wrote:<br>
</div>
<blockquote
cite="mid:CAPBnh8wKuDPimjkZreWgKMm_gZtTTQnO06u3qYfkFz0MVHJ61g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi Simon;<br>
<br>
</div>
I have been trying to install openRTK for the past one
week with very little success. I tried the steps given
in <a moz-do-not-send="true"
href="http://wiki.openrtk.org/index.php/Main_Page">http://wiki.openrtk.org/index.php/Main_Page</a>.<br>
<br>
</div>
I did'nt have any issues <br>
installing ITK, however while installing RTK, I
encountered the following error.<br>
<br>
<br>
<b>/usr/bin/ld:
/home/ayush/ITK-bin/lib/libitksys-4.5.a(SystemTools.cxx.o):
relocation R_X86_64_32S against
`std::basic_string<char,
std::char_traits<char>,
std::allocator<char>
>::_Rep::_S_empty_rep_storage' can not be used when
making a shared object; recompile with -fPIC<br>
/home/ayush/ITK-bin/lib/libitksys-4.5.a: could not
read symbols: Bad value<br>
collect2: ld returned 1 exit status<br>
make[2]: *** [bin/libRTK.so] Error 1<br>
make[1]: *** [code/CMakeFiles/RTK.dir/all] Error 2<br>
make: *** [all] Error</b><br>
<br>
<br>
</div>
The webpage asks the users to set <b> CMAKE_BUILD_TYPE as
Release</b>, but I don't see any option. I am attaching
a screenshot of the same. I should say that while
installing ITK, I had an option of selecting "<b>CMAKE_BUILD_TYPE</b>"<br>
<br>
<br>
</div>
<b>### Using GPU for RTK;<br>
</b><br>
</div>
Should the option "itkgpu" be switched on [Default -OFF] if I
need to run any of my RTK programs on GPU.<br>
<br>
<br>
</div>
<div>Hope you can help me successfully installing RTK soon.<br>
<br>
</div>
<div>Thanks in advance for the help<br>
<br>
</div>
<div>Regards<br>
<br>
</div>
<div>Varghese Alex<br>
</div>
<div>Ph. D scholar<br>
</div>
<div>IIT Madras ,Chennai<br>
</div>
<div>India<br>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>