Author Topic: plgdbmysql [Planeshift] / Can't build dbmysql.dll  (Read 928 times)

Agnostic

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
plgdbmysql [Planeshift] / Can't build dbmysql.dll
« on: April 21, 2011, 08:28:46 pm »
Hi, i have this problem:
I can build all project except this library: dbmysql.dll

My dependences (includes and libs) are correct (used MySQL5.1)

and i have this problem when i try to build:
Code: [Select]
1>------ Operaci贸n Volver a generar todo iniciada: proyecto: plgdbmysql, configuraci贸n: ReleaseWithDlls Win32 ------
1>Eliminando archivos intermedios y de resultados para el proyecto 'plgdbmysql', configuraci贸n 'ReleaseWithDlls|Win32'
1>Compilando...
1>plugin_impl.cpp
1>dal.cpp
1>Compilando recursos...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>   Creating libraries ..\..\out\release9\build\plgdbmysql\Win32\plgdbmysql.lib and object ..\..\out\release9\build\plgdbmysql\Win32\plgdbmysql.exp
1>dal.obj : error LNK2001: extern symbol "public: void __thiscall psNamedProfiles::Reset(void)" (?Reset@psNamedProfiles@@QAEXXZ) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: virtual void __thiscall psNamedProfiles::AddCons(class csString const &,unsigned int)" (?AddCons@psNamedProfiles@@UAEXABVcsString@@I@Z) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: class csString __thiscall psDBProfiles::Dump(void)" (?Dump@psDBProfiles@@QAE?AVcsString@@XZ) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: virtual void __thiscall psDBProfiles::AddSQLTime(class csString const &,unsigned int)" (?AddSQLTime@psDBProfiles@@UAEXABVcsString@@I@Z) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: unsigned int __thiscall psStopWatch::Stop(void)" (?Stop@psStopWatch@@QAEIXZ) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: void __thiscall psStopWatch::Start(void)" (?Start@psStopWatch@@QAEXXZ) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: void __thiscall LogCSV::Write(int,class csString &)" (?Write@LogCSV@@QAEXHAAVcsString@@@Z) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: static void __cdecl ConsoleOut::Intern_Printf(enum ConsoleOutMsgClass,char const *,...)" (?Intern_Printf@ConsoleOut@@SAXW4ConsoleOutMsgClass@@PBDZZ) sin resolver
1>dal.obj : error LNK2001: extern symbol "public: __thiscall psOperProfileSet::psOperProfileSet(void)" (??0psOperProfileSet@@QAE@XZ) sin resolver
1>dal.obj : error LNK2001: extern symbol "void __cdecl pslog::Initialize(struct iObjectRegistry *)" (?Initialize@pslog@@YAXPAUiObjectRegistry@@@Z) sin resolver
1>..\..\dbmysql.dll : fatal error LNK1120: 10 externos sin resolver
1>El registro de compilaci贸n se guard贸 en el "file://c:\development\PlaneShift\out\release9\build\plgdbmysql\BuildLog.htm"
1>plgdbmysql - 11 errors, 0 warnings
========== Volver a generar todo: 0 correctos, 1 incorrectos, 0 omitidos ==========

Please help :(

weltall

  • Associate Developer
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: plgdbmysql [Planeshift] / Can't build dbmysql.dll
« Reply #1 on: April 21, 2011, 08:34:13 pm »
add libpsutils as dependency

Agnostic

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: plgdbmysql [Planeshift] / Can't build dbmysql.dll
« Reply #2 on: April 21, 2011, 08:37:52 pm »
Thank you so muchh!!!
 :oops:

Agnostic

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: plgdbmysql [Planeshift] / Can't build dbmysql.dll
« Reply #3 on: April 21, 2011, 09:01:11 pm »
now, how to load maps @ psserver?

when i type: loadmap npcroom1 or loadmap npcroom2, etc:
Couldn't load map.
and if i type malist, i get nothing =/

weltall

  • Associate Developer
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: plgdbmysql [Planeshift] / Can't build dbmysql.dll
« Reply #4 on: April 22, 2011, 04:07:12 am »
are you sure you've the art?

Agnostic

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: plgdbmysql [Planeshift] / Can't build dbmysql.dll
« Reply #5 on: April 22, 2011, 10:04:40 am »
sorry, I copied the art folder, but when I log in, all the graphics look bad and the interface appears incomplete.

Agnostic

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: plgdbmysql [Planeshift] / Can't build dbmysql.dll
« Reply #6 on: October 08, 2011, 10:57:28 am »
Sorry, solved...
« Last Edit: October 08, 2011, 11:40:40 am by Agnostic »