-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
Hello @OneLoneCoder, thank you for your videos. :)
I arrived at the last video in your series of videos on the development of the NES emulator, but when I run the emulator after it is compiled, the roms of several games the image appears, but the sound does not work and it does not show any error in the terminal, I think This would be because macos does not support the sound libraries that were added to the project.
Command to compile:
LIBRARIES = -framework OpenGL -framework GLUT -framework Carbon -lpng -framework OpenAL
EXE_DEBUG = ./bin/debug
EXE_TESTS = ./bin/tests
FILES_TO_LINKED = Mapper.cpp Bus.cpp Mapper_000.cpp Mapper_001.cpp Mapper_002.cpp Mapper_003.cpp Mapper_004.cpp Mapper_066.cpp olc6502.cpp olc2C02.cpp olc2A03.cpp Cartridge.cpp
clang++ -arch x86_64 -std=c++17 -mmacosx-version-min=10.15 -Wall $(LIBRARIES) olcNes_Sounds1.cpp ${FILES_TO_LINKED} -o $(EXE_DEBUG) -vNote: Your Sound example from the SoundDemo.cpp files also does not work, without errors in the terminal, it just opens the program screen and the sound is muted.
Is there any alternative to make the sound work in the emulator on macos? Anybody know?
Tks
Metadata
Metadata
Assignees
Labels
No labels
