0
0

hi,

this may be a noob question. when importing/including the c header file generated by the fmod designer I always run into the following trouble.

when the header is imported from several files the linker always reports a "duplicate symbol EVENTCOUNT_xyz".

From what I understand the #ifndef in the header should prevent this problem but it doesn’t.

Thanks,
Fares

  • You must to post comments
0
0

[quote:1rxpb4ek]From what I understand the #ifndef in the header should prevent this problem but it doesn’t. [/quote:1rxpb4ek]
Yes, the include guards prevent multiply defined symbol errors arising from including a file multiple times. Are you getting this error for every define in the generated header or just a few? It is possible for designer to generate a header with multiply defined symbols in it.

-Pete

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.