- Nov
- 11
- 0
I'm working on a small plugin. At first I couldn't even get my plugin code to compile as the TakeCmd.h file included in the SDK (a freshly downloaded copy) is broken. In line 887 a semicolon is missing. After adding that, my code compiled.
I then added a few more bits and pieces and ran into strange linker errors, for functions GetLine and NthArgument.
After a lot of googling I found that some prototypes in the header file seem to be wrong. After more googling I was able to correct them and I now have a plugin that compiles and, so far, seems to work.
However, the fact that the plugin SDK (or one of the included header files) is so obviously broken is pretty disappointing. Getting a header file to compile is not exactly rocket science, is it?
I then added a few more bits and pieces and ran into strange linker errors, for functions GetLine and NthArgument.
After a lot of googling I found that some prototypes in the header file seem to be wrong. After more googling I was able to correct them and I now have a plugin that compiles and, so far, seems to work.
However, the fact that the plugin SDK (or one of the included header files) is so obviously broken is pretty disappointing. Getting a header file to compile is not exactly rocket science, is it?