• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Compile Error 335 / 434

Status
Not open for further replies.

albag

Respected Member
Hello i did reinstall mysql over 5 times now

look the pic
errro2.jpg3error3.jpgerrro1.jpg
 

darksoke

OnTop500
hmm link libs in cmake and do not compile 32bit source with 64 bit VS sorry is really late here i have to go to bad but I managed to fix this problem yesterday for another guy , he had exactly the same issue and what i can tell you right now

Use VS 2013
download openssl,mysql com,cmake,git for 32Bit
when you generate solution with cmake select native compilers 12 2013
NOTE: do not use native compilers 12 2013 win64

also in cmake make sure all link to your librarys are correct i mean all paths
 
Last edited:

albag

Respected Member
hmm link libs in cmake and do not compile 32bit source with 64 bit VS sorry is really late here i have to go to bad but I managed to fix this problem yesterday for another guy , he had exactly the same issue and what i can tell you right now

Use VS 2013
download openssl,mysql com,cmake,git for 32Bit
when you generate solution with cmake select native compilers 12 2013
NOTE: do not use native compilers 12 2013 win64

also in cmake make sure all link to your librarys are correct i mean all paths

cmake is 32 bit
openssl is 32 bit
and the mysql is 32 bit

And i use vs 12 2013

- - - Updated - - -

hmm link libs in cmake and do not compile 32bit source with 64 bit VS sorry is really late here i have to go to bad but I managed to fix this problem yesterday for another guy , he had exactly the same issue and what i can tell you right now

Use VS 2013
download openssl,mysql com,cmake,git for 32Bit
when you generate solution with cmake select native compilers 12 2013
NOTE: do not use native compilers 12 2013 win64

also in cmake make sure all link to your librarys are correct i mean all paths

cmake is 32 bit
openssl is 32 bit
and the mysql is 32 bit

And i use vs 12 2013


The C compiler identification is MSVC 18.0.30723.0
The CXX compiler identification is MSVC 18.0.30723.0
Check for working C compiler using: Visual Studio 12 2013
Check for working C compiler using: Visual Studio 12 2013 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 12 2013
Check for working CXX compiler using: Visual Studio 12 2013 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detected 32-bit platform
MSVC: Enabled large address awareness
MSVC: Enabled SSE2 support
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib
Found OpenSSL headers: C:/OpenSSL-Win32/include
Looking for include file pthread.h
Looking for include file pthread.h - not found
Found Threads: TRUE
Boost version: 1.56.0
Found the following Boost libraries:
system
thread
program_options
Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.6/lib/libmysql.lib
Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.6/include
Found git binary : C:/Program Files (x86)/Git/cmd/git.exe

* TrinityCore revision : 4c25454b77dc 2014-09-23 21:50:45 +0200 (master branch)

* Install core to : C:/Program Files (x86)/TrinityCore

* Build world/auth : Yes (default)
* Build with scripts : Yes (default)
* Build map/vmap tools : No (default)
* Build core w/PCH : Yes (default)
* Build scripts w/PCH : Yes (default)
* Show compile-warnings : No (default)
* Use coreside debug : No (default)
* Use MySQL sourcetree : No
* Use GIT revision hash : Yes

SCRIPT PREPARATIONS
-> Prepared: Spells
-> Prepared: Commands
-> Prepared: Custom
-> Prepared: World
-> Prepared: Outdoor PVP Zones
-> Prepared: Eastern Kingdoms
-> Prepared: Kalimdor
-> Prepared: Outland
-> Prepared: Northrend
-> Prepared: Events
-> Prepared: Pet
SCRIPT PREPARATION COMPLETE

Configuring done
 

Tommy

Founder
What version of MySQL are you using? 5.5 and 5.6 are generally the ones that need to be used. 5.5 usually has the best feedback. Or at least in my experience.

You don't necessarily "need" to use 5.5 or 5.6 since TC supports MySQL versions down to 5.1. HOWEVER, it is best to use 5.6 so you stay updated.

cmake is 32 bit
openssl is 32 bit
and the mysql is 32 bit

And i use vs 12 2013

You never told us if you're compiling in 32bit or 64bit. If you're compiling in 64bit, it will cause those errors.
 

Tommy

Founder
can you see tommy

Yeah, when I click on the thread and view the posts. >.>

Wish you would use lightshot or something for your screenshots, tinypic sucks and is so slow. Have you compiled since the last time? I'd suggest deleting your CMake cache, re-run the configure and generate process, open up the solution, right click the project -> Clean Solution -> Rebuild Solution.
 
Status
Not open for further replies.
Top