Jump to content
×
×
  • Create New...
  • 0

Vanilla core


Tasho

Question

Hi guys, I was trying to compile the vanilla source but I got a little stuck :

 

Game: 

 

compile BattleArena.cpp with g++49 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
compile FSM.cpp with g++49 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
g++49: error: unrecognized command line option '-ftree-loop-vectorize'
g++49: error: unrecognized command line option '-ftree-loop-vectorize'
gmake: *** [OBJDIR/FSM.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/BattleArena.o] Error 1
[email protected]:/usr/src/mainline/Srcs/Server/game/src #

db:

compile CsvReader.cpp
CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':
CsvReader.cpp:72:25: warning: left operand of comma operator has no effect [-Wunused-value]
         LogToFile(NULL, errortext);
                         ^
CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
CsvReader.cpp:91:25: warning: left operand of comma operator has no effect [-Wunused-value]
         LogToFile(NULL, errortext);
                         ^
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()':
ClientManagerBoot.cpp:460:22: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined
   std::ostringstream query;
                      ^
ClientManagerBoot.cpp: In member function 'void CClientManager::CheckItemTable()':
ClientManagerBoot.cpp:700:21: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined
  std::ostringstream query;
                     ^
ClientManagerBoot.cpp:729:22: error: aggregate 'std::ostringstream query2' has incomplete type and cannot be defined
   std::ostringstream query2;
                      ^
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()':
ClientManagerBoot.cpp:1032:22: error: aggregate 'std::ostringstream query' has incomplete type and cannot be defined
   std::ostringstream query;
                      ^
gmake: *** [.obj/ClientManagerBoot.o] Error 1
gmake: *** Waiting for unfinished jobs....

Thanks.

 

 

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Read our Rules
  • Activity

    1. 0

      Need help with a small function

    2. 0

      How to Delay quest

    3. 0

      After choosing a character, it throws it at the login screen.

    4. 0

      Bonus Board Official like

    5. 0

      [ERROR] unfinished string , ranking quest .

    6. 0

      experience 0

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.