diasurgical / devilutionX

Diablo build for modern operating systems
Other
8.01k stars 786 forks source link

[Issue Report]: Building 1.5.2 from source failed on MacOS 13.0.1 #7342

Closed danissimo closed 1 month ago

danissimo commented 1 month ago

Operating System

Mac

DevilutionX version

1.5.2

Describe

git clone https://github.com/diasurgical/devilutionX.git    # ok
cd devilutionX                                              # ok
git checkout 1.5.2                                          # ok
brew bundle install                                         # ok
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release                # ok
cmake --build build -j $(sysctl -n hw.logicalcpu)           # failure
test/animationinfo_test.cpp:115:30: error: no member named 'setprecision' in namespace 'std'
                            << std::fixed << std::setprecision(2)
                                             ~~~~~^

To Reproduce

See the description.

Expected Behavior

No response

Additional context

No response

danissimo commented 1 month ago

Sorry, I'm from the other part of software development world and I didn't check out the app directory. I got an executable there.

AJenbo commented 1 month ago

try disabling the test suite, it's not clear from your log which compiler you are using or if it's x86_64 or ARM64.

glebm commented 1 month ago

test/animationinfo_test.cpp is missing #include <iomanip>, sent https://github.com/diasurgical/devilutionX/pull/7343