ssj71 / infamousPlugins

LV2 Audio Plugins for Linux
http://ssj71.github.io/infamousPlugins
GNU General Public License v2.0
88 stars 12 forks source link

infamous-rule fails to build #14

Closed falkTX closed 9 years ago

falkTX commented 9 years ago

In src/rule.c you're using uint*_t types, but you do not include 'stdint.h' needed to use those. This results in:

src/rule.c:4:16: error: unknown type name 'uint8_t'
 void ruleprint(uint8_t x)
                ^
src/rule.c:15:15: error: unknown type name 'uint32_t'
 void binprint(uint32_t x, uint8_t n)
               ^
src/rule.c:15:27: error: unknown type name 'uint8_t'
 void binprint(uint32_t x, uint8_t n)
                           ^
src/rule.c:44:20: error: unknown type name 'int8_t'
 int main(int argc, int8_t **argv)

Easy to fix:

--- infamous-plugins-0.1.1.orig/src/rule.c
+++ infamous-plugins-0.1.1/src/rule.c
@@ -1,5 +1,6 @@
 #include<unistd.h>
 #include<stdio.h>
+#include<stdint.h>

 void ruleprint(uint8_t x)
 {
ssj71 commented 9 years ago

Duplicate of #13. Already resolved in master. Thanks. And sorry about that.