Commit a3de90b 1 parent 80de622 commit a3de90b Copy full SHA for a3de90b
File tree 7 files changed +4
-4
lines changed
7 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ set wasmFlags=--target=wasm32^
15
15
-I%ORCA_DIR% /src/ext
16
16
17
17
:: build sample as wasm module and link it with the orca module
18
- clang %wasmFlags% -L %ORCA_DIR% /bin -lorca_wasm -o module.wasm src/main.c microui/microui.c
18
+ clang %wasmFlags% -L %ORCA_DIR% /bin -lorca_wasm -o module.wasm src/main.c src/ microui/microui.c
19
19
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
20
20
21
21
:: create app directory and copy files into it
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ wasmFlags=(--target=wasm32 \
15
15
-I " $ORCA_DIR " /src/ext)
16
16
17
17
# build sample as wasm module and link it with the orca module
18
- clang " ${wasmFlags[@]} " -L " $ORCA_DIR " /bin -lorca_wasm -o module.wasm src/main.c src/microui.c
18
+ clang " ${wasmFlags[@]} " -L " $ORCA_DIR " /bin -lorca_wasm -o module.wasm src/main.c src/microui/microui .c
19
19
20
20
# create app directory and copy files into it
21
21
orca bundle --name Microui --resource-dir data module.wasm
Original file line number Diff line number Diff line change 1
1
#include <stdio.h>
2
2
#include <orca.h>
3
- #include "microui.h"
3
+ #include "microui/microui .h"
4
4
5
5
static char logbuf [64000 ];
6
6
static int logbuf_updated = 0 ;
Original file line number Diff line number Diff line change 6
6
*
7
7
**************************************************************************/
8
8
#include <orca.h>
9
- #include "microui.h"
9
+ #include "microui/microui .h"
10
10
#include "demo.c"
11
11
12
12
oc_surface surface = { 0 };
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments