Discussion in 'Support' started by Lopaskurwa, May 2, 2018.
did you read wha i've told you?? you wrongly installed the libraries.... update you vm (check how to do it at google) then re-install the libraries to compile
update vm? Why do i need to update vm if i decided to stay with windows? To compile source that support windows i have to use vs not a vm.
About your original error:
You're using Boost 1.62 while you need 1.60 (I know tutorial gives you 1.66 but I got that same problem with that one)~ Also C/C++ and Linker should be configured like this:
Also made sure is configured like this:
you never posted that you decided to come back to windows... gl
So wait where do i have to link those new sources in vs? I'm pretty confused ;D
You will see this in English but is basically the same:
Right click your solution and click Properties:
There you have the options C/C++ and Linker (Vinculador in my language):
There is where you add what I told you.
Yea i know where to add them, but i asking do i need to add src files to? Or only i need to add stuff from tfs-sdk-3.2 and boost? Because if i need to add stuff only from tfs-sdk and boost how is that even source compile? Because if i change something in (player.cpp) i have to compile that stuff, so my question is do i have to add "src files, tfs-sdk, and boost"?
I'm tired of getting bump alerts all day long on these kinds of threads so I sat down and made a video specially for you @Lopaskurwa. If you can't get it done after that I'll help you out here but I'm most probably going to unwatch this thread, not because I don't feel like helping you anymore but by seeing your "will" to get something done getting smashed so fast after a few failed attempts, which is a pity when you want to create something.
Here is the video, I hope you can understand me and learn something out of that.
Here's also a list of commands you'll need to use and their description (what they're for):
CTRL+ALT+T = Open a Terminal
ls -l = List files inside a Directory
cd = Change Directory
cd .. = Goes back one Directory (Like clicking on the <- Button in any graphical window)
./ = Executes a File (./tfs is needed to run the server)
All the other commands are included at this page I also visited while recording the video: otland/forgottenserver.
Thanks for tutorial. So i will answer your question why i want to compile source, because i changed some lines in "player.cpp" source file so if i want to save those changes i have to compile that file because its not enough to save with notepad so i have to compile it with vs or with ubuntu like everyone told me. So i got first problem i cant use "git clone" command it says command "git" not found. So i tried this command apt install git but it says
e: could not open lock file
e: unable to lock the administration directory
Start with a complete new Virtual Machine, simple as download ubuntu: http://releases.ubuntu.com/16.04/ubuntu-16.04.4-desktop-amd64.iso, setup a machine with 4GB RAM and around 20GB Disk Space. Boot the machine from the .iso file (there are tutorials on how to do it online aswell), install the system. After you're done with that just do exact what I've done on my video.
Bruh, now i cant even choose virtual optical dick file says invalid settings detected. So i suppose because i choose 4gb of rams
Please just watch any tutorial online on how to run ubuntu on a virtual machine, follow it through...I can't do much more for you.
I think you need to read a bit on how VS works, what you just told me made no sense, sorry.
So yea i compiled everything successfully so i understand that now i have to work with my server in ubuntu virtual machine? Because there is data folder every lua and etc stuff right? P.s i compiled not my server so if i want to compile my server i have to upload it in github? and then make git clone with my server link?
no its not nesesary at all you put the files into your virtual machine
Put my files into virtual machine so you mean from my main pc to virtual machine just by dragging it? And i wondering if it's linux, so i suppose it doesn't support localhost 127.0.0.1? So by far all i can say linux is way way harder then windows. But yea i think we can close this thread now because i know how to compile source with ubuntu but right now i will stick with windows and when i done configuring my source i'll compile my server to linux. Thanks for help guys
you have to do it via winscp its a program check at youtube how to send files with it to your vm