compile error unresolved externals
Greetings
Thought I'd pick up the project again for a little while. Did the ground up approach because there are some code changes I like to have active. Im stuck on compiling, I get 17 to go, 6 fail. They fail with externals in common.lib.. not sure what's going on. Completely new data pull using the ground up server install (which now has no reference to zlib.. which may be what I'm missing?) VS2019, MYSQL, PERL, Dependencies etc... Cmake runs great no errors. compile fails here: Code:
1>------ Build started: Project: queryserv, Configuration: RelWithDebInfo x64 ------ Lax |
Are you building x64?
|
Uleat?? I'm honored to get your attention!
I thought it might have been a 32/64 issue, I originally had all the x86 dependencies (still do actually) but I grabbed the 64bit dependencies too. I just completed another go around, fresh cmake files, opened the project, did a clean, updated all the VS include and Lib directories to point to the 64bit dependencies, but still have the same 6 failures but now with many more perl, and lua errors.... I'd prefer to run X86.. but let me ask the simple and dumb question, my perl and MySQL installations are 64 bit.. but lua, zlib, etc are probably all 32 bit. This is where it has always fallen down for me, which files are the correct ones to download for proper usage.? Does it matter if you've installed SQL workbench that's 64bit.. (maybe??) Cmake seems very happy, but visual studio is complaining like a mofo. Code:
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363. maybe there is a newer guide that I'm not seeing either? thanks for reading, and cool to see you still here. Lax |
Many things have changed for local compiling in the last year.
Even the guide that I updated went out-of-date about 3 weeks after it went live. Some ppl are pushing for 64-bit compiles..but, I'm still on the 32-bit bandwagon. If you happen to be on our discord, I can walk you through it faster than can be done here on the fourms. If not... I would switch back to 32-bit for perl .. I think lua is self-contained with luajit and the required dll. This guide is correct up until the vcpkg portion. Dependencies (aside from perl) are no longer used/required. Don't worry about downloading vcpkg, cmake will do that for you. When you get to this part.. https://user-images.githubuserconten...e6b3e79365.png ..do not change it. Leave it as 'Use default native compilers.' Also, if you're using a newer version of cmake that has a 3rd drop-down menu (in-between the ones shown above,) make sure that you select win32 for architecture. Cmake used to default to 32-bit builds..but, it will now default to x64 if that is left empty. If you follow the guide otherwise, that and the above changes should get you on the right track. EDIT: for ref: https://eqemu.gitbook.io/server/cate...indows-install |
Uleat,
I'm going to get on discord tomorrow, doing superbowl. I'm using discord for my other apps and Like it. I'll try and find you But... I think you found out my issue.. I do have the third drop down.. and I have been selecting the cross compile according to the guide. Ive been fussing with all night, when I change VS to Win32 it cannot even find include files, so I go back to 64 and get weird target vs code etc.. so I'll give the two things you mentioned a try, and Ill see you on discord. Thanks Lax |
you sir are the man,
Im tipping a scotch to you now. Code:
3>------ Build started: Project: ALL_BUILD, Configuration: RelWithDebInfo Win32 ------ good night and see ya on discord probably |
All times are GMT -4. The time now is 05:30 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.