jcmoyer / Nuked-SC55

Roland SC-55 series emulation
Other
21 stars 2 forks source link

Darkness (Background orange missing) #12

Open Karmeck opened 3 days ago

Karmeck commented 3 days ago

Skärmbild 2024-10-21 233621

So I finally managed to compile, had to change the code a bit:

git clone --recurse-submodules https://github.com/jcmoyer/Nuked-SC55.git cd Nuked-SC55 mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. cmake -DCMAKE_PREFIX_PATH="C:/build/SDL2-2.30.8" .. cmake --build .

it works, it just looks odd. Why is this?

Tried to add -DCMAKE_CXX_FLAGS="-march=native -mtune=native" -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON but just got a bunch of yellow erros when i did so. Skärmbild 2024-10-21 234711

or is that normal?

same issue on mk1 and mk2.

used:

Version: 1.94.2 (user setup) Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427 Date: 2024-10-09T16:08:44.566Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631

Karmeck commented 3 days ago

oh, and also, it did not crate and sdl2 file. had to take that one from nuketys release. ...... taht might be it.... brb.

That was not it.

jcmoyer commented 2 days ago

After running cmake --build . you should run cmake --install . --prefix=<any_directory> to create a directory with back.data in the correct place. This is the same problem as #7.

Tried to add -DCMAKE_CXX_FLAGS="-march=native -mtune=native"

These options only will only work if you're building with gcc or clang, not MSVC.

oh, and also, it did not crate and sdl2 file.

It shouldn't - you need to either: 1) if dynamically linking SDL2, copy the SDL2 dll from the same SDL2 installation you used to build with, or 2) statically link it.