Re: Building ikvm-7.2.4630.5 on windows 8.1 with Visual Studio 2013

Jeroen Frijters <[email protected]> Fri, 13 Mar 2015 13:58:36 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi,

It looks like ./ikvm/tools/writeappconfig.cs is missing.

Regards,
Jeroen

> -----Original Message-----
> From: Jaroslav Tulach [mailto:[email protected]]
> Sent: Friday, March 13, 2015 14:48
> To: [email protected]
> Subject: [Ikvm-developers] Building ikvm-7.2.4630.5 on windows 8.1 with
> Visual Studio 2013
> 
> 
> Hi.
> I am a complete windows newbie, so please excuse my ignorance. I am
> trying to follow http://sourceforge.net/p/ikvm/wiki/Building/
> I have the sources with following structure:
> 
> $ find -type d | cut -f 1-3 -d / | sort -u ./ikvm ./ikvm/awt ./ikvm/bin
> ./ikvm/bin-x64
> ./ikvm/bin-x86
> ./ikvm/classpath
> ./ikvm/CVS
> ./ikvm/debugger
> ./ikvm/ikvm
> ./ikvm/ikvmc
> ./ikvm/ikvmdoc
> ./ikvm/ikvmstub
> ./ikvm/japi
> ./ikvm/jvm
> ./ikvm/native
> ./ikvm/openjdk
> ./ikvm/reflect
> ./ikvm/runtime
> ./ikvm/tools
> ./ikvm/website
> ./openjdk-7u6-b24
> ./openjdk-7u6-b24/build
> ./openjdk-7u6-b24/jdk
> ./openjdk-7u6-b24/langtools
> 
> I start something called "VS2013 x64 Cross Tools Command Prompt", change
> my directory to ikvm directory and type:
> 
> $ c:\nant-0.92\bin\NAnt.exe
> 
> the build fails. Any clues of what is going on? Thanks for any advice.
> -jt
> 
> PS: Here is the output:
> 
> 
> CommonAssemblyInfo:
>      [copy] Copying 1 file to
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\CommonAssemblyInfo.
> cs'.
> managed:
>      [nant]
> c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\tools.build
>             Buildfile:
> file:///c:/Users/jarda/Documents/NetBeansProjects/ikvm/ikvm/tools/tools.
> build
>             Target framework: Microsoft .NET Framework 4.0
>             Target(s) specified: tools
> 
>             tools:
>                   [csc] Compiling 1 files to
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\asmref.exe'.
>                   [csc]
> c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\asmref.cs(43,1
> 5): warning CS0618:
> 'System.Reflection.Assembly.LoadWithPartialName(string)' is obsolete:
> 'This method h as been deprecated. Please use Assembly.Load() instead.
> http://go.microsoft.com/fwlink/?linkid=14202'
>                   [csc] Compiling 1 files to
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\updbaseaddres
> ses.exe'.
>                   [csc] Compiling 1 files to
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\depcheck.exe'
> .
>                   [csc] Compiling 2 files to
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\pubkey.exe'.
>                  [exec]
> c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\tools.build(32
> ,10): Attribute 'useruntimeengine' for <exec ... /> is deprecated.  Use
> the managed attribute and Manage d property instead.
>                   [csc] Compiling 0 files to
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\writeappconfi
> g.exe'.
>                   [csc] warning CS2008: No source files specified
>                   [csc] error CS5001: Program
> 'c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\writeappconfi
> g.exe' does not contain a static 'Main' method suitable for an entry
> point
>             BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
> 
> c:\Users\jarda\Documents\NetBeansProjects\ikvm\ikvm\tools\tools.build(34
> ,10):
>             External Program Failed:
> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe (return code was
> 1)
>             Total time: 0.8 seconds.
> 
> BUILD FAILED - 0 non-fatal error(s), 1 warning(s) Nested build failed.
> Refer to build log for exact reason.
> Total time: 1.1 seconds.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/