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

Problem with compiling

liqeen

Active Member
Joined
Nov 26, 2014
Messages
149
Solutions
1
Reaction score
28
Location
Poland
After a fight with #include luajit another problem appeared
"Cannot open include file 'mysql/errmsg.h': No such file or directory.
I tried everything.. normally it looks like this
#include <mysql/errmsg.h>
tried
#include "<mysql/errmsg.h>"
#include "mysql/errmsg.h>"
#include <mysql-errmsg.h>
#include "mysql-errmsg.h"
literally everything but nothing works.
HOW do I fix this???
Of course it is in folder.
 
After a fight with #include luajit another problem appeared
"Cannot open include file 'mysql/errmsg.h': No such file or directory.
I tried everything.. normally it looks like this
#include <mysql/errmsg.h>
tried
#include "<mysql/errmsg.h>"
#include "mysql/errmsg.h>"
#include <mysql-errmsg.h>
#include "mysql-errmsg.h"
literally everything but nothing works.
HOW do I fix this???
Of course it is in folder.
talk more about what you are trying to compile, otclient, tfs, avesta ... and what program, visual studio etc
 
After a fight with #include luajit another problem appeared
"Cannot open include file 'mysql/errmsg.h': No such file or directory.
I tried everything.. normally it looks like this
#include <mysql/errmsg.h>
tried
#include "<mysql/errmsg.h>"
#include "mysql/errmsg.h>"
#include <mysql-errmsg.h>
#include "mysql-errmsg.h"
literally everything but nothing works.
HOW do I fix this???
Of course it is in folder.
Link that library to your compiler so it can included in your project

I'm pretty sure you didn't install boost, if not, just follow this:
Issue a command bootstrap, and then b2:

bootstrap_b2.png



We need to setup include and link library path as indicated in the picture below:

Boost_built.png


Don't forget to link the stage/lib directory to your project libs
 
Last edited:
Link that library to your compiler so it can included in your project

I'm pretty sure you didn't install boost, if not, just follow this:
Issue a command bootstrap, and then b2:

bootstrap_b2.png



We need to setup include and link library path as indicated in the picture below:

Boost_built.png


Don't forget to link the stage/lib directory to your project libs
After typing bootstrap this appears
Also it is not even compilating now because of that error..

Just find out that something is wrong with pugixml in vcpkg when i'm installing it, how do I fix this problem?
Code:
Error: Building package pugixml:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: pugixml:x64-windows
  Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.
 

Attachments

Last edited:
After typing bootstrap this appears
Also it is not even compilating now because of that error..

Just find out that something is wrong with pugixml in vcpkg when i'm installing it, how do I fix this problem?
Code:
Error: Building package pugixml:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: pugixml:x64-windows
  Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.
Did you test what the error is telling you?
Code:
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues

Looks like you don't as latest vcpkg update is 5 hours ago and your version is from 2018.11.23

Best place for vcpkg support is it's github microsoft/vcpkg (https://github.com/microsoft/vcpkg/issues)

And just for curiosity, did you reboot after installing vcpkg? And for installing, I mean running bootstrap-vcpkg.bat as admin

Are you sure C:\Users\Yaszik-PC is the root directory of vcpkg? Doesn't looks like...
In powershell:
  • Write cd "your vcpkg path"
  • Press enter
  • Drag the vcpkg.exe to Powershell console
  • Enter

Didn't work? Just add .\ before dragging vcpkg.exe

Looks like you don't know how to use it instead of having real errors
 
Last edited:
37066
And what I am suppose to do with it? Just follow the tutorial to compile? If yes pugixml still does not work here, same error like before.

And yep I tried ./vcpkg update even reinstalled vcpkg but it still does not work.
 
Back
Top