Open diegotorresvl opened 6 years ago
Hello @diegotorresvl not sure if you solved your issue. In the log you display here, there's nothing about openssl and win32. Instead it looks you have a compilation issue (Builder: Player failed 1 errors
), which isn't related to u3d.
Is this still an issue for you?
Sorry, I paste the log output without the important line: This is the error that console shows:
Builder:
Postprocess built player: [Exception] Win32Exception: ApplicationName='cmd', CommandLine='/Cecho "xxx" | openssl base64', CurrentDirectory='', Native error= %1 is not a valid Win32 application.
Yes it is. I could build the app with GitBash without problem but not with MSYS2 (nor MinGW64 nor MinGW32). Both are inheriting from PATH. Note that error you paste is not the same as mine "Native error= %1 is not a valid Win32 application." Thanks for your attention and your time
Issue Checklist
u3d --help
Issue Description
When trying to build an Android apk with Facebook SDK installed it seems there is an error when internally run openssl as it throws an error related with not a valid win32 application.
I try to replicate the steps I am doing and my environment: ENVIRONMENT: Windows 10 Ruby 2.5 x64 for installing u3d gem MSYS2 x64 for running scripts from bash
The PATH variable contents the openssl.exe path for windows and in MSYS2 /usr/bin (MSYS2 and Ruby) has been renamed to openssl.exe.bak just for forcing getting from the PATH. I have NOT installed Ruby on MSYS2
RUN: `#!/bin/sh
UNITY_VERSION=2018.2.15f1 export U3D_NO_TTY=1
For running u3d from MSYS2
alias u3d='/c/Ruby25-x64/bin/u3d'
Run the build
u3d run -u $UNITY_VERSION --trace -- \ -quit -batchmode -nographics \ -projectPath "/d/Test/AndroidDebug/" \ -executeMethod Builder.Build \ ${UNITY_ARGS} \ -r`
The output is:
Do you know how could I solve this problem?