Giter Site home page Giter Site logo

Comments (4)

ratkosrb avatar ratkosrb commented on July 22, 2024

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.

attackpure100 avatar attackpure100 commented on July 22, 2024

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.

attackpure100 avatar attackpure100 commented on July 22, 2024

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.

ratkosrb avatar ratkosrb commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.