Jump to content

Lufbert

Premium
  • Posts

    76
  • Joined

  • Feedback

    0%

Posts posted by Lufbert

  1. So, why i have that error:

     

    0729 17:41:07990 :: LZObject: not a valid data
    0729 17:41:07990 :: LoadLocaleData - LoadItemProto(locale/pl/item_proto) Error
    0729 17:41:08533 :: CMapOutdoor::Load - LoadMonsterAreaInfo ERROR
    0729 17:41:09843 :: CPythonBackground::GetFarClip m_eViewDistanceNum=0
  2. How I can solv it?

     

     

    cc1plus: error: unrecognized command line option "-std=c++11"
     
    Full error:

     
    "gmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
    gmake[1]: Entering directory `/usr/home/imer/lib_src'
    "gmake"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Generic/libgame.so
    gmake[2]: Entering directory `/usr/home/imer/lib_src'
    mkdir -p build/Debug/GNU-Generic/src/commands
    rm -f "build/Debug/GNU-Generic/src/commands/test.o.d"
    g++    -c -g -Wall -Isrc -std=c++11 -fPIC  -MMD -MP -MF "build/Debug/GNU-Generic/src/commands/test.o.d" -o build/Debug/GNU-Generic/src/commands/test.o src/commands/test.cpp
    cc1plus: error: unrecognized command line option "-std=c++11"
    gmake[2]: *** [build/Debug/GNU-Generic/src/commands/test.o] Error 1
    gmake[2]: Leaving directory `/usr/home/imer/lib_src'
    gmake[1]: *** [.build-conf] Error 2
    gmake[1]: Leaving directory `/usr/home/imer/lib_src'
    gmake: *** [.build-impl] Error 2
     

     
    I think it's error because i have the old version of gcc (4.2.1)
    Which version i must install to compile that lib?
     
    Sorry for bad english :/
  3. Which version of yaml-cpp i must use?

     

    I type  cd /usr/ports/devel/yaml-cpp and make install clean.

    But i have error when i try to compile the lib:

     

    root@libtest:/usr/libImer # gmake
    "gmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
    gmake[1]: Entering directory `/usr/libImer'
    "gmake"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Generic/libgame.so
    gmake[2]: Entering directory `/usr/libImer'
    mkdir -p build/Debug/GNU-Generic/src/hooks
    rm -f "build/Debug/GNU-Generic/src/hooks/SyncPosition.o.d"
    g++    -c -g -Wall -Isrc -std=c++11 -fPIC  -MMD -MP -MF "build/Debug/GNU-Generic/src/hooks/SyncPosition.o.d" -o build/Debug/GNU-Generic/src/hooks/SyncPosition.o src/hooks/SyncPosition.cpp
    src/hooks/SyncPosition.cpp: In member function 'void Hooks::SyncPosition::configure(YAML::Node)':
    src/hooks/SyncPosition.cpp:18:24: error: could not convert 'config.YAML::Node::operator[](((const char*)"limit"))' from 'const YAML::Node' to 'bool'
         if (config["limit"]){
                            ^
    src/hooks/SyncPosition.cpp:19:37: error: 'const class YAML::Node' has no member named 'as'
             this->limit=config["limit"].as<float>();
                                         ^
    src/hooks/SyncPosition.cpp:19:40: error: expected primary-expression before 'float'
             this->limit=config["limit"].as<float>();
                                            ^
    src/hooks/SyncPosition.cpp:19:40: error: expected ';' before 'float'
    src/hooks/SyncPosition.cpp:22:32: error: could not convert 'config.YAML::Node::operator[](((const char*)"playeraddonly"))' from 'const YAML::Node' to 'bool'
         if (config["playeraddonly"]){
                                    ^
    src/hooks/SyncPosition.cpp:23:50: error: 'const class YAML::Node' has no member named 'as'
             this->playeronly=config["playeraddonly"].as<bool>();
                                                      ^
    src/hooks/SyncPosition.cpp:23:53: error: expected primary-expression before 'bool'
             this->playeronly=config["playeraddonly"].as<bool>();
                                                         ^
    src/hooks/SyncPosition.cpp:23:53: error: expected ';' before 'bool'
    src/hooks/SyncPosition.cpp:26:37: error: could not convert 'config.YAML::Node::operator[](((const char*)"scoreadd-threshold"))' from 'const YAML::Node' to 'bool'
         if (config["scoreadd-threshold"]){
                                         ^
    src/hooks/SyncPosition.cpp:27:62: error: 'const class YAML::Node' has no member named 'as'
             this->scoreaddThreshold=config["scoreadd-threshold"].as<float>();
                                                                  ^
    src/hooks/SyncPosition.cpp:27:65: error: expected primary-expression before 'float'
             this->scoreaddThreshold=config["scoreadd-threshold"].as<float>();
                                                                     ^
    src/hooks/SyncPosition.cpp:27:65: error: expected ';' before 'float'
    src/hooks/SyncPosition.cpp:30:30: error: could not convert 'config.YAML::Node::operator[](((const char*)"killwarning"))' from 'const YAML::Node' to 'bool'
         if (config["killwarning"]){
                                  ^
    src/hooks/SyncPosition.cpp:31:49: error: 'const class YAML::Node' has no member named 'as'
             this->killwarning=config["killwarning"].as<unsigned int>();
                                                     ^
    src/hooks/SyncPosition.cpp:31:52: error: expected primary-expression before 'unsigned'
             this->killwarning=config["killwarning"].as<unsigned int>();
                                                        ^
    src/hooks/SyncPosition.cpp:31:52: error: expected ';' before 'unsigned'
    src/hooks/SyncPosition.cpp:34:31: error: could not convert 'config.YAML::Node::operator[](((const char*)"autobanscore"))' from 'const YAML::Node' to 'bool'
         if (config["autobanscore"]){
                                   ^
    src/hooks/SyncPosition.cpp:35:51: error: 'const class YAML::Node' has no member named 'as'
             this->autobanscore=config["autobanscore"].as<unsigned int>();
                                                       ^
    src/hooks/SyncPosition.cpp:35:54: error: expected primary-expression before 'unsigned'
             this->autobanscore=config["autobanscore"].as<unsigned int>();
                                                          ^
    src/hooks/SyncPosition.cpp:35:54: error: expected ';' before 'unsigned'
    src/hooks/SyncPosition.cpp:38:32: error: could not convert 'config.YAML::Node::operator[](((const char*)"autobanreason"))' from 'const YAML::Node' to 'bool'
         if (config["autobanreason"]){
                                    ^
    src/hooks/SyncPosition.cpp:39:53: error: 'const class YAML::Node' has no member named 'as'
             this->autobanreason=config["autobanreason"].as<std::string>();
                                                         ^
    src/hooks/SyncPosition.cpp:39:67: error: expected primary-expression before '>' token
             this->autobanreason=config["autobanreason"].as<std::string>();
                                                                       ^
    src/hooks/SyncPosition.cpp:39:69: error: expected primary-expression before ')' token
             this->autobanreason=config["autobanreason"].as<std::string>();
                                                                         ^
    src/hooks/SyncPosition.cpp:42:30: error: could not convert 'config.YAML::Node::operator[](((const char*)"score-decay"))' from 'const YAML::Node' to 'bool'
         if (config["score-decay"]){
                                  ^
    src/hooks/SyncPosition.cpp:43:48: error: 'const class YAML::Node' has no member named 'as'
             this->scoreDecay=config["score-decay"].as<int>();
                                                    ^
    src/hooks/SyncPosition.cpp:43:51: error: expected primary-expression before 'int'
             this->scoreDecay=config["score-decay"].as<int>();
                                                       ^
    src/hooks/SyncPosition.cpp:43:51: error: expected ';' before 'int'
    gmake[2]: *** [build/Debug/GNU-Generic/src/hooks/SyncPosition.o] Error 1
    gmake[2]: Leaving directory `/usr/libImer'
    gmake[1]: *** [.build-conf] Error 2
    gmake[1]: Leaving directory `/usr/libImer'
    gmake: *** [.build-impl] Error 2 

×
×
  • Create New...

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.