-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation finished with exit code 2 #1
Comments
Hi! You can compile the code when you set the $GOARCH environment variable to "386". In Powershell on Windows, you enter the following $ENV:GOARCH=386 then it should compile. Note, however, that without the OPCDAAuto.dll you won't be able to use this package. You normally get the DLL with the installation of your OPC server or from the vendor of your OPC server directly and it's either installed on C:\Windows\System32 or C:\Windows\SysWOW64. Hope this answers your questions. |
You can download the Graybox DA Automation wrapper for free here. |
An exit code 0 indicates that the program terminated correctly. I have never experienced the other behavior you have described though. Do you observe the same when you run the code directly from the command line, i.e. in Powershell? |
Just wanted to check in and ask if you could solve your issue? |
Now it works well. The problem is solved. Thanks for asking. Thread can be closed. |
Hello! I have a problem with compilation. It says "Compilation finished with exit code 2" (I use windows 7 x64). Could you explan, how can I solve this problem and where can I get the "OPC DA Automation Wrapper 2.02" and "ÒPCDAAuto.dll" and in which folder should I extract them?
The text was updated successfully, but these errors were encountered: