Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.20 KB | None | 0 0
  1. emcc hello.c -D GYRO_PLATFORM=GYRO_PLATFORM_Web -L /mnt/c/dev/webasm/toolchain/emsdk/hello/libGyro/ -I /mnt/c/dev/webasm/toolchain/emsdk/hello/ -s WASM=1 -o hello_console.o
  2. hello.c:16:14: error: too few arguments to function call, single argument 'params' was not specified
  3.   gyFileInit();
  4.   ~~~~~~~~~~ ^
  5. /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_file_api.h:42:1: note: 'gyFileInit' declared here
  6. int gyFileInit(const GYFileInitParams*const params);
  7. ^
  8. hello.c:17:3: error: implicit declaration of function 'gySystemInit' is invalid in C99
  9.       [-Werror,-Wimplicit-function-declaration]
  10.   gySystemInit();
  11.   ^
  12. hello.c:17:3: note: did you mean 'gySysInit'?
  13. /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_system_api.h:79:5: note: 'gySysInit' declared here
  14. int gySysInit(const GYSysInitParams*const params);
  15.     ^
  16. hello.c:19:3: error: implicit declaration of function 'gyAudioInit' is invalid in C99
  17.       [-Werror,-Wimplicit-function-declaration]
  18.   gyAudioInit();
  19.   ^
  20. hello.c:19:3: note: did you mean 'gyAudInit'?
  21. /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_audio_api.h:37:5: note: 'gyAudInit' declared here
  22. int gyAudInit(void);
  23.     ^
  24. hello.c:20:15: error: too few arguments to function call, single argument 'params' was not specified
  25.   gyInputInit();
  26.   ~~~~~~~~~~~ ^
  27. /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_input_api.h:112:1: note: 'gyInputInit' declared here
  28. int         gyInputInit(const struct GYInputInitParams*const params);
  29. ^
  30. hello.c:21:3: error: implicit declaration of function 'gyNetworkInit' is invalid in C99
  31.       [-Werror,-Wimplicit-function-declaration]
  32.   gyNetworkInit();
  33.   ^
  34. hello.c:21:3: note: did you mean 'gyNetInit'?
  35. /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_net_api.h:22:17: note: 'gyNetInit' declared here
  36. int             gyNetInit(const struct GYNetInitParams* params);
  37.                 ^
  38. hello.c:26:3: error: use of undeclared identifier 'gyUninitNetwork'
  39.   gyUninitNetwork;
  40.   ^
  41. hello.c:27:3: error: implicit declaration of function 'gyUninitInput' is invalid in C99
  42.       [-Werror,-Wimplicit-function-declaration]
  43.   gyUninitInput();
  44.   ^
  45. hello.c:28:3: error: implicit declaration of function 'gyUninitAudio' is invalid in C99
  46.       [-Werror,-Wimplicit-function-declaration]
  47.   gyUninitAudio();
  48.   ^
  49. hello.c:29:3: error: implicit declaration of function 'gyUninitTimer' is invalid in C99
  50.       [-Werror,-Wimplicit-function-declaration]
  51.   gyUninitTimer();
  52.   ^
  53. hello.c:30:3: error: implicit declaration of function 'gyUninitSystem' is invalid in C99
  54.       [-Werror,-Wimplicit-function-declaration]
  55.   gyUninitSystem();
  56.   ^
  57. hello.c:31:3: error: implicit declaration of function 'gyUninitFile' is invalid in C99
  58.       [-Werror,-Wimplicit-function-declaration]
  59.   gyUninitFile();
  60.   ^
  61. hello.c:31:3: note: did you mean 'gyUninitTimer'?
  62. hello.c:29:3: note: 'gyUninitTimer' declared here
  63.   gyUninitTimer();
  64.   ^
  65. hello.c:32:3: error: implicit declaration of function 'gyUninitDebug' is invalid in C99
  66.       [-Werror,-Wimplicit-function-declaration]
  67.   gyUninitDebug();
  68.   ^
  69. hello.c:32:3: note: did you mean 'gyUninitInput'?
  70. hello.c:27:3: note: 'gyUninitInput' declared here
  71.   gyUninitInput();
  72.   ^
  73. 12 errors generated.
  74. shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement