Jump to content

problem with compilere source - problem from vps


Recommended Posts

Hello , i buy a host with vps but i can compile my source, this is my error:

 

../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
../../../Extern/include/cryptopp/filters.h:793:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'
compile questlua_dragonsoul.cpp
../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':
cipher.cpp:397:   instantiated from here
../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
compile shop_manager.cpp
group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()':
group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after
group_text_parse_tree.h:91: warning:   'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode'
group_text_parse_tree.cpp:5: warning:   when initialized here
compile shopEx.cpp
compile item_manager_read_tables.cpp
compile main.cpp
compile test.cpp
DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':
DragonSoul.cpp:350: warning: unused variable 'sum'
DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':
DragonSoul.cpp:435: warning: unused variable 'dwVnum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:555: warning: unused variable 'prob_sum'
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':
DragonSoul.cpp:763: warning: unused variable 'sum'
compile minilzo.c
item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
shop_manager.cpp: In member function 'bool CShopManager::CreateOfflineShop(CHARACTER*, const char*, std::vector<TShopItemTable*, std::allocator<TShopItemTable*> >, DWORD)':
shop_manager.cpp:199: warning: comparison between signed and unsigned integer expressions
shop_manager.cpp: In member function 'bool CShopManager::StartOfflineShop(DWORD, bool)':
shop_manager.cpp:254: warning: 'z' may be used uninitialized in this function
shop_manager.cpp:254: warning: 'y' may be used uninitialized in this function
shop_manager.cpp:254: warning: 'x' may be used uninitialized in this function
shop_manager.cpp:254: warning: 'map_index' may be used uninitialized in this function
shop_manager.cpp:253: warning: 'time' may be used uninitialized in this function
shop_manager.cpp:253: warning: 'pid' may be used uninitialized in this function
item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
../../../Extern/include/cryptopp/misc.h: At global scope:
../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used
linking ../test
linking ../game_r40250_32....
/usr/lib/libIL.a(il_png.o): In function `iIsValidPng':
il_png.c:(.text+0x143): undefined reference to `png_check_sig'
/usr/lib/libIL.a(il_png.o): In function `readpng_get_image':
il_png.c:(.text+0x5a3): undefined reference to `png_set_gray_1_2_4_to_8'
gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
/usr/lib/libIL.a(il_png.o): In function `iIsValidPng':
il_png.c:(.text+0x143): undefined reference to `png_check_sig'
/usr/lib/libIL.a(il_png.o): In function `readpng_get_image':
il_png.c:(.text+0x5a3): undefined reference to `png_set_gray_1_2_4_to_8'
gmake: *** [../game_r40250_32] Error 1

I has this source in my pc and work without problem on compile, but on vps don t work, i think i don t install something....

 

Db compile fine, but game not..

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Developer

I think you should pass through tar the extern you use in the local compiler machine -> on the vps and try again...
To compress extern in tar you can use the command tar -cf folder (space) file_name. tar

example :

cd /usr/home/

tar -cf game game.tar



to untar it in vps:

put it in cd /usr/home (for example)

cd /usr/home/
tar -xf game.tar

 

My youtube channel  on which you can see my works here

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      Effect weapons

    2. 3

      Crystal Metinstone

    3. 3

      Feeding game source to LLM

    4. 113

      Ulthar SF V2 (TMP4 Base)

    5. 3

      Feeding game source to LLM

    6. 0

      Target Information System

    7. 3

      Feeding game source to LLM

    8. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.