Log in

View Full Version : "Build" Problem!


xd4v3x
04-06-2012, 01:09 AM
ok so i am at the point right now where i am building the files, but i only get "1 succefull and 5 failed" i follow step by step and it keeps giving me that error message. and when i go in the build folder it only has the EMuShareMem.dll, is there somthing i am doing wrong. another thing when i click on build it has " build solution" not just "build"??
please help


Thanks

lerxst2112
04-06-2012, 03:13 AM
You need to post the errors for anyone to help you without guessing.

If I did have to guess though I'd say you probably didn't set the library and include paths for MySQL or Perl properly.

wolfwalkereci
04-06-2012, 11:11 AM
Go through the guide again and double check that you followed every step as listed.
You might have done everything correctly but as Lerxst2112 said you have not posted enough information for people to assist you.
If you can give more info there are people here that will help you figure out whats happening.

xd4v3x
04-06-2012, 03:31 PM
ok keeps getting an error message saying that it " Fatal error:C1083 cannot open include file: mysql.h, no such file or directory."

6>c:\source\trunk\eqemuserver\ucs\../common/dbcore.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
6>database.cpp
6>.\database.cpp(29) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
6>clientlist.cpp
6>c:\source\trunk\eqemuserver\ucs\../common/dbcore.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
6>chatchannel.cpp
6>c:\source\trunk\eqemuserver\ucs\../common/dbcore.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory

lerxst2112
04-06-2012, 03:50 PM
Ok, like I guessed you didn't set the MySQL include paths correctly. Go over that part of the guide again.

xd4v3x
04-06-2012, 03:56 PM
hmm which i did. and double checked! :/

joligario
04-06-2012, 04:17 PM
What compiler are you using?

Derision
04-06-2012, 04:19 PM
hmm which i did. and double checked! :/
You still did it wrong.

Let's say your MySQL include directory is here:

http://www.rama.demon.co.uk/eq2.png

Note this is where mysql.h is.

Then, in Visual Studio (assuming 2008 version), select the Tools/Options menu option, select VC++ Directories, then select 'Show Directories for Include Files', and make sure you have the same directory that your mysql.h is in, in the list there, i.e.:

http://www.rama.demon.co.uk/eq1.png

xd4v3x
04-06-2012, 05:16 PM
THANK YOU FOR EVERYONES INPUT.
so what happened was my dumby didny change it from exe to include from the drop down. so it was missing the three locations.

thanks again

xd4v3x
04-06-2012, 05:25 PM
ok so now, i am missing two files which are zones.exe and world.exe got a bit futher now

xd4v3x
04-06-2012, 05:40 PM
6>.\database.cpp(586) : warning C4244: 'initializing' : conversion from 'time_t' to 'int', possible loss of data
6>clientlist.cpp
6>.\clientlist.cpp(1012) : warning C4018: '<' : signed/unsigned mismatch
6>.\clientlist.cpp(1314) : warning C4018: '<' : signed/unsigned mismatch
6>.\clientlist.cpp(1317) : warning C4018: '<' : signed/unsigned mismatch
6>.\clientlist.cpp(1427) : warning C4018: '<' : signed/unsigned mismatch
6>.\clientlist.cpp(1430) : warning C4018: '<' : signed/unsigned mismatch
6>chatchannel.cpp

lerxst2112
04-06-2012, 05:43 PM
Those are warnings, not errors. Do a full rebuild and then search in the output window for the word error to find what's not working.

xd4v3x
04-06-2012, 05:56 PM
3>tinyxmlerror.cpp
3>EQEMuError.cpp
3>.\EQWParser.cpp(116) : error C2106: '=' : left operand must be l-value
3>.\EQWParser.cpp(123) : error C2106: '=' : left operand must be l-value

xd4v3x
04-06-2012, 05:57 PM
i also rebuild it. :) and i got 4 success and 2 fails

wolfwalkereci
04-06-2012, 06:41 PM
Yea uncheck queryserver
It'll work after that.

xd4v3x
04-06-2012, 06:44 PM
where do i uncheck?

xd4v3x
04-06-2012, 07:56 PM
3>.\EQWParser.cpp(116) : error C2106: '=' : left operand must be l-value
3>.\EQWParser.cpp(123) : error C2106: '=' : left operand must be l-value

lerxst2112
04-06-2012, 08:53 PM
You need to use Perl 5.10 or 5.12 when compiling with Visual Studio 2008, and Perl 5.14 if compiling with Visual Studio 2010.

It looks like you are trying to use Perl 5.14 with Visual Studio 2008.

xd4v3x
04-06-2012, 08:56 PM
i am using perl 5.14 do u know of a good site to use 5.12. iv been looking and cant find a good link

blackdragonsdg
04-06-2012, 09:25 PM
http://www.activestate.com/activeperl/downloads

xd4v3x
04-06-2012, 09:34 PM
that just to the 5.14, i need 5.10

sorvani
04-06-2012, 10:06 PM
5.12 not 5.10 and change the code in 2 places. mentioned many times in the forums and specifically mentioned in Huppy's thread

blackdragonsdg
04-06-2012, 10:09 PM
Perl 5.10 - http://www.4shared.com/file/DefThqN3/ActivePerl-51011007-MSWin32-x8.html
From this thread - http://www.eqemulator.org/forums/showthread.php?t=33844&highlight=Perl+5.10

xd4v3x
04-06-2012, 10:16 PM
thanks for the info Blackdragon, this forum doesnt have a search :) or im blind and cant find it

xd4v3x
04-07-2012, 12:56 AM
ok now stuck on this for navicat

[Err] 1060 - Duplicate column name 'account_time_required'
[Err] ALTER TABLE `altadv_vars` ADD `account_time_required` INT UNSIGNED DEFAULT '0' NOT NULL AFTER `clientver`;
[Msg] Finished - Unsuccessfully
--------------------------------------

xd4v3x
04-07-2012, 01:20 AM
and i have a few more when i am adding the 1700 sql i get errors

lerxst2112
04-07-2012, 01:46 AM
You only need to apply updates for anything newer than the database you are using, so if you are using the latest (2100) you only need updates that are 2101+

xd4v3x
04-07-2012, 03:32 AM
so ok, i think everything is setup now. but i am having a problem i think....

---------------------------------------------
[04.07. - 00:32:32] Starting Log: logs/eqemu_debug_4188.log
[04.07. - 00:32:32] [LAUNCHER__INIT] Loading server configuration..
[04.07. - 00:32:33] [NET__WORLD] WorldConnection connect: Connecting to the server localhost:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[04.07. - 00:32:33] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[04.07. - 00:32:33] [LAUNCHER__INIT] Starting main loop...


when i start my start.bat file