<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>I have since solved the compilation problem I had, and was able to run the tutorial code.<br>But there is still something I am not understanding.<br><br>Steps I did:<br>1. finished the steps outlined in http://liblas.org/compilation.html<br>2. copied the INCLUDE and LIB paths from one of the test C++ project (from the solution generated by CMAKE) to my own project.<br>3. compiled the tutorial project<br><br>If I just run the resulting EXE file, it would give me an error:<br><br>---------------------------------------------------------------------------------<br>The procedure entry point<br>?GetPointRecordsCount@Header@liblas@@QBEIXZ could not be <br>located in the dynamic link library liblas.dll.<br>---------------------------------------------------------------------------------<br><br>Setting the PATH variable to include the location of the liblas.dll didn't work.<br>I had to copy liblas.DLL to the same folder as my EXE for it to run.<br><br>I supposed this is not the normal way to run libLAS code. <br>What would be the standard way to do this?<br><br>Also, why would this particular function "Header.GetPointrecordsCount()" look for the liblas.DLL, and not simply linked through the static liblas.LIB file?&nbsp; Another function call in the tutorial "Header.GetFileSignature()" does not seem to have this problem.<br><br>Thanks in advance for your answer.<br><br><br><br></div></body></html>