It's really hard to find problem without having whole picture.<div><br></div><div>I can only suggest printing debug information from your CMakeLists.txt with message() command. There could be problems with CUDA_COMPILE, it may return empty list for example, if cuda library isn't found for current platform/compiler. So try printing values of all required variables (_CUDA_GENERATED_FILES, _libGPIUTMD_cu_sources, etc) to localize problem.</div>
<div><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 9:47 AM, Nima Nouri <span dir="ltr"><<a href="mailto:nouri.f.nima@gmail.com">nouri.f.nima@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi<br>I cannot make a small stand alone example, it is a big project.</div><div>however I have checked the cmakelists. I am sending you the part that is responsible for making the cuda file lists.</div><div><div></div>
<div class="h5"><div> </div><div>
</div><div class="gmail_quote">On Thu, Jul 28, 2011 at 8:03 AM, Yuri Timenkov <span dir="ltr"><<a href="mailto:yuri@timenkov.ru" target="_blank">yuri@timenkov.ru</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204, 204, 204);border-left-width:1px;border-left-style:solid" class="gmail_quote">The original CMakeLists will be helpful to solve your problem. Could you provide a small stand-alone example reproducing your problem?<br>
<br><div class="gmail_quote"><div><div></div><div>On Wed, Jul 27, 2011 at 8:02 PM, Nima Nouri <span dir="ltr"><<a href="mailto:nouri.f.nima@gmail.com" target="_blank">nouri.f.nima@gmail.com</a>></span> wrote:<br>
</div></div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204, 204, 204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div><div></div><div><div class="gmail_quote">
<div>Hi everybody</div><div> </div><div>I am currently trying to compile my source code on VC9.</div>
<div>Previously I was using VC8 and every thing was fine but now cmake does make everything like before but only a vcproject file.</div>
<div>I have attached both files in a rar archive to this mail, the one made for VC8 is larger 250KB and the one made for VC9 is the smaller 70KB.</div><div> </div><div>if you comparison the files (of course with a comparison utility like the ones notepad++ have) you will find that all cuda source files are not added to the build list on the VC9 file.</div>
<div>Does any one has any idea about whats causing this? and How i can fix it?</div><div> </div><div>I should add that the settings of the cmake files for both VC8 and VC9 are set using the cmake internal parameters MSVC80 and MSVC90 and the configurations are the same. for example</div>
<div> </div><div>if (MSVC80)</div><div>-The block of command</div><div>endif (MSVC80)</div><div> </div><div><div>if (MSVC90)</div><div>-The same block of command</div><div>endif (MSVC90)<br clear="all"><br>-- <br></div></div>
<div>
<div>Best Regards</div>
<div>N.Nouri</div>
<div> </div>
<div><font color="#999999">Ph.D Student</font></div>
<div><font color="#999999">Department of Mechanical Engineering</font></div>
<div><font color="#999999">Isfahan University of Technology<br>Isfahan, Iran</font></div></div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br></div></div><div><div><div></div><div class="h5">
<div>Best Regards</div>
<div>N.Nouri</div>
<div> </div>
<div><font color="#999999">Ph.D Student</font></div>
<div><font color="#999999">Department of Mechanical Engineering</font></div>
<div><font color="#999999">Isfahan University of Technology<br>Isfahan, Iran</font></div>
<div> </div>
</div></div><div><a href="http://gpiutmd.iut.ac.ir/" target="_blank">gpiutmd.iut.ac.ir</a></div>
<div><a href="http://gpiutmd.webs.com/" target="_blank">gpiutmd.webs.com</a></div></div><br>
</blockquote></div><br></div>