Skip to content

Instantly share code, notes, and snippets.

@StarrFox
Created November 7, 2022 00:23
Show Gist options
  • Save StarrFox/593f64a7c2bf4589d5bcbd1b5cae96b3 to your computer and use it in GitHub Desktop.
Save StarrFox/593f64a7c2bf4589d5bcbd1b5cae96b3 to your computer and use it in GitHub Desktop.
nim cpp --app:lib -d:release --threads:on imhex_plugin_test.nim
Hint: used config file '/home/starr/.choosenim/toolchains/nim-1.6.2/config/nim.cfg' [Conf]
Hint: used config file '/home/starr/.choosenim/toolchains/nim-1.6.2/config/config.nims' [Conf]
................................................................
CC: imhex_plugin_test.nim
/home/starr/.cache/nim/imhex_plugin_test_r/@mimhex_plugin_test.nim.cpp: In function ‘void initializePlugin()’:
/home/starr/.cache/nim/imhex_plugin_test_r/@mimhex_plugin_test.nim.cpp:90:18: error: request for member ‘Dl_469762049_’ in ‘true’, which is of non-class type ‘bool’
90 | NIM_TRUE.Dl_469762049_();
| ^~~~~~~~~~~~~
Error: execution of an external compiler program 'g++ -c -std=gnu++14 -funsigned-char -w -fmax-errors=3 -fpermissive -pthread -O3 -fno-strict-aliasing -fno-ident -fPIC -I/home/starr/.choosenim/toolchains/nim-1.6.2/lib -I/home/starr/code/nim/imhex_plugin_test -o /home/starr/.cache/nim/imhex_plugin_test_r/@mimhex_plugin_test.nim.cpp.o /home/starr/.cache/nim/imhex_plugin_test_r/@mimhex_plugin_test.nim.cpp' failed with exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment