0

I am converting a speexdecoder code to C in alchemy. The problem is that i am importing a header file #include <speex/speex.h>. Alchemy gcc gives an error that speex.h not found.

I have placed the speex directory where my C code is.

Gunslinger47
  • 7,001
  • 2
  • 21
  • 29
karthick
  • 11,998
  • 6
  • 56
  • 88

1 Answers1

1

If the folder is local to your source, you shouldn't be using brackets (which tells the compiler to look for the sources in the standard system folders). You should be using quotes:

#include "speex/speex.h"

Note that this isn't anything peculiar to Alchemy-- regular gcc works the same way.

Community
  • 1
  • 1
paleozogt
  • 6,393
  • 11
  • 51
  • 94