Compiling FLHook
-
Hey thanks for the answer! I am currently trying to get the Server SDK to work, don’t seem to have much success though as the 64 bit version complains about my windows version whereas the 32 bit version complains about a “non-native or WoW environment” I’ll keep searching for solutions but there’s little chance I guess.
EDIT: The PSDK-amd64.exe seems to work although I have got an Intel CPU……
-
Huh, I used the SDK files straight from my XP partition, I’ll have to test actually installing it. Also, the PSDK-amd64.exe is just the 64 bit version of the SDK as far as I know; the amd is there just because the first 64 bit x86 processors were made by AMD.
-
Alright, did the same things you did but still using vs2010, however I now ran into this:
cl : Command line warning D4024: unrecognized source file type ‘ÿþ/’, object file assumed
and this:
LINK : fatal error LNK1181: cannot open input file ’ ■/.obj’
Seems pretty weird as I’m sure I don’t have a ■/.obj
-
Using CodeBlocks, I get this:
LINK||fatal error LNK1181: cannot open input file ‘…/source/libs/server.obj’|
||=== Build finished: 1 errors, 0 warnings ===|.lib includes are set up the same way as in the image posted by M0tah previously in this post.
-
Sounds like there’s something wrong with your paths then - make sure the path to the libs relative to the project files is correct. For example, if the Code::Blocks project is in src instead of a subdirectory you’ll need to adjust the paths to be ./source/libs/ *.lib (remove the leading .).
-
Hello there… M0tah (and community).
I was going to make a new post in starport, actually my first, but found this one and thought it fitted.
I currently have M0tah’s 1.6.7 FLHook code… I was planning to do big upgrade for FLHook actually (I just played up to now and I thought it would be fair to give something back to the community) but faced some issues, so I changed the plan to do something more simple and have been simplifying the approche up to the point of simply capturing FLHook process to feed TO and FROM it, but still faced a new issue.
Basically all my issues have been related to one thing only… and that is not being able to compile the code. I know this is not a code issue for sure so I was wondring if I could get help understanding what am I lacking.First of all, and before I ask anyting help on that… no one happends to have a c++.NET version project arround, don’t you?
Thanks and best regards,
-
M0tah wrote:
Sounds like there’s something wrong with your paths then - make sure the path to the libs relative to the project files is correct. For example, if the Code::Blocks project is in src instead of a subdirectory you’ll need to adjust the paths to be ./source/libs/ *.lib (remove the leading .).There is no server.obj anywhere
-
I was fool like Pinocchio
From folder project-vc9 of http://svn.the-starport.net/flhookplugin FLHook compiles like a charm with VS2008 C++ Express
Thx, Cannon!
-
Hello everyone,
I also have problems using FLHook 1.6.7.The fact is that the compilation works perfectly under MSVC++ Express 2007 | 2010 (Only got security warnings).
But the problem comes when I try to run FLHook, I think I’ve done everything good, but it doesn’t launch. Only FLServer runs…
The weirds thing, is that when I launch FLServer, and then FLHookStart, it tolds me that flserver.exe is not runningSo, is there a trick to solve that ?
(I didn’t succeed to compile FLHook under Code::Blocks, there were too many errors)Thanks
-
Tried M0tah’s instructions, got this.
–------------ Build: Debug Win32 in FLHook ---------------
cl : Command line error D2004 : ‘/W’ requires an argument
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warningsNo idea what went wrong.
-
Thanks. That’s one error down, one new one.
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\Windows.h|157|fatal error C1083: Cannot open include file: ‘excpt.h’: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|