[LINUX] Compiling a .so
#1

Hello,
I've recently made a plugin for the gamemode I am making. I have hit a brick wall. The server we have planned to get will run on Linux...

...So I ask, how do I compile into a .so file using DevC++.

I've seen people post this:
Code:
-DLINUX -Iamx/
But it don't work... I assume it's for a different Compiler?

Any help is appreciated,

Thank you,

Stephen
Reply
#2

Code:
-D LINUX -Iamx/
correct?
Reply
#3

Ok, I went and got Linux, downloaded KDevelop, and started moving the plugin over. Main problem I have now is that I get this error:

Code:
:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Load'
Here is line 75:

Code:
PLUGIN_EXPORT bool PLUGIN_CALL Load( void **ppData )
Any help is appreciated,

Thanks

PS: I think it means that Load() isn't defined? Maybe...

Stephen
Reply
#4

No, I did not ask to go and have to read a billion pages of stuff, I only want to know what this problem is, can that be so hard to answer?

I mean, If you knew the answer, why hold it back, I believe the forums are supposed to be a helpful tool, but when you say, "Oh, I have the answer, but you can go read a book of stuff you'll never use, to find one or two things your doing wrong."

Either answer the question, or don't post, I'm trying not to be a dick... But I hate it when people "Beat around the bush".

Thanks Stephen
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)