• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How the fck do you compile otclient, ive struggled with it for hours!

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,782
Solutions
31
Reaction score
2,286
Location
Sweden?
I dont know, i read the wiki tutorial and came this far.

Dvaar.png


Help!
 
Are you sure that you selected proper location of your source code? (Place where you check-outed git repository)
Aswell as in second line, you need to select a directory where you gonna build your exe, I suggest you to use same directory as in first line, as its the place where u got data, mods directories.
 
Its located to this folder, idk if its right?

Pzb44N.png
 
yea, i see you had it setted up. Seems something else is wrong. My guess is that something is wrong with path variables. Make sure you did properly 'Configure system PATH variable' step from guide. Restart your pc after and try again.

Else, click on Advanced, and set your
CMAKE_C_COMPILER manually to C:/MinGW/bin/gcc.exe (if you locate MinGW on C:).
CMAKE_CXX_COMPILER - C:/MinGW/bin/g++.exe
 
Ok, it works thanks Fare.
 
Bump, i retry this but still i cant compile. I think its something with the path varibales
 
Ninja, you have tried to compile and you didnt get same problem?
I compiled OTClient with Visual Studio last night and didn't have that issue.
 
Works :), but when i compile nope =(

and i want to add some source edits, if i cant even compile there is no use :( ill try to uninstall the older version of visual studio c++

Send it over and I'll give it a whirl :)
 
well i pm you if i dont get it worked after i have uninstall vc xD
 
Well here is the errors i get:
Code:
1>MSVCRT.lib(cinitexe.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>  Generating code
1>  Finished generating code
1>libvorbis_static.lib(info.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(block.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(synthesis.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(registry.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(sharedbook.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(codebook.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(psy.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(smallft.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(envelope.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(mdct.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(bitrate.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(lpc.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(window.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(res0.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(mapping0.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(floor1.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(floor0.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbis_static.lib(lsp.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>libvorbisfile_static.lib(vorbisfile.obj) : warning LNK4204: 'C:\Users\nti\Desktop\otclient-master\vc12\Release\vc120.pdb' is missing debugging information for referencing module; linking object as if no debug info
1>  otclient.vcxproj -> C:\Users\nti\Desktop\otclient-master\vc12\Release\otclient.exe
 
I get the same ones but it compiles successfully as you saw from the EXE I sent you. About the first error I dont remember seeing that.
 
Back
Top