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

Preview error #9

Open
neiromaster opened this issue Dec 18, 2020 · 3 comments
Open

Preview error #9

neiromaster opened this issue Dec 18, 2020 · 3 comments

Comments

@neiromaster
Copy link

I get an error when trying to run previews on Windows 10
image

@Antyos
Copy link
Owner

Antyos commented Dec 18, 2020

I don't think the extension uses Boost, so I'm not sure where that's coming from.

If you don't mind giving a bit more information:

  • What version of the extension are you running?
  • Where do you have OpenSCAD installed?
  • What do you have the config openscad.launchPath set to?
  • What method did you use to open a preview?

@neiromaster
Copy link
Author

neiromaster commented Dec 22, 2020

OpenSCAD for VSCode version 1.0.2
I install the application in the standard path and I launch it with the button at the top of VSCode
Tried with OpenSCAD stable version and 2020.12

image
image

@Antyos
Copy link
Owner

Antyos commented Dec 22, 2020

I ran the preview command with both OpenSCAD v2020.12-rc3 (I could not find a stable release for v2020.12) and v2019.05. Both versions were able to preview without issue.

Just going down the list of questions/tests --

  • What version of VSCode are you using?
  • What build of Windows 10 are you using?
  • Have you tried disabling all your other extensions and trying the "preview" command?

There's an option to disable all extensions in the 3 dots context menu at the top of the extensions pane. If it works when it is the only enabled extension, then it may be another extension causing a conflicting issue. Once we know that, we can better solve the problem.

And fyi, you don't need to include the path in the extension configuration if OpenSCAD is installed in the default location, though I appreciate it the clarity for the screenshot.


If you want, you can try cloning the repository and running the extension in debug mode -- that might be more telling. Follow the steps in Contributing to set up the repository.

To debug it: (I need to update the README to include this)

  • Open the local repo in VSCode
  • Rename .vscode/launch-template.json to .vscode/launch.json to enable the launch configuration
  • Running Extension in the debug pane will open a new window of VSCode with the extension running
  • Try running the preview command in the debug window and check the debug console in the other window to see if there are any messages

I hope this can be of some help! I wish I knew what was happening.

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

No branches or pull requests

2 participants