Author | Message | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Error building eoserv
| I keep getting this error when trying to build eoserv. Rebuilding the project ends with no critical errors(edit:build still fails), but when I try to build this happens I've checked the linking and everything seems to be linked correctly, I don't understand why I am getting this. Any help? P.S - I've just noticed I posted it in wrong section, sorry! P.S.S - or did I? --- “Life is like riding a bicycle. To keep your balance, you must keep moving.â€â€• Albert Einstein
|
Re: Error building eoserv
| You are linking to the dll file when you should be linking to the library file which will be either .a or .lib --- stay tuned.
|
Re: Error building eoserv
| I'm not sure why you have that error, it may be that the linkage/setup of the project is incorrect. But I uploaded that specific dll file (libmariadb.dll). Maybe adding the dll will fix the problem. You can download it here: https://drive.google.com/open?id=0B8quRogvNKDFem5zNVNjVWl2WTg --- Just your friendly neighborhood Programmer-Man!
|
Re: Error building eoserv
| You don't compile dynamic libraries. Files ending in .dll essentially are used by the compiled work. You need to included the Maria library apparently.
|
Re: Error building eoserv
| Actually, DLLs are dynamic linked libraries. And yes DLLs contain compiled code. If you are compiling your project you will need source files or byte code. --- I not hacker “Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.†- Albert Einstein : Really Great Quote Ramy!
|
Re: Error building eoserv
| Shilo posted: (10th Mar 2017, 10:30 pm) So switching the .dll actually worked, but when I try to run eoserv.exe the following happens: --- “Life is like riding a bicycle. To keep your balance, you must keep moving.â€â€• Albert Einstein
|
Re: Error building eoserv
| If you haven't done so, I suggest redoing the entire process from scratch, following this guide: https://eoserv.net/wiki/Compiling_EOSERV I don't think the guide is perfect, because I have had issues with compiling even after following the guide. But you shouldn't have the current issue you are having if you use that guide, and I am sure people can help you with other compile errors you might have with the above guide. --- Just your friendly neighborhood Programmer-Man!
|
Re: Error building eoserv
| Hacker_Alex posted: (11th Mar 2017, 03:54 am) I don't know what fucking kind of correction that is supposed to be. DLL files are not compiled into the source code, nor should they be linked directly in the compiler. Libraries that reference a non-static include may need to be given, but not the DLL file itself. In this case, he is looking for a libmaria.lib or .a or w.e. file to compile this properly. Since the library is not a static build, it is necessary to include the external .dll file (which again should not be linked here). Don't confuse the newblets. Keep it simple please.
| |