Skip to content
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

Is it possible to run describe_instances.exe on another box (i.e., one that it was not built on)? #1604

Closed
2 tasks done
RichDee opened this issue Mar 26, 2021 · 4 comments
Closed
2 tasks done
Assignees
Labels
guidance Question that needs advice or information.

Comments

@RichDee
Copy link

RichDee commented Mar 26, 2021

Confirm by changing [ ] to [x] below:

Windows 8.1 Professional (x64) (build 9600.19968)

Hello,

It is possible to run an aws sdk executable on a box that is different than the build box?

e.g.,
$ ./describe_instances.exe --usage
describe_instances.exe: error while loading shared libraries: ucrtbased.dll: cannot open shared object file: No such file or directory

@RichDee RichDee added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Mar 26, 2021
@jmklix
Copy link
Member

jmklix commented Mar 29, 2021

Yes, but it's not as simple as that. I think what you are looking for is cross compiling and it can be rather complicated to set up as explained here. You can find an example of how to set it up using this sdk here.

@jmklix jmklix added closing-soon This issue will automatically close in 4 days unless further comments are made. and removed needs-triage This issue or PR still needs to be triaged. labels Mar 29, 2021
@jmklix jmklix self-assigned this Mar 29, 2021
@RichDee
Copy link
Author

RichDee commented Mar 30, 2021

I was not referring to another box as in another OS / platform; I was referring to another box as in another Windows box.

In other words, build the describe_instances.exe on one Windows box, then run it on another Windows box -- perhaps by statically linking it in Visual Studio?

Is that what you meant (i.e., did you think I meant building on Windows then running on Linux)?

@github-actions github-actions bot removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Mar 31, 2021
@jmklix
Copy link
Member

jmklix commented Apr 8, 2021

You only need the DLL files if it's dynamically linked.

Cmake example showing copying of DLLs to application directory.

@jmklix jmklix closed this as completed Apr 8, 2021
@github-actions
Copy link

github-actions bot commented Apr 8, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

2 participants