Skip to content
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

Ubuntu 20.04.2 LTS - Compile Issue #277

Open
nathanielnderson opened this issue Jun 11, 2021 · 1 comment
Open

Ubuntu 20.04.2 LTS - Compile Issue #277

nathanielnderson opened this issue Jun 11, 2021 · 1 comment

Comments

@nathanielnderson
Copy link

[ 2%] Built target g3dlib
[ 2%] Built target Detour
[ 2%] Built target Recast
[ 2%] Built target fmt
[ 3%] Built target jemalloc
[ 3%] Built target gsoap
[ 5%] Built target protobuf
[ 5%] Built target duktape
[ 7%] Built target casc
[ 7%] Built target revision_data.h
[ 9%] Built target common
[ 10%] Built target database
[ 13%] Built target proto
[ 14%] Built target shared
[ 15%] Built target bnetserver
[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/cmake_pch.hxx.pch
In file included from :1:
In file included from /home/trinitycore/ashermane/AshamaneCore/build/src/server/game/CMakeFiles/game.dir/cmake_pch.hxx:5:
In file included from /home/trinitycore/ashermane/AshamaneCore/src/server/game/PrecompiledHeaders/gamePCH.h:31:
/home/trinitycore/ashermane/AshamaneCore/src/server/game/Entities/Player/Player.h:117:16: error: forward declaration of struct cannot have a nested name specifier
struct RatedPvpInfo::BracketInfo;
^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/server/game/CMakeFiles/game.dir/build.make:64: src/server/game/CMakeFiles/game.dir/cmake_pch.hxx.pch] Error 1
make[1]: *** [CMakeFiles/Makefile2:1392: src/server/game/CMakeFiles/game.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Getting this error when compiling the core on Ubuntu 20.04.2 LTS. Any assistance with this would be greatly appreciated.

@fluxurion
Copy link

change to

namespace RatedPvpInfo
{
    struct BracketInfo;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants