Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - esraacs

Pages: [1]
1
by using lua scripting how can i give attack command to specific units like defense tower and air ballista ?
I tried this
createUnit('defense_tower', 0, startLocation(0))      
givePositionCommand(lastCreatedUnit(), 'attack',startLocation(0))
createUnit('air_ballista', 0, startLocation(0))      
givePositionCommand(lastCreatedUnit(), 'attack',startLocation(0))

and this
createUnit('defense_tower', 0, startLocation(0))      
givePositionCommand(lastCreatedUnit(), 'attack_on',startLocation(0))
createUnit('air_ballista', 0, startLocation(0))      
givePositionCommand(lastCreatedUnit(), 'attack_on',startLocation(0))

it gives that invalid command in both cases
how can give attack command to these units using lua scripting ?

2
sorry i need more details . how do i use the parameters of msbuild to modify build-mg-2010.bat ?
please ,could you provide the steps ?

3
Mods / Trying to move unit
« on: 4 June 2015, 17:08:30 »
i am using AI engine with megaglest. i recieved this error how to avoid it

Trying to move unit [100009 - archer] into occupied cell [x [14] y [14]] and field = 0, unit already in cell [100010 - barracks]
I am using functions in world class in c++
Ex givePositionCommand(unitID, command, pos) 
createUnit(unitID, faction, pos)
pos= startlocation(0)

4
I am using windows.  I dont want to use the build in .net .
I want a command to build specific project or file using build-mg-2010.bat. i dont have to build all the solution  :(.
help please?

5
Mods / Re: Exception when using scripting fn during runtime
« on: 11 February 2015, 22:14:24 »
Do I need when game keypress any event or timer In order to run giveresource ?
I didn't change anything in unit_updater or game source files .

6
Mods / Re: Exception when using scripting fn during runtime
« on: 11 February 2015, 16:58:46 »
No , I just want functions in c++ like giveresource, createunit , attack,update.....etc. to use them in multiagent architecture in c++ which each agent has a different functionality. No replace for players. I just want to use the main functions of the game . Please,could you mention why this exception happened ?

7
Mods / Re: Exception when using scripting fn during runtime
« on: 10 February 2015, 23:30:31 »
Yes I need real time as my ai engine is in c++ .my ai engine is multi agent .I need c++ functions to use directly inside my code. Any hints?

8
Mods / Re: Exception when using scripting fn during runtime
« on: 10 February 2015, 22:52:16 »
No I am using it inside a scenario beginner 1 . Does lua scripting support real time ?
I need it in real time .any hints ?

9
Mods / Re: Exception when using scripting fn during runtime
« on: 9 February 2015, 23:36:52 »
I didnt change anything in unit_updater
this exception changes every time  i run the script :(
*ERROR* [2015-02-10 00:48:11] In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateHarvest 1804] UNKNOWN error
*ERROR* [2015-02-10 00:48:12] In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateUnitCommand Line: 439] Error [In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateHarvest 1804] UNKNOWN error

Stack Trace:
00000000 00000000 00000000 7813b9c2 ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 7813b9c2 ZwGetContextThread!ntdll (null)(0) +18
]
*ERROR* [2015-02-10 00:48:13] In [game.cpp::Glest::Game::Game::update Line: 2785] Error [In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateHarvest 1804] UNKNOWN error

Stack Trace:
00000000 00000000 00000000 7813b9c2 ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 7813b9c2 ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 7813b7ae ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 7813b7ae ZwGetContextThread!ntdll (null)(0) +18
]

i added a key press event in game.cpp
void Game::keyPress(SDL_KeyboardEvent c) {
   if(this->masterserverMode == true) {
      return;
   }

   if(gameStarted == false || totalRenderFps <= 0) {
      return;
   }
   try
   {
   if(c.keysym.sym==SDLK_SEMICOLON)
      {
   
          Plan P;
         P.Test(scriptManager);
   

         return;
      }
   }
   catch(const exception &ex) {
         //LogFile::WriteLogFile(ex.what());
         ErrorDisplayMessage(ex.what(),true);
         
   }
   if(currentUIState != NULL) {
      currentUIState->keyPress(c);
      return;
   }

   chatManager.keyPress(c);
}

and here's what i try to execute
void Plan::Test(ScriptManager scriptManager)
{
   try
   {
   LogFile::WriteLogFile("begin testing");
      
   scriptManager.giveResource("gold",0,100);
   }
   catch(const exception &ex) {
      LogFile::WriteLogFile(ex.what());
   }
}

10
Mods / Re: Exception when using scripting fn during runtime
« on: 8 February 2015, 20:42:06 »
yes i am using c++  scripting functions and this is the details :-
*ERROR* [2015-02-08 19:32:53] In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateProduce 2341] UNKNOWN
*ERROR* [2015-02-08 19:32:53] In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateUnitCommand Line: 439] Error [In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateProduce 2341] UNKNOWN

Stack Trace:
00000000 00000000 00000000 77a25bcc ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 77a25bcc ZwGetContextThread!ntdll (null)(0) +18
]
*ERROR* [2015-02-08 19:32:54] In [game.cpp::Glest::Game::Game::update Line: 2785] Error [In [..\..\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateProduce 2341] UNKNOWN

Stack Trace:
00000000 00000000 00000000 77a25bcc ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 77a25bcc ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 77a25160 ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 77a25160 ZwGetContextThread!ntdll (null)(0) +18
]

11
Mods / Exception when using scripting fn during runtime
« on: 8 February 2015, 19:25:29 »

i am using megaglest with my ai engine . i use giveresource function during runtime .it  completes without exception.
when interface updates its status, it generates this exception
\source\glest_game\world\unit_updater.cpp::Glest::Game::UnitUpdater::updateProduce [2341] unknown

Please,Could you provide a solution to resolve this exception?
if you need more details i have a screenshot but there's no attachment button here :(

12
I am using megaglest with my ai engine in c++
i uses the following code :-

 ScriptManager script;
script.giveResource("gold", id, amount);

it gives me this error

AL lib: ReleaseALC: 1 device not closed

any clue how to resolve this issue ?

13
Closed bug reports / Re: Megaglest Errors in Windows Compiling
« on: 27 October 2014, 18:39:14 »
I am using .net 2010 with CLI windows compiling (build-mg-2010.bat)

Code: [Select]
libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::createDirectoryPaths(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)"(?createDirectoryPaths@PlatformCommon@Shared@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj
]
libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::getFullscreenVideoInfo(int &,int &,int &,bool)" (?getFullscreenVideoInfo@PlatformCommon@Shared@@YAXAAH00_N@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::getFullscreenVideoModes(class std::vector<class Shared::PlatformCommon::ModeInfo,class std::allocator<class Shared::PlatformCommon::ModeInfo> > *,bool)" (?getFullscreenVideoModes@PlatformCommon@Shared@@YAXPAV?$vector@VModeInfo@PlatformCommon@Shared@@V?$allocator@VModeInfo@PlatformCommon@Shared@@@std@@@std@@_N@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "bool __cdecl Shared::PlatformCommon::isKeyDown(int)" (?isKeyDown@PlatformCommon@Shared@@YA_NH@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "bool __cdecl Shared::PlatformCommon::executeShellCommand(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,class Shared: :P
latformCommon::ShellCommandOutputCallbackInterface *)" (?executeShellCommand@PlatformCommon@Shared@@YA_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HAVShellCommandOutputCallbackInterface@12@@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::findDirs(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &,bool,bool)(?findDirs@PlatformCommon@Shared@@YAXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$a
llocator@D@2@@std@@@2@@4@_N2@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vc
xproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::findDirs(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const &,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits
<char>,class std::allocator<char> > > > &,bool,bool)" (?findDirs@PlatformCommon@Shared@@YAXABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@AAV34@_N2@Z) already defined in libgles
t.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::findAll(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &,bool,bool,bool)" (?findAll@PlatformCommon@Shared@@YAXABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@AAV34@_N33@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-so
urce\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::removeFolder(classstd::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?removeFolder@PlatformCommon@Shared@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::clearFolderTreeContentsCheckSum(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?clearFolderTreeContentsCheckSum@PlatformCom
mon@Shared@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "unsigned int __cdeclShared::PlatformCommon::getFolderTreeContentsCheckSumRecursively(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Shared::Util::Checksum *,bool)" (?getFolderTreeContentsCheckSumRecursively@PlatformCommon@Shared@@YAIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVChecksum@Util@2@_N@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::clearFolderTreeContentsCheckSum(class std::vector<classstd::basic_string<char,structstd::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?clearFolderTreeContentsCheckSum@PlatformCommon@Shared@@YAXV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@ABV54@@Z) already defined in libglest.lib(platform_common.obj)[C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "unsigned int __cdecl Shared::PlatformCommon::getFolderTreeContentsCheckSumRecursively(classstd::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Shared::Util::Checksum *,bool)" (?getFolderTreeContentsCheckSumRecursively@PlatformCommon@Shared@@YAIV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@ABV54@PAVChecksum@Util@2@_N@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxp
roj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::clearFolderTreeContentsCheckSumList(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?clearFolderTreeContentsCheckSumList@PlatformCommon@Shared@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int> > > __cdecl Shared::PlatformCom mon::getFolderTreeContentsCheckSumListRecursively(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>> const&,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >
,unsigned int> > > *)" (?getFolderTreeContentsCheckSumListRecursively@PlatformCommon@Shared@@YA?AV?$vector@U?$pair@V?$basic_string@DU?$char_trai
ts@D@std@@V?$allocator@D@2@@std@@I@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@std@@@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@0PAV34@@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libglest.lib(platform_common.obj) : error LNK2005: "void __cdecl Shared::PlatformCommon::clearFolderTreeContentsCheckSumList(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::all ocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::basic _string<char,struct std::char_traits<char>,class std::allocator<char> >, class std::basic_string<char,struct std::char_traits<char>,class std::alocator<char> > const &)" (?clearFolderTreeContentsCheckSumList@PlatformCommon@Shared@@YAXV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@ABV54@@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj
]

libglest.lib(platform_common.obj) : error LNK2005: "class std::vector<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int> > > __cdecl Shared::PlatformCom mon::getFolderTreeContentsCheckSumListRecursively(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,structstd::char_traits<char>,class std::allocator<char> > const &,class std::vector<struct std::pair<class std::basic
_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int>,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned int> > > *)" (?getFolderTreeContentsCheckSumListRecursively@PlatformCommon@Shared@@YA?AV?$vector@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@std@@V?$allocator@U?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@std@@@2@@std@@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocat
or@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@4@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@ABV64@PAV34@@Z) already defined in libglest.lib(platform_common.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

libcpmtd.lib(stdthrow.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in config.obj [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]libcpmtd.lib(xdebug.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in config.obj [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined inLIBCMT.lib(recalloc.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj) [C:\Users\Esraa\megaglest-sourc\mk\windoze\glest_editor.vcxproj]

LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in LIBCMT.lib(dbghook.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in LIBCMT.lib(isctype.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj) [C:\Users\Esraa\megaglest-sourc\mk\windoze\glest_editor.vcxproj]

.\\megaglest_editor.exe : fatal error LNK1169: one or more multiply defined symbols found [C:\Users\Esraa\megaglest-source\mk\windoze\glest_editor.vcxproj]

*,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<classstd::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > const &)" (??0XmlAttribute@Xml@Shared@@QAE@PAV?$xml_attribute@D@rapidxml@@ABV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@std@@@Z) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(xml_parser.obj) : error LNK2005: "public: __thiscall Shared::Xml::XmlAttribute::XmlAttribute(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > const &)" (??0XmlAttribute@Xml@Shared@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0ABV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@4@@Z) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

 libglest.lib(xml_parser.obj) : error LNK2005: "public: class Shared::Xml::XmlAttribute * __thiscall Shared::Xml::XmlNode::addAttribute(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,classstd::basic_string<char,structstd::char_traits<char>,class std::allocator<char> > > > > const &)"(?addAttribute@XmlNode@Xml@Shared@@QAEPAVXmlAttribute@23@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0ABV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_st
ring@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@6@@Z) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(xml_parser.obj) : error LNK2005: "public: __thiscall Shared::Xml::XmlNode::~XmlNode(void)" (??1XmlNode@Xml@Shared@@QAE@XZ) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(xml_parser.obj) : error LNK2005: "public: int __thiscallShared::Xml::XmlNode::clearChild(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?clearChild@XmlNode@Xml@Shared@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

 libglest.lib(xml_parser.obj) : error LNK2005: "private: void __thiscall Shared::Xml::XmlTree::clearRootNode(void)" (?clearRootNode@XmlTree@Xml@Shared@@AAEXXZ) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

 libglest.lib(xml_parser.obj) : error LNK2005: "public: __thiscall Shared::Xml::XmlTree::~XmlTree(void)" (??1XmlTree@Xml@Shared@@QAE@XZ) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-sour
ce\mk\windoze\glest_game.vcxproj]

 libglest.lib(xml_parser.obj) : error LNK2005: "public: void __thiscall Shared::Xml::XmlTree::init(class std::basic_string<char,struct std::cha
r_traits<char>,class std::allocator<char> > const &)" (?init@XmlTree@Xml @Shared@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(xml_parser.obj) : error LNK2005: "public: void __thiscall Shared::Xml::XmlTree::load(class std::basic_string<char,struct std::cha
r_traits<char>,class std::allocator<char> > const &,class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocat or<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > >const &,bool,bool,bool)" (?load@XmlTree@Xml@Shared@@QAEXABV?$basic_stri
ng@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@U?$pai
r@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@std@@@2@@5@_N22@Z) already defined in libglest.lib(xml_parser.obj) [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libcpmtd.lib(stdthrow.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in auto_test.obj[C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libcpmtd.lib(xdebug.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in auto_test.obj [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj] libglest.lib(PNGReader.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(JPGReader.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(BMPReader.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol__CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(particle_renderer_gl.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(sound_player_openal.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(gl_wrap_billy.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-sourc\mk\windoze\glest_game.vcxproj]
 
libglest.lib(TGAReader.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(miniftpserver.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(sound_interface.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(sound_file_loader.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(text_renderer_gl.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(ircclient.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(window_gl.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(ImageReaders.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(miniftpclient.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(texture_gl.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(opengl.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(map_preview.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(socket.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(texture.obj) : error LNK2001: unresolved external symbol__CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(texture_manager.obj) : error LNK2001: unresolved external  symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(font_manager.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(model_manager.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(compression_utils.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(lua_script.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(sound.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(gl_wrap.obj) : error LNK2001: unresolved external symbol__CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(checksum.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(particle.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(pixmap.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(simple_threads.obj) : error LNK2001: unresolved externalsymbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(base_thread.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(window.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(video_player.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(model.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(thread.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(cache_manager.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(properties.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(xml_parser.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(randomgen.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(font.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(util.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(platform_common.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(JPGReader.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(BMPReader.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libcpmtd.lib(xdebug.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(ImageReaders.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(sound_file_loader.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(TGAReader.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(PNGReader.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(pixmap.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(gl_wrap.obj) : error LNK2001: unresolved external symbol__free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(texture_gl.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(socket.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(xml_parser.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(model.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(checksum.obj) : error LNK2001: unresolved external symbol__free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(particle.obj) : error LNK2001: unresolved external symbol__free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(util.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(platform_common.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libglest.lib(conversion.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]

  libglest.lib(properties.obj) : error LNK2001: unresolved external symbol __free_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
libglest.lib(conversion.obj) : error LNK2001: unresolved external symbol __malloc_dbg [C:\Users\Esraa\megaglest-source\mk\windoze\glest_game.vcxproj]
 
 libcpmtd.lib(xdebug.obj) : error LNK2001: unresolved external symbol __malloc_dbg [C:\Users\Esraa\megaglest-source\mk\windoz\glest_game.vcxproj]

("Code" BBCode fixed by tomreyn)

14
I build megaglest from a period of time with no errors
and i tried to build again alot of errors appears. I am using The CLI approach in windows.

(unwrapped code removed by tomreyn)

please, any help ?

Pages: [1]