in reply to Module distribution and Inline::C
Ha. I got it. I needed the AUTO_INCLUDE directive, and not just for the .h, but for the .c as well. Here is the final result.
use Inline C => 'DATA', LIBS => '-logg -lvorbis -lvorbisfile', INC => '-I/inc', AUTO_INCLUDE => '#include "inc/vcedit.h"', AUTO_INCLUDE => '#include "inc/vcedit.c"', VERSION => '0.01', NAME => 'Ogg::Vorbis::Info';
Anyone think this is worth a categorized question(once I hit scribe)? I know it isn't a common question but the available docs are rather hazy on what AUTO_INCLUDE means and don't mention you need to include not only the header file but the source file.
If it is worth a catq, what category? Should there be a category for Inline:: issues?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Module distribution and Inline::C
by diotalevi (Canon) on Sep 25, 2002 at 12:44 UTC |