Jump to content
metin2dev
  • 0
DaNy3LL

binary compiling problems

Question

Edit 4 : ========== Build: 1 succeeded, 0 failed, 15 up-to-date, 0 skipped ========== :wub:

 

To solve cryptopp libs error download those 2 libs and replace your with those

 

Edit 3 : Safesh problem solved

Right click on UserInterface -> Proprietes -> Configuration proprietes -> Linker -> Advanced

Set  Image Has  Safe Exception Handlers to /SAFESH:NO

 

But now I get those erorrs

 

http://pastebin.com/pJJQyzDn

 

If I use VS2008 instead of VS2013 I get the linking error again

1>LINK : fatal error LNK1104: cannot open file 'd3d8.lib'

Edit 2 : I had a linking problem to the libs folder, but now I get the same error on d3dx8.lib, granny2.lib, mss32.lib, dinput8.lib and metin2client.exe

error LNK2026: module unsafe for SAFESEH image

Here is the full log

 

http://pastebin.com/fkB8UbVZ

 

Edit : I managed to solve those errors

 

U8AtqgE.png

 

I changed the lib and still get the error

 

 

In PythonGraphic.cpp

 

Replace

bool bSaved = SaveJPEG(c_pszFileName, pbyBuffer, uWidth, uHeight);

With

bool bSaved = SaveJPEG(c_pszFileName, (LPBYTE)pbyBuffer, uWidth, uHeight);

Then open bitset.h from python folder and change

#define BYTE char

to

#define BYTE unsigned char

Hello guys, when I try to compile the novaline binary I get some errors

Error	1	error C2664: 'bool CPythonGraphic::SaveJPEG(const char *,LPBYTE,UINT,UINT)' : cannot convert argument 2 from 'char *' to 'LPBYTE'	E:dev_clientclienteterPythonLibPythonGraphic.cpp	294	1	eterPythonLib
Error	2	error C2440: 'initializing' : cannot convert from 'CAffectFlagContainer::Element' to 'char &'	E:dev_clientclientUserInterfaceAffectFlagContainer.cpp	68	1	UserInterface
Error	13	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	770	1	UserInterface
Error	14	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	774	1	UserInterface
Error	15	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	812	1	UserInterface
Error	16	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	842	1	UserInterface
Error	17	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	873	1	UserInterface
Error	18	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	900	1	UserInterface
Error	19	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	912	1	UserInterface
Error	20	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	919	1	UserInterface
Error	21	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	958	1	UserInterface
Error	22	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	991	1	UserInterface
Error	23	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1021	1	UserInterface
Error	24	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1083	1	UserInterface
Error	25	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1294	1	UserInterface
Error	26	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1340	1	UserInterface
Error	27	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1393	1	UserInterface
Error	28	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1456	1	UserInterface
Error	29	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1531	1	UserInterface
Error	30	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1616	1	UserInterface
Error	31	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1673	1	UserInterface
Error	32	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1713	1	UserInterface
Error	33	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	1976	1	UserInterface
Error	34	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	2017	1	UserInterface
Error	35	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	2130	1	UserInterface
Error	36	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonPlayerModule.cpp	2152	1	UserInterface
Error	46	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonShop.cpp	330	1	UserInterface
Error	47	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonShop.cpp	348	1	UserInterface
Error	48	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonShop.cpp	360	1	UserInterface
Error	49	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonShop.cpp	387	1	UserInterface
Error	50	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonShop.cpp	396	1	UserInterface
Error	59	error C2440: 'initializing' : cannot convert from 'byte *' to 'char *'	E:dev_clientclientUserInterfacePythonApplicationLogo.cpp	122	1	UserInterface
Error	61	error C2440: 'initializing' : cannot convert from 'byte *' to 'char *'	E:dev_clientclientUserInterfacePythonApplicationLogo.cpp	166	1	UserInterface
Error	75	error C2664: 'int lzo1x_decompress_safe(const unsigned char *,lzo_uint,unsigned char *,lzo_uint *,void *)' : cannot convert argument 1 from 'const char *' to 'const unsigned char *'	E:dev_clientclientUserInterfaceMarkImage.cpp	190	1	UserInterface
Error	76	error C2664: 'int lzo1x_999_compress(const unsigned char *,lzo_uint,unsigned char *,lzo_uint *,void *)' : cannot convert argument 1 from 'const char *' to 'const unsigned char *'	E:dev_clientclientUserInterfaceMarkImage.cpp	305	1	UserInterface
Error	82	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	678	1	UserInterface
Error	83	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	706	1	UserInterface
Error	84	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	712	1	UserInterface
Error	85	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	736	1	UserInterface
Error	86	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	765	1	UserInterface
Error	87	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	821	1	UserInterface
Error	88	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	825	1	UserInterface
Error	89	error C2664: 'bool PyTuple_GetByte(PyObject *,int,unsigned char *)' : cannot convert argument 3 from 'char *' to 'unsigned char *'	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	871	1	UserInterface
Error	90	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	953	1	UserInterface
Error	91	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	1222	1	UserInterface
Error	92	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	1254	1	UserInterface
Error	93	error C2665: 'PyTuple_GetInteger' : none of the 3 overloads could convert all the argument types	E:dev_clientclientUserInterfacePythonNetworkStreamModule.cpp	1303	1	UserInterface

How can I fix them ?

 

Someone said to upgrade python to 2.7. If so, can you give me the files that I need ?

 

Kind regards , DaNy3LL

  • Like 2

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×