<font class="Apple-style-span" face="verdana, sans-serif">Hello</font><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">I am trying to link the FLASH 3.2 code with the HDF 5 library build with CMAKE and using Visual Studio 9 2008 as the generator.</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">I am trying to link it through the PGI cygwin environment.</font></div><div><div>
<font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif">The error that I am getting is: <br>
<br>----------------- <br><br>io_h5file_interface.o : error LNK2019: unresolved external symbol <font class="Apple-style-span" color="#FF0000">H5check_version</font> referenced in function io_h5init_file_ <br><br>----------------- <br>
<br>When I do: <br><br>$dumpbin.exe /SYMBOLS io_h5file_interface.o <br><br>I see the following in the output: <br><br>----------------- <br><br>020 00000000 SECT1 notype () External | io_h5init_file_ <br>021 00000000 UNDEF notype External | <font class="Apple-style-span" color="#FF0000">H5check_version </font><br>
<br>----------------- <br><br>And when I check for the symbols in the hdf5 library using: <br><br>$dumpbin.exe /SYMBOLS vtkhdf5.lib</font></span></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></span></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif">I see the following in the output: <br><br>----------------- <br>
<br>322 00001CE0 SECT6 notype () External | <font class="Apple-style-span" color="#FF0000">_H5check_version</font> <br><br>----------------- </font></span></div></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></span></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif">Note the <font class="Apple-style-span" color="#FF0000">leading underscore</font> with <font class="Apple-style-span" color="#FF0000">_H5check_version</font>. The symbol is present in the library but has a leading underscore.</font></span></div>
<div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif"> </font></span></div><div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif">There are many other such unresolved external symbol errors. </font></span><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif">All the symbols in the object files they are without the leading underscore and in the library they are with </font></span><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif">the leading underscore. May be this is why I am getting the unresolved external symbol error.</font></span></div>
<div><span class="Apple-style-span" style="font-size: 12px; line-height: 18px; "><font class="Apple-style-span" face="verdana, sans-serif"><br></font></span></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"><font class="Apple-style-span" face="verdana, sans-serif">Can you please suggest something to resolve this issue ?</font></span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"><font class="Apple-style-span" face="verdana, sans-serif"><br></font></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"><font class="Apple-style-span" face="verdana, sans-serif">Thanks & Regards,</font></span></font></div>
<div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"><font class="Apple-style-span" face="verdana, sans-serif">Kunal</font></span></font></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Trebuchet MS', Verdana, Helvetica, sans-serif; font-size: 12px; line-height: 18px; "><br>
</span></div>