[Mono-ue] Build Error

Ryan Burnham nitro52 at iinet.net.au
Sun Mar 8 11:48:40 UTC 2015


Sorry I  only just noticed you had replied to this email. Thanks for pointing us in a direction. When I output CompileAction.CommandPath I get multiple lines. All the same

31>  CompileAction.CommandPath = C:\Program Files (x86)\Windows Kits\8.1\bin/x64/rc.exe

Could the forward slashes be the issue? Where do they come from?


-----Original Message-----
From: Michael Hutchinson [mailto:m.j.hutchinson at gmail.com] 
Sent: Monday, 16 February 2015 9:25 AM
To: Ryan Burnham
Cc: Ahmet Faruk GÜNTÜRKÜN; mono-ue
Subject: Re: [Mono-ue] Build Error

AFAICT from the error, rc.exe doesn't like some of the arguments being passed to it. This is odd -  it works on my machine. Maybe a different Visual C++ version or something to do with the environment?

You could try editing
Engine/Source/Programs/UnrealBuildTool/Windows/VCToolChain.cs, find the CompileRCFiles method, and write CompileAction.CommandPath to the console to see what the bad arguments are.

- m

On 7 February 2015 at 09:26, Ryan Burnham <nitro52 at iinet.net.au> wrote:
> I get the same error trying to apply preview 8. I’ve tried twice now, 
> same problem.
>
>
>
> Steps were.
>
> 1.       Delete 4.4 xamarin branch
>
> 2.       Run git clean
>
> 3.       Copy UE dependancies
>
> 4.       Generate project files
>
> 5.       Run build
>
> 6.       Create new 4.4 Xamarin branch
>
> 7.       Copy Mono files
>
> 8.       Apply patches
>
> 9.       Rebuild
>
>
>
> From: mono-ue-bounces at lists.ximian.com 
> [mailto:mono-ue-bounces at lists.ximian.com] On Behalf Of Ahmet Faruk 
> GÜNTÜRKÜN
> Sent: Saturday, 7 February 2015 3:01 PM
> To: mono-ue
> Subject: [Mono-ue] Build Error
>
>
>
> Error    1          error RC1107: invalid usage; use RC /? for Help
> E:\Unreal Mono v8\UnrealEngine\Engine\Intermediate\ProjectFiles\EXEC    UE4
>
>
>
> Error    2          error RC1107: invalid usage; use RC /? for Help
> E:\Unreal Mono v8\UnrealEngine\Engine\Intermediate\ProjectFiles\EXEC    UE4
>
>
>
> Warning          3          warning C4996: 'gethostbyname': Use
> getaddrinfo() or GetAddrInfoW() instead or define 
> _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings 
> E:\Unreal Mono 
> v8\UnrealEngine\Engine\Source\Runtime\Sockets\Private\BSDSockets\SocketSubsystemBSD.cpp
> 67            1          UE4
>
>
>
> Error    4          error : Failed to produce item: E:\Unreal Mono
> v8\UnrealEngine\Engine\Plugins\XamarinUE4\MonoRuntime\Binaries\Win64\U
> E4Editor-MonoRuntime.dll E:\Unreal Mono 
> v8\UnrealEngine\Engine\Intermediate\ProjectFiles\ERROR
> UE4
>
>
>
> Error    5          error MSB3073: The command
> "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with
> code -1.    C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets        38
> 5          UE4
>
> how can I fix it ? I applied all patches
>
>
>
>
> _______________________________________________
> Mono-ue mailing list
> Mono-ue at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-ue
>



--
Michael Hutchinson ~ https://mhut.ch



More information about the Mono-ue mailing list