-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Simple example: http://foo.wyrd.name/en:bearlibterminal#documentation
I am currently attempting to compile this with
g++ -I. -L./libBearLibTerminal.so main2.cpp -o app2.exe
however I obtain some errors such as
/usr/bin/ld: /tmp/ccKM74Fy.o: in function `main':
main2.cpp:(.text+0x5): undefined reference to `terminal_open'
/usr/bin/ld: main2.cpp:(.text+0x20): undefined reference to `terminal_refresh'
/usr/bin/ld: main2.cpp:(.text+0x25): undefined reference to `terminal_read'
/usr/bin/ld: main2.cpp:(.text+0x38): undefined reference to `terminal_close'
/usr/bin/ld: /tmp/ccKM74Fy.o: in function `terminal_print(int, int, char const*)':
main2.cpp:(.text._Z14terminal_printiiPKc[_Z14terminal_printiiPKc]+0x40): undefined reference to `terminal_print_ext8'
collect2: error: ld returned 1 exit status
I assumed these symbols would be contained in the file libBearLibTerminal.so, but apparently not.
I created the .so and .h by compiling this repository using cmake .; make
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels