-
Notifications
You must be signed in to change notification settings - Fork 54
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
Does not start on Windows #8
Comments
Works for me. You must get SDL2 DEV package for VC to work in Windows, then point CMAKE to where the sdl2-config.cmake resides. After that everything worked for me. cmake -DSDL2_DIR=E:\SDL2-devel-2.28.3-VC\SDL2-2.28.3\cmake .. https://github.com/libsdl-org/SDL/releases/tag/release-2.28.3 Finally, you'll need to copy the SDL2.dll to be next to the sam.exe, otherwise, you'll get an error about a missing dll when you run. |
I've integrated it to visual studio: |
I resolved that inserting Like this: std::shared_ptr<sam_state> sam_load_model(const sam_params & params) {
ggml_time_init(); // add this and runs normal
const int64_t t_start_ms = ggml_time_ms(); |
This was already added last week in the master branch |
Closing for now. If any other similar problem happens on Windows, please open a new issue. |
Nothing happens except for the two prints. Also, what license does this project have? Cheers!
The text was updated successfully, but these errors were encountered: