You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Dhruv Mahajan <dh...@gmail.com> on 2016/10/06 06:28:04 UTC

Error while compiling REEF in VS2013

Hi

I am trying to compile REEF in VS2013 and getting below errors. Do i need
to shift to VS2015? Are these errors expected in VS2013? in

771 IntelliSense: cannot open metadata file "Org.Apache.REEF.Driver.dll"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\InteropLogger.h
22 1 Org.Apache.REEF.Bridge
772 IntelliSense: cannot open source file "malloc.h"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\JavaClrBridge.cpp
25 1 Org.Apache.REEF.Bridge
764 IntelliSense: cannot open source file "mscoree.h"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\InteropUtil.h
25 1 Org.Apache.REEF.Bridge
768 IntelliSense: cannot open source file "mscoree.h"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\InteropAssemblies.h
25 1 Org.Apache.REEF.Bridge
763 IntelliSense: cannot open source file "stdarg.h" c:\Program
Files\Java\jdk1.8.0_65\include\jni.h 40 1 Org.Apache.REEF.Bridge
762 IntelliSense: cannot open source file "stdio.h" c:\Program
Files\Java\jdk1.8.0_65\include\jni.h 39 1 Org.Apache.REEF.Bridge

Re: Error while compiling REEF in VS2013

Posted by Markus Weimer <ma...@weimo.de>.
This sort of issue keeps coming up. Our `clean` targets in VS don't
seem to actually work, and using PowerShell scripts to circumvent that
works, but seems crummy.

Maybe we should reconfigure our .NET builds to behave more like java
builds, where all generated artifacts are kept in a single `target`
folder instead of appearing in multiple places. That way, cleaning the
project becomes much more predictable. And manual clean instructions
become easier to communicate.

What sort of VS tooling would we loose if we did that?

Thanks,

Markus

On Wed, Oct 5, 2016 at 11:34 PM, Dhruv Mahajan <dh...@gmail.com> wrote:
> removing bin did the trick.
>
> Thanks
> Dhruv
>
> On Wed, Oct 5, 2016 at 11:31 PM, Julia Wang (QIUHE) <
> Qiuhe.Wang@microsoft.com> wrote:
>
>> Do you totally remove bin folder and do a mvn clean install before rebuild
>> in VS? There were bridge changes recently.
>>
>> -----Original Message-----
>> From: Dhruv Mahajan [mailto:dhruv.mahajan@gmail.com]
>> Sent: Wednesday, October 5, 2016 11:28 PM
>> To: dev@reef.apache.org
>> Subject: Error while compiling REEF in VS2013
>>
>> Hi
>>
>> I am trying to compile REEF in VS2013 and getting below errors. Do i need
>> to shift to VS2015? Are these errors expected in VS2013? in
>>
>> 771 IntelliSense: cannot open metadata file "Org.Apache.REEF.Driver.dll"
>> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
>> InteropLogger.h
>> 22 1 Org.Apache.REEF.Bridge
>> 772 IntelliSense: cannot open source file "malloc.h"
>> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
>> JavaClrBridge.cpp
>> 25 1 Org.Apache.REEF.Bridge
>> 764 IntelliSense: cannot open source file "mscoree.h"
>> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
>> InteropUtil.h
>> 25 1 Org.Apache.REEF.Bridge
>> 768 IntelliSense: cannot open source file "mscoree.h"
>> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
>> InteropAssemblies.h
>> 25 1 Org.Apache.REEF.Bridge
>> 763 IntelliSense: cannot open source file "stdarg.h" c:\Program
>> Files\Java\jdk1.8.0_65\include\jni.h 40 1 Org.Apache.REEF.Bridge
>> 762 IntelliSense: cannot open source file "stdio.h" c:\Program
>> Files\Java\jdk1.8.0_65\include\jni.h 39 1 Org.Apache.REEF.Bridge
>>

Re: Error while compiling REEF in VS2013

Posted by Dhruv Mahajan <dh...@gmail.com>.
removing bin did the trick.

Thanks
Dhruv

On Wed, Oct 5, 2016 at 11:31 PM, Julia Wang (QIUHE) <
Qiuhe.Wang@microsoft.com> wrote:

> Do you totally remove bin folder and do a mvn clean install before rebuild
> in VS? There were bridge changes recently.
>
> -----Original Message-----
> From: Dhruv Mahajan [mailto:dhruv.mahajan@gmail.com]
> Sent: Wednesday, October 5, 2016 11:28 PM
> To: dev@reef.apache.org
> Subject: Error while compiling REEF in VS2013
>
> Hi
>
> I am trying to compile REEF in VS2013 and getting below errors. Do i need
> to shift to VS2015? Are these errors expected in VS2013? in
>
> 771 IntelliSense: cannot open metadata file "Org.Apache.REEF.Driver.dll"
> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
> InteropLogger.h
> 22 1 Org.Apache.REEF.Bridge
> 772 IntelliSense: cannot open source file "malloc.h"
> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
> JavaClrBridge.cpp
> 25 1 Org.Apache.REEF.Bridge
> 764 IntelliSense: cannot open source file "mscoree.h"
> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
> InteropUtil.h
> 25 1 Org.Apache.REEF.Bridge
> 768 IntelliSense: cannot open source file "mscoree.h"
> c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\
> InteropAssemblies.h
> 25 1 Org.Apache.REEF.Bridge
> 763 IntelliSense: cannot open source file "stdarg.h" c:\Program
> Files\Java\jdk1.8.0_65\include\jni.h 40 1 Org.Apache.REEF.Bridge
> 762 IntelliSense: cannot open source file "stdio.h" c:\Program
> Files\Java\jdk1.8.0_65\include\jni.h 39 1 Org.Apache.REEF.Bridge
>

RE: Error while compiling REEF in VS2013

Posted by "Julia Wang (QIUHE)" <Qi...@microsoft.com>.
Do you totally remove bin folder and do a mvn clean install before rebuild in VS? There were bridge changes recently. 

-----Original Message-----
From: Dhruv Mahajan [mailto:dhruv.mahajan@gmail.com] 
Sent: Wednesday, October 5, 2016 11:28 PM
To: dev@reef.apache.org
Subject: Error while compiling REEF in VS2013

Hi

I am trying to compile REEF in VS2013 and getting below errors. Do i need to shift to VS2015? Are these errors expected in VS2013? in

771 IntelliSense: cannot open metadata file "Org.Apache.REEF.Driver.dll"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\InteropLogger.h
22 1 Org.Apache.REEF.Bridge
772 IntelliSense: cannot open source file "malloc.h"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\JavaClrBridge.cpp
25 1 Org.Apache.REEF.Bridge
764 IntelliSense: cannot open source file "mscoree.h"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\InteropUtil.h
25 1 Org.Apache.REEF.Bridge
768 IntelliSense: cannot open source file "mscoree.h"
c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Bridge\InteropAssemblies.h
25 1 Org.Apache.REEF.Bridge
763 IntelliSense: cannot open source file "stdarg.h" c:\Program Files\Java\jdk1.8.0_65\include\jni.h 40 1 Org.Apache.REEF.Bridge
762 IntelliSense: cannot open source file "stdio.h" c:\Program Files\Java\jdk1.8.0_65\include\jni.h 39 1 Org.Apache.REEF.Bridge