Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » ProtectEncrypt and MySQL
ProtectEncrypt and MySQL [message #39838] Sun, 05 May 2013 18:01 Go to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Hi,
I tryed to compile the Protect package from bazaar. Compiling it I got ad error because i need MySQL so i download and set it up following this guide from website:
http://www.ultimatepp.org/srcdoc$MySql$NativeMySql$ro-ro.htm l

-I add the MySQL server installation paths into the three tabs in Build methods
-I set the ".MYSQLDLL" build flag.

At the moment I'm on windows with:
-UPP versione 6031
-MSC9
-MySQL 5.5 and 5.6 (I tryed both versions)

When I compile the ProtectEncrypt package i receive the following error:

----- ProtectEncrypt ( MYSQLDLL MAIN MSC9 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (9 / 9)
Linking...
LINK : fatal error LNK1104: impossibile aprire il file 'debug\libmysql.lib'

There were errors. (0:00.09)


I checked on "MySQL\MySQL Server 5.5\lib\debug\" and libmysql.lib file isn't there.
I have found it in "MySQL\MySQL Server 5.5\lib\" so I tryed to copy and replace it in the right subfolder. Compiling it again the Ide give me the new error:

----- ProtectEncrypt ( MYSQLDLL MAIN MSC9 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (9 / 9)
Linking...
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_set_character_set@8 non risolto nella funzione
	 "private: bool __thiscall Upp::MySqlSession::DoConnect(void)" (?DoConnect@MySqlSession@Upp@@AAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_real_connect@32 non risolto nella funzione "pr
	ivate: bool __thiscall Upp::MySqlSession::DoConnect(void)" (?DoConnect@MySqlSession@Upp@@AAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_init@4 non risolto nella funzione "private: bo
	ol __thiscall Upp::MySqlSession::DoConnect(void)" (?DoConnect@MySqlSession@Upp@@AAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_close@4 non risolto nella funzione "public: vo
	id __thiscall Upp::MySqlSession::Close(void)" (?Close@MySqlSession@Upp@@QAEXXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_error@4 non risolto nella funzione "private: b
	ool __thiscall Upp::MySqlSession::MysqlQuery(char const *)" (?MysqlQuery@MySqlSession@Upp@@AAE_NPBD@Z)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_errno@4 non risolto nella funzione "private: b
	ool __thiscall Upp::MySqlSession::MysqlQuery(char const *)" (?MysqlQuery@MySqlSession@Upp@@AAE_NPBD@Z)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_query@8 non risolto nella funzione "private: b
	ool __thiscall Upp::MySqlSession::MysqlQuery(char const *)" (?MysqlQuery@MySqlSession@Upp@@AAE_NPBD@Z)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_real_escape_string@16 non risolto nella funzio
	ne "private: class Upp::String __thiscall Upp::MySqlConnection::EscapeString(class Upp::String const &)" (?Esca
	peString@MySqlConnection@Upp@@AAE?AVString@2@ABV32@@Z)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_insert_id@4 non risolto nella funzione "protec
	ted: virtual bool __thiscall Upp::MySqlConnection::Execute(void)" (?Execute@MySqlConnection@Upp@@MAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_fetch_field_direct@8 non risolto nella funzion
	e "protected: virtual bool __thiscall Upp::MySqlConnection::Execute(void)" (?Execute@MySqlConnection@Upp@@MAE_N
	XZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_num_fields@4 non risolto nella funzione "prote
	cted: virtual bool __thiscall Upp::MySqlConnection::Execute(void)" (?Execute@MySqlConnection@Upp@@MAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_affected_rows@4 non risolto nella funzione "pr
	otected: virtual bool __thiscall Upp::MySqlConnection::Execute(void)" (?Execute@MySqlConnection@Upp@@MAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_store_result@4 non risolto nella funzione "pro
	tected: virtual bool __thiscall Upp::MySqlConnection::Execute(void)" (?Execute@MySqlConnection@Upp@@MAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_fetch_lengths@4 non risolto nella funzione "pr
	otected: virtual bool __thiscall Upp::MySqlConnection::Fetch(void)" (?Fetch@MySqlConnection@Upp@@MAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_fetch_row@4 non risolto nella funzione "protec
	ted: virtual bool __thiscall Upp::MySqlConnection::Fetch(void)" (?Fetch@MySqlConnection@Upp@@MAE_NXZ)
MySql.obj : error LNK2019: riferimento al simbolo esterno _mysql_free_result@4 non risolto nella funzione "priv
	ate: void __thiscall Upp::MySqlConnection::FreeResult(void)" (?FreeResult@MySqlConnection@Upp@@AAEXXZ)
C:\upp\out\bazaar\MSC9.Debug.Debug_Full.Mysqldll\ProtectEncrypt.exe : fatal error LNK1120: 16 esterni non risol
	ti

There were errors. (0:00.46)


How can I solve it?

Thanks,
Matteo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cannot install ultimatepp
Next Topic: Dynamic Libraries __declspec(dllexport)
Goto Forum:
  


Current Time: Mon Apr 29 05:24:37 CEST 2024

Total time taken to generate the page: 0.04305 seconds