-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
amiberry fails to compile #1619
Comments
More details are needed. There are automated builds running weigh each be commit, for all supported platforms, to ensure nothing breaks. :) |
CachyOS Linux ❯ uname -a |
Does it work for you, if you change this line:
to this:
|
@solskogen might have more info, regarding the Arch-based distro you're using. |
[309/510] Building CXX object CMakeFiles/amiberry.dir/src/osdep/dpi_handler.cpp.o |
Trying to build amiberry is failing. I followed the instructions from the Compile from Source page and this is the error i'm getting.
[308/510] Building CXX object CMakeFiles/amiberry.dir/src/osdep/dpi_handler.cpp.o
FAILED: CMakeFiles/amiberry.dir/src/osdep/dpi_handler.cpp.o
/usr/bin/c++ -DAMIBERRY_DATADIR="/usr/local/share/amiberry" -DAMIBERRY_LIBDIR="/usr/local/lib/amiberry" -DAMIBERRY_VERSION="7.0.2" -DAMIBERRY_VERSION_PRE_RELEASE="" -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL2 -I/home/darryl/amiberry/src -I/home/darryl/amiberry/src/osdep -I/home/darryl/amiberry/src/include -I/home/darryl/amiberry/src/threaddep -I/home/darryl/amiberry/src/archivers -I/home/darryl/amiberry/src/ppc/pearpc -I/home/darryl/amiberry/external/libguisan/include -I/home/darryl/amiberry/external/mt32emu/src -I/home/darryl/amiberry/external/floppybridge/src -I/home/darryl/amiberry/build/external/mt32emu/include -pipe -O3 -std=gnu++17 -fno-pie -MD -MT CMakeFiles/amiberry.dir/src/osdep/dpi_handler.cpp.o -MF CMakeFiles/amiberry.dir/src/osdep/dpi_handler.cpp.o.d -o CMakeFiles/amiberry.dir/src/osdep/dpi_handler.cpp.o -c /home/darryl/amiberry/src/osdep/dpi_handler.cpp
/home/darryl/amiberry/src/osdep/dpi_handler.cpp: In static member function ‘static float DPIHandler::get_scale()’:
/home/darryl/amiberry/src/osdep/dpi_handler.cpp:10:12: error: ‘floor’ was not declared in this scope
10 | return floor(dpi / default_dpi);
| ^~~~~
[325/510] Building CXX object CMakeFiles/amiberry.dir/src/mame/tm34010/tms34010.cpp.o
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: