• 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!

Having problem compiling source

Lopaskurwa

Active Member
Joined
Oct 6, 2017
Messages
873
Solutions
2
Reaction score
49
Hi
so probably you guys know me as hard core thread creator so i came from attack speed problem so they told me to update source but i stuck with this error (visual studio)
fatal error LNK1104: cannot open file 'libboost_system-vc140-mt-1_62.lib'
as much as i know i need some kind of libs but i have zero, zero clue what kind of libs. I'm using downgraded ninja tfs 1.2 vc14 files [8.60] The Forgotten Server 1.2 but as new source i use this one ninjalulz/forgottenserver
So where can i get those libs?
 
Solution
Hello,

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...
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
 
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:
C/C++
CMzcc2X.png


Linker:
UtPzcXQ.png


Also made sure is configured like this:
bLVJ0J6.png


Good luck.
 
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:
C/C++
CMzcc2X.png


Linker:
UtPzcXQ.png


Also made sure is configured like this:
bLVJ0J6.png


Good luck.
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:
C/C++
CMzcc2X.png


Linker:
UtPzcXQ.png


Also made sure is configured like this:
bLVJ0J6.png


Good luck.
So wait where do i have to link those new sources in vs? I'm pretty confused ;D
Untitled.png
 
You will see this in English but is basically the same:

Right click your solution and click Properties:
2BKHVBi.png


There you have the options C/C++ and Linker (Vinculador in my language):
wPhH3yw.png


There is where you add what I told you.
 
You will see this in English but is basically the same:

Right click your solution and click Properties:
2BKHVBi.png


There you have the options C/C++ and Linker (Vinculador in my language):
wPhH3yw.png


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"?
 
Hello,

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.

Kindest Regards,
Okke
 
Solution
Hello,

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.

Kindest Regards,
Okke
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.
 
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.
 
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.
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 :D so if i want to compile my server i have to upload it in github? and then make git clone with my server link?
 
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 :D 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
 
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 :)
 
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
 
Back
Top