Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- hello.c:16:14: error: too few arguments to function call, single argument 'params' was not specified
- gyFileInit();
- ~~~~~~~~~~ ^
- /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_file_api.h:42:1: note: 'gyFileInit' declared here
- int gyFileInit(const GYFileInitParams*const params);
- ^
- hello.c:17:3: error: implicit declaration of function 'gySystemInit' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gySystemInit();
- ^
- hello.c:17:3: note: did you mean 'gySysInit'?
- /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_system_api.h:79:5: note: 'gySysInit' declared here
- int gySysInit(const GYSysInitParams*const params);
- ^
- hello.c:19:3: error: implicit declaration of function 'gyAudioInit' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyAudioInit();
- ^
- hello.c:19:3: note: did you mean 'gyAudInit'?
- /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_audio_api.h:37:5: note: 'gyAudInit' declared here
- int gyAudInit(void);
- ^
- hello.c:20:15: error: too few arguments to function call, single argument 'params' was not specified
- gyInputInit();
- ~~~~~~~~~~~ ^
- /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_input_api.h:112:1: note: 'gyInputInit' declared here
- int gyInputInit(const struct GYInputInitParams*const params);
- ^
- hello.c:21:3: error: implicit declaration of function 'gyNetworkInit' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyNetworkInit();
- ^
- hello.c:21:3: note: did you mean 'gyNetInit'?
- /mnt/c/dev/webasm/toolchain/emsdk/hello/gyro_net_api.h:22:17: note: 'gyNetInit' declared here
- int gyNetInit(const struct GYNetInitParams* params);
- ^
- hello.c:26:3: error: use of undeclared identifier 'gyUninitNetwork'
- gyUninitNetwork;
- ^
- hello.c:27:3: error: implicit declaration of function 'gyUninitInput' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyUninitInput();
- ^
- hello.c:28:3: error: implicit declaration of function 'gyUninitAudio' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyUninitAudio();
- ^
- hello.c:29:3: error: implicit declaration of function 'gyUninitTimer' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyUninitTimer();
- ^
- hello.c:30:3: error: implicit declaration of function 'gyUninitSystem' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyUninitSystem();
- ^
- hello.c:31:3: error: implicit declaration of function 'gyUninitFile' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyUninitFile();
- ^
- hello.c:31:3: note: did you mean 'gyUninitTimer'?
- hello.c:29:3: note: 'gyUninitTimer' declared here
- gyUninitTimer();
- ^
- hello.c:32:3: error: implicit declaration of function 'gyUninitDebug' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- gyUninitDebug();
- ^
- hello.c:32:3: note: did you mean 'gyUninitInput'?
- hello.c:27:3: note: 'gyUninitInput' declared here
- gyUninitInput();
- ^
- 12 errors generated.
- shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement