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

ebsynth issues #116

Open
mferris77 opened this issue Dec 12, 2023 · 2 comments
Open

ebsynth issues #116

mferris77 opened this issue Dec 12, 2023 · 2 comments
Labels
installation useful for installation and use

Comments

@mferris77
Copy link

Hello - I'm having issues generating one of the demos - originally it was because the install process did not build ebsynth for me, so I downloaded your precompiled windows version - now when it gets to the part where it calls the subprocess for ebsynth, the ebsynth app runs ( a GUI appears ) but an error popup shows over that with the message "Failed to open project file. Invalid format?" It actually opens (with error) 4 times in a row. Then when I close the popups and the GUI windows, the console resumes with the errors others have been reporting.

I haven't used Ebsynth before so I'll keep playing around and if I can figure it out I'll report back.

@FurkanGozukara
Copy link

@mferris77
Copy link
Author

I was able to get it working, but it required building my own ebsynth. I first tried to wrap the file paths being passed to ebsynth in double quotes, that didn't help. Then I modified the file paths to be relative to the working directory, that didn't work. Since I'm on windows and sometimes python scripts break with the backslashes in windows paths I replaced them with forward slashes - also didn't work. So I re-read the instructions and some other threads here - here are the steps I followed:

  • Downloaded the community version of Visual Studio 2022 from the VS page
  • Ran the installer with default settings, which installed Visual Studio 2022 as well as 'Visual Studio Installer'
  • I ran VS Installer and saw 'Visual Studio Community 2022' was listed under the 'installed' tabs.
  • I clicked on 'Modify'
  • Under the 'workloads' tab I selected 'Desktop development with C++'
  • To the right it shows what modules are installed - I selected all of the MSVC modules (2015/17/19/2022) as well as the Windows 11 SDK (latest version) as well as the C++ CMake tools for Windows
  • Let those install, then when finished closed my original command terminal then reopened it (didn't need to run as admin)
  • reran 'python install.py' - this time it successfully built ebsynth
  • reran one of the demo scripts and it worked as expected.

Phew!

Hope this helps anyone else trying to get this to work.

FWIW, the google drive downloadable precompiled ebsynth app seems to be different than what ended up getting built on my machine. When I tried to run the google drive version with '-h', '--help' or '/?', it ignored those and opened the GUI. With my own compiled version I get 'unrecognized command' or something along those lines when using those command line arguments, but when I tried to run just 'ebsynth.exe', it shows me the command line syntax.

@williamyang1991 williamyang1991 added the installation useful for installation and use label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation useful for installation and use
Projects
None yet
Development

No branches or pull requests

3 participants