How do you compile a plugin?

How do you compile a plugin .c file into a .dll file?

http://www-users.cs.umn.edu/~mein/blender/plugins/

%<

When I type lcc in DOS it does not recognisable.

lcc probably isn’t in your path… try this tut for the gui:
http://paladium.topcities.com/lcc2.htm

its an old tut and the gui has changed a bit but if you follow it and fill in the right blanks it works

It asks me for a .rc and a .h file and fails if I leave the fields blank.

heh…just checked and my version of lcc is over a year old…
I have no idea about the .rc file, my version never asked for one.

did you put the full path to plugins/include in the compiler options?

where did it ask for them and what .h file did it ask for?

If I find time I will update my lcc and see what has changed…

Here is a screenshot of what opens when I run lcc: Screenshot
It springs an error if any of the fields are left blank.
And also how do I add lcc to my path? [Edit] I have added lcc to my path. I had forgoten to add the \bin.
Now I have another problem: my blender instal doesn’t have a plugins directory or a seq.def file :frowning: where are they and If they have been removed in new blender versions what do I use instead? It requires them on the

lcclnk -DLL sweep.obj c:\blender\plugins\include\seq.def

line.

http://www-users.cs.umn.edu/~mein/blender/plugins/include/

I get this error: Missing export

first of all, under type of application, you have to check the DLL radio button-you’re making a dll not a single window app.

I know that was just a screenshot of what first comes up. Plus I would prefer to use DOS

Hello, look at http://www.hdl.co.za/donn/#foo I make this when I compile the water plugin by Donn(Biggles on Elysiun)

Thanks! It worked when I put it in lcc\blender\includes.

Hello, do you have any plugin project?