Comments (4)
Probably left over from ye olde times. I tried removing them and it seems to configure and build properly on Windows, with the exception of one line in Main.cpp:
https://github.com/vmangos/core/blob/development/src/mangosd/Main.cpp#L200
If everything is fine without those lines on Linux too, then we can remove them.
from core.
ok then .. my machine cant do virtualization and i dont have a linux machine but regarding the windows stuff i was always building the core with VS2017 and i noticed another item in the Cmakelists.txt file which was line 46:
#add_definitions(-D_HAS_AUTO_PTR_ETC) # for VS2017 ACE support, won't do any harm to other compilers
#set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
i would say this might be a different issue altogether but since we are on the topic of removing an old/deprecated policy this might be something to note... i dont know what it actually does
in order to use VS2017 (15.7.5) and win10 SDK (10.0.16299.0) for Desktop C++. I needed to build ACE_wrappers_vs2017.sln as opposed to ACE_wrappers_vc14.sln before i could proceed
from core.
theres the error on the https://github.com/vmangos/core/blob/development/src/mangosd/Main.cpp#L200 That i get:
12>c:\users\inspiron5559\desktop\vmangos\core\src\mangosd\main.cpp(200): error C2146: syntax error: missing ')' before identifier 'MANGOS_BUILD_OPTIONS' 12>c:\users\inspiron5559\desktop\vmangos\core\src\mangosd\main.cpp(200): error C2146: syntax error: missing ';' before identifier 'MANGOS_BUILD_OPTIONS' 12>c:\users\inspiron5559\desktop\vmangos\core\src\mangosd\main.cpp(200): error C2065: 'MANGOS_BUILD_OPTIONS': undeclared identifier 12>c:\users\inspiron5559\desktop\vmangos\core\src\mangosd\main.cpp(200): error C2143: syntax error: missing ';' before 'string' 12>c:\users\inspiron5559\desktop\vmangos\core\src\mangosd\main.cpp(200): error C2059: syntax error: ')'
perhaps it can be modified only slightly to fix the issue as opposed to removing the full line? unless of course it is unnecessary in the first place because looks like output to logs or something
from core.
Nolin already addressed the issue, I'm going to merge it now. And those other lines you mentioned are comments, so they don't do anything.
from core.
Related Issues (20)
- 🐝 [Bug] Draconic for Dummies Chapter V unable to loot HOT 1
- 🦂 [Bug]In the battle against Heigan the Unclean, there is no damage from terrain venom spraying HOT 3
- 🦂 [Bug]In the battle between the Grand Widow Faerlina,The spell Widow's Embrace not work
- 🦂 [Bug]Mother Smolderweb shouldn't be skinnable
- 🐝 [Bug] Cannot Complete quest The Human Ras Frostwhisper HOT 3
- 🐞 [Bug][1.7.1] Spirit of Redemption immortal HOT 4
- 🦂 [Bug]In Scholomance Academy, there will be a phenomenon where monsters cannot attack players, and players cannot attack monsters. HOT 2
- 🦂 [Bug]In Naxx Plague Area, The Oozer will restore HP full every time it changes color HOT 1
- 🐛 [Bug] Dueling in Ironforge.
- 🐝 [Bug]The Treasure of the Shen'dralar can accept quest twice
- 🐛 [Bug]Twilight Flamereaver wrong immolate spell Id
- 🦂 [Bug]NAXX Patchwerk Hateful Strike range too large HOT 1
- 🐛 [Bug][Priority: 4][Anticheat][BadFallStop] It kicks if you jump at the end of bg.
- 🚀 [Feature]
- 🦂 [Bug] Hunters can earn money by constantly killing bosses in the Scarlet Abbey Cathedral HOT 1
- 🐛 [Bug] I test ( 2024/4/17 22:41:43) update can High CPU usage >15% HOT 2
- 🦂 [Bug]Diremaul HOT 4
- 🦂 [Bug] No cooldown for UBRS stadium attempts
- Generate realmd `VersionChallenge` on the fly HOT 2
- 🐛 [Bug] Stealth range not correct for bosses
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.