Thank you for commenting. I now use Shade-C EVO but have the same problem. Also the documentation for Shade-C EVO seems to be gone compared to the Shade-C beta (the only readme I can find has ~6 lines of text), so I don't know if I am including the right stuff.

Code:
///////////////////////////////
#define PRAGMA_PATH "shadec"

#include <d3d9.h>
#include <acknex.h>
#include <mtlFX.c>
#include <mtlView.c>
#include "sc_core.c";
#include <default.c>

...
...

function main()
{
...
sc_setup(); //setup Shade-C
...
}