View Single Post
Old 12th June 2006, 07:37 PM   #4
conzar
Member
Advanced member
 
conzar's Avatar
 
Join Date: May 2006
Posts: 36
Default Re: Developing a Exporter/Importer

Ok. I finally got this working.

Your code is C++ not C. So gcc is no help here. You gotta use g++ in linux.
The compile error above is complaining about declaring a variable in a for loop. You can't do that in C --- I should have spotted that earlier.

So here are the steps to compile, link, and load a plugin for Linux.
prog = your program name
Also, make sure the header files are in the same directory as your source.

Code:
g++ -c  prog.c
ld -shared prog.o -o prog.p
cp prog.p <ac3d_home>/plugins/.
start up ac3d and your done.

Last edited by conzar; 12th June 2006 at 08:19 PM.
conzar is offline   Reply With Quote