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

Request for Help #31

Open
zhangcanfeng612 opened this issue Jun 15, 2023 · 4 comments
Open

Request for Help #31

zhangcanfeng612 opened this issue Jun 15, 2023 · 4 comments

Comments

@zhangcanfeng612
Copy link

Hello,
could you please guide me on how to set up a local development environment?
I've been struggling with this for quite a while.

@kovacsv
Copy link
Owner

kovacsv commented Jun 15, 2023

What part of the code would you like to debug? The C++ or the JavaScript?

@zhangcanfeng612
Copy link
Author

Thank you for your response. I would like to debug C++ code,
and I have a question: Can I only generate a source map for debugging in the browser?

We have a time difference, so our responses may be a bit slow. Please accept our apologies for any inconvenience caused.

@kovacsv
Copy link
Owner

kovacsv commented Jun 18, 2023

It depends on your setup, on Windows you need to do the following steps:

  1. Install Visual Studio 2022.
  2. Install CMake.
  3. Generate the project with CMake by running the following command from the root of the repository:
cmake -B build -G "Visual Studio 17 2022" .
  1. Open the generated solution (build/OcctImportJS.sln), compile and run the test application.

On other platforms it's similar, just replace Visual Studio with the native environment on the platform.

@zhangcanfeng612
Copy link
Author

Thank you for your guidance, I will try my best!!!!

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