Skip to content

Add VCRUNTIME140.DLL dependency for windows in FAQ #607

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

Closed
wants to merge 1 commit into from

Conversation

sangee2004
Copy link
Contributor

Add VCRUNTIME140.DLL dependency for windows in FAQ

@drpebcak
Copy link
Member

drpebcak commented Jul 3, 2024

@drpebcak drpebcak assigned drpebcak and unassigned drpebcak Jul 3, 2024
@@ -53,3 +53,8 @@ This tells the LLM (by way of a [system message](https://platform.openai.com/doc

This context also automatically shares the `sys.ls`, `sys.read`, and `sys.write` tools with the tool that is using it as a context. This is because if a tool intends to interact with the workspace, it minimally needs these tools.

### What do I need to get gptscript working on windows?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some nits on capitalization - I believe we call the tool GPTScript

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed the suggested change.

@@ -53,3 +53,8 @@ This tells the LLM (by way of a [system message](https://platform.openai.com/doc

This context also automatically shares the `sys.ls`, `sys.read`, and `sys.write` tools with the tool that is using it as a context. This is because if a tool intends to interact with the workspace, it minimally needs these tools.

### What do I need to get gptscript working on windows?

If you encounter an error message `exit status 0xc0000135` when executing gptscripts in Windows environment, it is because of VCRUNTIME140.DLL not being installed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of saying gptscripts, elsewhere we have just referred to them as scripts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed the suggested change.


If you encounter an error message `exit status 0xc0000135` when executing gptscripts in Windows environment, it is because of VCRUNTIME140.DLL not being installed.

Once you have VCRUNTIME140.DLL installed from - https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170, gptscript execution should succeed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, should be GPTScript

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed the suggested change.

@@ -53,3 +53,8 @@ This tells the LLM (by way of a [system message](https://platform.openai.com/doc

This context also automatically shares the `sys.ls`, `sys.read`, and `sys.write` tools with the tool that is using it as a context. This is because if a tool intends to interact with the workspace, it minimally needs these tools.

### What do I need to get GPTScript working on windows?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows should be capitalized

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I'm not sure this FAQ question is quite specific enough - a lot of people will already have these tools installed for them. You might want to make the question reflect the specific issue the vcredist install solves a little more.

@@ -53,3 +53,8 @@ This tells the LLM (by way of a [system message](https://platform.openai.com/doc

This context also automatically shares the `sys.ls`, `sys.read`, and `sys.write` tools with the tool that is using it as a context. This is because if a tool intends to interact with the workspace, it minimally needs these tools.

### What do I need to get GPTScript working on windows?

If you encounter an error message `exit status 0xc0000135` when executing scripts in Windows environment, it is because of VCRUNTIME140.DLL not being installed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of calling out a specific version of the runtime library DLL, it would probably make more sense to say the 'Visual C++ Redistributable' or 'Microsoft C and C++ Runtime libraries'. That language is more in line with the language the user will see from Microsoft.

@drpebcak
Copy link
Member

drpebcak commented Jul 8, 2024

the winget manifest was merged for the latest version of gptscript so we shouldnt need this doc update anymore.

@drpebcak drpebcak closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants