Hi
I converted my
test.st file to test.c file using snc but found following error while compiling the c file.
cc test.c -o test.o
test.c:7:21: error: seq_snc.h: No such file or directory
test.st:15: error: expected ‘)’ before ‘seqg_env’
test.st:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_event_volt_check_0_light_off’
test.st:22: error: expected ‘)’ before ‘seqg_env’
test.st:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_event_volt_check_0_light_on’
test.st:29: error: expected ‘)’ before ‘seqg_env’
test.st:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_chans’
test.st:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_mask_volt_check_0_light_off’
test.st:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_mask_volt_check_0_light_on’
test.st:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_states_volt_check’
test.st:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘seqg_statesets’
test.st:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘test’
test.st:96:25: error: epicsExport.h: No such file or directory
test.st: In function ‘testRegistrar’:
test.st:99: error: ‘test’ undeclared (first use in this function)
test.st:99: error: (Each undeclared identifier is reported only once
test.st:99: error: for each function it appears in.)
test.st: At top level:
test.st:101: warning: data definition has no type or storage class
test.st:101: warning: parameter names (without types) in function declaration
Any suggestion how to include the seq_snc.h in order to remove the problem. I can see seq_snl.h file in my include directory of seq-2.2.2