Skip to content

Can't compile sample when UI installed via nimble #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
R3D9477 opened this issue Apr 4, 2018 · 3 comments
Closed

Can't compile sample when UI installed via nimble #13

R3D9477 opened this issue Apr 4, 2018 · 3 comments

Comments

@R3D9477
Copy link

R3D9477 commented Apr 4, 2018

Hi. I tried to run samples from README. It works fine, if ui installed via git (section "UI"). But if try to run sample from section "Using the wrapper" (with ui installed via nimble: nimble install ui), I got exception same in another issue.

Files tree:

./libui
./sample1
./sample1/main.nim

Cmd:

nim c -r sample1/main.nim

Exception:

Hint: used config file '/etc/nim.cfg' [Conf]
Hint: system [Processing]
Hint: main [Processing]
Hint: ui [Processing]
Hint: rawui [Processing]
Hint: math [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: algorithm [Processing]
Hint:  [Link]
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `init_tlt2bs7bH8plubMOoOijpQ':
ui_ui.c:(.text+0x666): undefined reference to `uiInit'
ui_ui.c:(.text+0x6f8): undefined reference to `uiFreeInitError'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `quit_tlt2bs7bH8plubMOoOijpQ_2':
ui_ui.c:(.text+0x837): undefined reference to `uiQuit'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `mainLoop_tlt2bs7bH8plubMOoOijpQ_3':
ui_ui.c:(.text+0x8a9): undefined reference to `uiMain'
ui_ui.c:(.text+0x8be): undefined reference to `uiUninit'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `pollingMainLoop_ZL69atCe0uHFE09aJqPP9a3tg':
ui_ui.c:(.text+0x949): undefined reference to `uiMainSteps'
ui_ui.c:(.text+0x9b6): undefined reference to `uiMainStep'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `text_eyjZxKvbEyBTGEiYHqmR8A':
ui_ui.c:(.text+0xb42): undefined reference to `uiButtonText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `texteq__RpfkuWV6ImppEo25sHR74Q':
ui_ui.c:(.text+0xbe9): undefined reference to `uiButtonSetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newButton_U0l3re8S9aw39cZRR9bU9actaQ':
ui_ui.c:(.text+0xcfa): undefined reference to `uiNewButton'
ui_ui.c:(.text+0xd2e): undefined reference to `uiButtonOnClicked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `add_Hm9bkulAAbw6D77K9bYaLvEg':
ui_ui.c:(.text+0xef6): undefined reference to `uiRadioButtonsAppend'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `radioButtonsSelected_ON5EyM5Y9bagrf9bK8iQZsbw':
ui_ui.c:(.text+0xf86): undefined reference to `uiRadioButtonsSelected'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newRadioButtons_LEFRQ2zWGwZgJqBTsFMpRg':
ui_ui.c:(.text+0x1080): undefined reference to `uiNewRadioButtons'
ui_ui.c:(.text+0x10b4): undefined reference to `uiRadioButtonsOnSelected'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `title_9a5SzM39cJGCZLgVCdGQ9cLsA':
ui_ui.c:(.text+0x118b): undefined reference to `uiWindowTitle'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `titleeq__dE4tdl2pHxx7i4AutGwJGA':
ui_ui.c:(.text+0x1232): undefined reference to `uiWindowSetTitle'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `destroy_afaoaEIZ8zbiWjbHA9cszXg':
ui_ui.c:(.text+0x12c3): undefined reference to `uiControlDestroy'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `onclosingWrapper_WCFiATx6CeWWdVxmR9cyMmw':
ui_ui.c:(.text+0x141a): undefined reference to `uiControlDestroy'
ui_ui.c:(.text+0x142f): undefined reference to `uiQuit'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newWindow_xYgCIfHLmkr6oBxM9bMLoDg':
ui_ui.c:(.text+0x161c): undefined reference to `uiNewWindow'
ui_ui.c:(.text+0x1650): undefined reference to `uiWindowOnClosing'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `margined_ufZt4isGAlyBIN9bn1lxC8A':
ui_ui.c:(.text+0x1706): undefined reference to `uiWindowMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `marginedeq__MZP1cKjbzw6o0t2YW0xFvg':
ui_ui.c:(.text+0x17a2): undefined reference to `uiWindowSetMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `openFile_vNu6SVPuGvjpxZTg6Ip5xw':
ui_ui.c:(.text+0x182b): undefined reference to `uiOpenFile'
ui_ui.c:(.text+0x18a9): undefined reference to `uiFreeText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `saveFile_vNu6SVPuGvjpxZTg6Ip5xw_2':
ui_ui.c:(.text+0x1938): undefined reference to `uiSaveFile'
ui_ui.c:(.text+0x19b6): undefined reference to `uiFreeText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `msgBox_d0kdkR0RIn7mbm5A8GUFAw':
ui_ui.c:(.text+0x1a58): undefined reference to `uiMsgBox'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `msgBoxError_d0kdkR0RIn7mbm5A8GUFAw_2':
ui_ui.c:(.text+0x1af4): undefined reference to `uiMsgBoxError'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `delete_7SM1m9cZOvC0d9bpvR7RBHqw':
ui_ui.c:(.text+0x1b95): undefined reference to `uiBoxDelete'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `padded_Wnyxu4EfUuiCLJ0EBiZyfw':
ui_ui.c:(.text+0x1c41): undefined reference to `uiBoxPadded'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `paddedeq__swjeWcLU0TtMtZWfLEK4Jw':
ui_ui.c:(.text+0x1cdd): undefined reference to `uiBoxSetPadded'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newHorizontalBox_Z2UMSzB4XzkJG69cZtucxLw':
ui_ui.c:(.text+0x1eaf): undefined reference to `uiNewHorizontalBox'
ui_ui.c:(.text+0x1f33): undefined reference to `uiBoxSetPadded'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newVerticalBox_Z2UMSzB4XzkJG69cZtucxLw_2':
ui_ui.c:(.text+0x1fe3): undefined reference to `uiNewVerticalBox'
ui_ui.c:(.text+0x2067): undefined reference to `uiBoxSetPadded'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `text_r4h1eLcv2LX71MP7qkGvpw':
ui_ui.c:(.text+0x20fb): undefined reference to `uiCheckboxText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `texteq__j9bZusAk1vc5CGW0td3njRA':
ui_ui.c:(.text+0x21a2): undefined reference to `uiCheckboxSetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `checked_MpJ8Lb9bvOXznyadht39cpFw':
ui_ui.c:(.text+0x2350): undefined reference to `uiCheckboxChecked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `checkedeq__Wkos02vDjk8P1WRG9adqovw':
ui_ui.c:(.text+0x23ec): undefined reference to `uiCheckboxSetChecked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newCheckbox_fN30WtQcBRF15JLkCHN2Xg':
ui_ui.c:(.text+0x24e6): undefined reference to `uiNewCheckbox'
ui_ui.c:(.text+0x254d): undefined reference to `uiCheckboxOnToggled'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `text_Op0uvYE7tBoT10DK3Kc88A':
ui_ui.c:(.text+0x25e1): undefined reference to `uiEntryText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `texteq__EjcKKPBfZmuwuSsL3uftNQ':
ui_ui.c:(.text+0x2688): undefined reference to `uiEntrySetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `readOnly_pJiO8w1MLQVuJLvjet7lsw':
ui_ui.c:(.text+0x2836): undefined reference to `uiEntryReadOnly'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `readOnlyeq__vQw35iFF9c4JN3Ft9axMq09cw':
ui_ui.c:(.text+0x28d2): undefined reference to `uiEntrySetReadOnly'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newEntry_Y6MTYHUbhKxTgiiw706zzQ':
ui_ui.c:(.text+0x29c1): undefined reference to `uiNewEntry'
ui_ui.c:(.text+0x29f5): undefined reference to `uiEntryOnChanged'
ui_ui.c:(.text+0x2a53): undefined reference to `uiEntrySetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `text_eEjPnP2B1a5dkPDPdVOxmQ':
ui_ui.c:(.text+0x2ae7): undefined reference to `uiLabelText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `texteq__n56gB6n7stx6jSBmXE9bKMA':
ui_ui.c:(.text+0x2b8e): undefined reference to `uiLabelSetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newLabel_FE8sg51U80pTmFJ2ktPlqw':
ui_ui.c:(.text+0x2c5c): undefined reference to `uiNewLabel'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `delete_SS6TyT9a7d9alrmNgu746ACg':
ui_ui.c:(.text+0x2d0b): undefined reference to `uiTabDelete'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `numPages_kJqimgXG1wUMVBlheUgLhw':
ui_ui.c:(.text+0x2ddc): undefined reference to `uiTabNumPages'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `margined_49cTQ3T8X6YfjiTqWVyZ46A':
ui_ui.c:(.text+0x2eb7): undefined reference to `uiTabMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `marginedeq__IT9bPL9b2aAtK9bUgj79bRIAUQ':
ui_ui.c:(.text+0x2f74): undefined reference to `uiTabSetMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newTab_JaMX8LWrwKGVE6m8wOUrmA':
ui_ui.c:(.text+0x3053): undefined reference to `uiNewTab'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `title_QVHz00wXHfh4za9cD7Fw2Sg':
ui_ui.c:(.text+0x3145): undefined reference to `uiGroupTitle'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `titleeq__ABg3Pj6ub1BsGpXGBjDARA':
ui_ui.c:(.text+0x31ec): undefined reference to `uiGroupSetTitle'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `margined_C6G39caIiyiTSVtvYLa2m6Q':
ui_ui.c:(.text+0x3298): undefined reference to `uiGroupMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `marginedeq__JkYurgJv8U9aj2Y9a3dlgaZw':
ui_ui.c:(.text+0x3334): undefined reference to `uiGroupSetMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newGroup_gpxVfBtlAPlzDwmAzbAavw':
ui_ui.c:(.text+0x3422): undefined reference to `uiNewGroup'
ui_ui.c:(.text+0x3453): undefined reference to `uiGroupSetMargined'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `value_C21eg8AdvL8bm17dcrVIMQ':
ui_ui.c:(.text+0x34e6): undefined reference to `uiSpinboxValue'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `valueeq__XoS9bKlUlbgI7onBarKqGjg':
ui_ui.c:(.text+0x3596): undefined reference to `uiSpinboxSetValue'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newSpinbox_d9bKwlbCC7aM12UuRvERwtQ':
ui_ui.c:(.text+0x37df): undefined reference to `uiNewSpinbox'
ui_ui.c:(.text+0x3813): undefined reference to `uiSpinboxOnChanged'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `value_9b9cvjpNHW0BGv3Ntpnc5hBQ':
ui_ui.c:(.text+0x38de): undefined reference to `uiSliderValue'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `valueeq__s7m6GR3H7fOO0ehR9angmvQ':
ui_ui.c:(.text+0x398e): undefined reference to `uiSliderSetValue'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newSlider_VEjNfnkVt09bN8CIiPdB9bIw':
ui_ui.c:(.text+0x3bd7): undefined reference to `uiNewSlider'
ui_ui.c:(.text+0x3c0b): undefined reference to `uiSliderOnChanged'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `valueeq__HtLoGnU2AZMouKx3fbvPOw':
ui_ui.c:(.text+0x3ce7): undefined reference to `uiProgressBarSetValue'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newProgressBar_d9bztJhrfflkUf9c42U7qr9bg':
ui_ui.c:(.text+0x3da6): undefined reference to `uiNewProgressBar'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newHorizontalSeparator_kBsAa2V69cyuq9agK1XRrjag':
ui_ui.c:(.text+0x3e73): undefined reference to `uiNewHorizontalSeparator'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `add_rndb8pYBNvd1gZBKPCjJNA':
ui_ui.c:(.text+0x3f11): undefined reference to `uiComboboxAppend'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `selected_LuhWscL4Zv7gtcmtUuoM1w':
ui_ui.c:(.text+0x3fa1): undefined reference to `uiComboboxSelected'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `selectedeq__opKFsqhTYGEWQhoJmMdCOA':
ui_ui.c:(.text+0x4051): undefined reference to `uiComboboxSetSelected'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newCombobox_KBkURpxsv5xg4P0NtM9bdhQ':
ui_ui.c:(.text+0x423e): undefined reference to `uiNewCombobox'
ui_ui.c:(.text+0x42a5): undefined reference to `uiComboboxOnSelected'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `add_mtByKXJmTDFg9a4MFoqBmQQ':
ui_ui.c:(.text+0x4338): undefined reference to `uiEditableComboboxAppend'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `text_fnKofBwfvGQjIFfWivZTOw':
ui_ui.c:(.text+0x43c9): undefined reference to `uiEditableComboboxText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `texteq__mtByKXJmTDFg9a4MFoqBmQQ_2':
ui_ui.c:(.text+0x4470): undefined reference to `uiEditableComboboxSetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newEditableCombobox_N1PikjkUxYirzbwFJiSlqw':
ui_ui.c:(.text+0x465d): undefined reference to `uiNewEditableCombobox'
ui_ui.c:(.text+0x46c4): undefined reference to `uiEditableComboboxOnChanged'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `text_xJZ2LsQ9aFOzMLBCYNFYeUw':
ui_ui.c:(.text+0x4758): undefined reference to `uiMultilineEntryText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `texteq__jgMOfHOPbl0d24ziBgqzXg':
ui_ui.c:(.text+0x47ff): undefined reference to `uiMultilineEntrySetText'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `add_jgMOfHOPbl0d24ziBgqzXg_2':
ui_ui.c:(.text+0x488f): undefined reference to `uiMultilineEntryAppend'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `readonly_7oJBBpygr5gyJLMhz9c9caLQ':
ui_ui.c:(.text+0x4a3d): undefined reference to `uiMultilineEntryReadOnly'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `readonlyeq__AV3l2dLbcYPwyPLr36zQgQ':
ui_ui.c:(.text+0x4ad9): undefined reference to `uiMultilineEntrySetReadOnly'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newMultilineEntry_YBk61kkugcVO9cl1pmGnTgA':
ui_ui.c:(.text+0x4bb3): undefined reference to `uiNewMultilineEntry'
ui_ui.c:(.text+0x4be7): undefined reference to `uiMultilineEntryOnChanged'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newNonWrappingMultilineEntry_YBk61kkugcVO9cl1pmGnTgA_2':
ui_ui.c:(.text+0x4c92): undefined reference to `uiNewNonWrappingMultilineEntry'
ui_ui.c:(.text+0x4cc6): undefined reference to `uiMultilineEntryOnChanged'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `enable_0nGVBpMhIBu4ephr3WcwPQ':
ui_ui.c:(.text+0x4d4a): undefined reference to `uiMenuItemEnable'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `disable_0nGVBpMhIBu4ephr3WcwPQ_2':
ui_ui.c:(.text+0x4dcb): undefined reference to `uiMenuItemDisable'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `checked_RsIp4jHB59cJve7By7LUa3Q':
ui_ui.c:(.text+0x4f7d): undefined reference to `uiMenuItemChecked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `checkedeq__P54vtBJR9b7GQDEmjdx47jg':
ui_ui.c:(.text+0x5019): undefined reference to `uiMenuItemSetChecked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `addItem_ScpuCEjgI8wvdIAjehPGug':
ui_ui.c:(.text+0x5119): undefined reference to `uiMenuAppendItem'
ui_ui.c:(.text+0x514d): undefined reference to `uiMenuItemOnClicked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `addCheckItem_ScpuCEjgI8wvdIAjehPGug_2':
ui_ui.c:(.text+0x52bd): undefined reference to `uiMenuAppendCheckItem'
ui_ui.c:(.text+0x52f1): undefined reference to `uiMenuItemOnClicked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `addQuitItem_v39bQSIr0amqMhHQE7rDYsA':
ui_ui.c:(.text+0x558e): undefined reference to `uiMenuAppendQuitItem'
ui_ui.c:(.text+0x5697): undefined reference to `uiOnShouldQuit'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `addPreferencesItem_BECLaIYAwsrCUbzdZz2BQw':
ui_ui.c:(.text+0x5762): undefined reference to `uiMenuAppendPreferencesItem'
ui_ui.c:(.text+0x5796): undefined reference to `uiMenuItemOnClicked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `addAboutItem_BECLaIYAwsrCUbzdZz2BQw_2':
ui_ui.c:(.text+0x5900): undefined reference to `uiMenuAppendAboutItem'
ui_ui.c:(.text+0x5934): undefined reference to `uiMenuItemOnClicked'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `addSeparator_4ylFyOvFLF9cdpuuk9auTIYA':
ui_ui.c:(.text+0x5a57): undefined reference to `uiMenuAppendSeparator'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `newMenu_7E8zQ8gsJaI1zx9b8FhImlA':
ui_ui.c:(.text+0x5b9e): undefined reference to `uiNewMenu'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `setChild_zWlfjhDPmFgM0xM3O3QwTQ':
ui_ui.c:(.text+0x5c9f): undefined reference to `uiWindowSetChild'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `add_HT2PzpthepYYpw1uJUDiHw':
ui_ui.c:(.text+0x5d6f): undefined reference to `uiBoxAppend'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `childeq__Au9bKWg7lpkVN2yUwyg44yA':
ui_ui.c:(.text+0x5e8b): undefined reference to `uiGroupSetChild'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `add_WN3oAfArmS7zlUwBc1XOsA':
ui_ui.c:(.text+0x5f5b): undefined reference to `uiBoxAppend'
/media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o: In function `show_afaoaEIZ8zbiWjbHA9cszXg_2':
ui_ui.c:(.text+0x6068): undefined reference to `uiControlShow'
collect2: error: ld returned 1 exit status
Error: execution of an external program failed: 'gcc   -o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/main  /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/main.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/stdlib_system.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_ui.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/ui_rawui.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/stdlib_math.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/stdlib_strutils.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/stdlib_parseutils.o /media/data/home/user/Prog-Experiments/Nim/nim_libui/smpl1/nimcache/stdlib_algorithm.o  -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0   -ldl'
@dom96
Copy link
Contributor

dom96 commented Apr 4, 2018

Try grabbing the branch I just pushed, you should be able to install it via:

nimble install ui@#nimble-fixes

(Note you may need to escape the # in your shell.)

The examples should then compile.

@Araq Araq closed this as completed in ace0198 Apr 4, 2018
Araq added a commit that referenced this issue Apr 4, 2018
Fixes #11. Fixes #13. Should be installable via Nimble now.
@R3D9477
Copy link
Author

R3D9477 commented Apr 4, 2018

@dom96 @Araq Thanks, works fine now!

@retsyo
Copy link

retsyo commented Mar 15, 2022

the problem is still there for latest nim and ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants