<div dir="ltr">Hi Kim, please keep the discussion in one thread.<div><br></div><div>It seems that you're missing a dependency, add LLVMProfileData.lib to your linker settings.<br></div></div><div class="gmail_extra"><br>

<br><div class="gmail_quote">On Tue, Jun 10, 2014 at 12:47 AM, Kim <span dir="ltr"><<a href="mailto:soldoutseashell@gmail.com" target="_blank">soldoutseashell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

After some more experimenting I've realized that the linking errors happen even in a completely fresh project the moment you call the ExecuteCompilerInvocation function.<br>
<br>
I've uploaded a simple VS2013 solution/project that should make the problem easily reproducible here:<br>
<a href="https://dl.dropboxusercontent.com/u/1735585/Win32Project1.rar" target="_blank">https://dl.dropboxusercontent.<u></u>com/u/1735585/Win32Project1.<u></u>rar</a><br>
<br>
I would really appreciate it if someone using VS2013 could attempt to build it using the head revision of clang/llvm and see if you can reproduce the problem. You just need to change the includes to point to your own fresh clang/llvm source folders and build folder and change the library directory location.<br>


<br>
Steps to reproduce:<br>
<br>
Created fresh checkout folder for clang<br>
Created fresh checkout folder for LLVM<br>
Ran Cmake to generate fresh LLVM project files<br>
Compiled LLVM + clang without problems<br>
Created fresh win32 project in VS2013<br>
Add clang/llvm includes and lib directory under debug config<br>
Call ExecuteCompilerInvocation function in source code (if you comment out this call it links without errors)<br>
<br>
Thank you very much for your time<br>
<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>