← All tasks
cppWerWolv/ImHex #8Not a task: not reproduced

Problem building on Ubuntu 20.04

envgap__WerWolv__ImHex-8

01 / FAILURE SIGNATURE

As reported upstream

/root/parts/imhex/src/source/views/view_disassembler.cpp:221:30: error: ‘CS_ARCH_M68K’ was not declared in this scope; did you mean ‘CS_ARCH_MAX’?
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
398e845e8db80a7f1cbcb657643d80a793e53ab9
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

WerWolv/ImHex #8 · read the original issue
Hi. Trying to build on a clean VM of Ubuntu 20.04. I'm building the latest stable (and master) and get the same.



```

[ 78%] Building CXX object CMakeFiles/ImHex.dir/libs/ImGui/source/imgui_draw.cpp.o

[ 81%] Building CXX object CMakeFiles/ImHex.dir/libs/ImGui/source/imgui_widgets.cpp.o

/root/parts/imhex/src/source/views/view_disassembler.cpp: In member function ‘virtual void hex::ViewDisassembler::createView()’:

/root/parts/imhex/src/source/views/view_disassembler.cpp:221:30: error: ‘CS_ARCH_M68K’ was not declared in this scope; did you mean ‘CS_ARCH_MAX’?

  221 |                         case CS_ARCH_M68K:

      |                              ^~~~~~~~~~~~

      |                              CS_ARCH_MAX

/root/parts/imhex/src/source/views/view_disassembler.cpp:222:30: error: ‘CS_ARCH_TMS320C64X’ was not declared in this scope

  222 |                         case CS_ARCH_TMS320C64X:

      |                              ^~~~~~~~~~~~~~~~~~

/root/parts/imhex/src/source/views/view_disassembler.cpp:223:30: error: ‘CS_ARCH_M680X’ was not declared in this scope; did you mean ‘CS_ARCH_MAX’?

  223 |                         case CS_ARCH_M680X:

      |                              ^~~~~~~~~~~~~

      |                              CS_ARCH_MAX

/root/parts/imhex/src/source/views/view_disassembler.cpp:224:30: error: ‘CS_ARCH_EVM’ was not declared in this scope; did you mean ‘CS_ARCH_ARM’?

  224 |                         case CS_ARCH_EVM:

      |                              ^~~~~~~~~~~

      |                              CS_ARCH_ARM

[ 84%] Building CXX object CMakeFiles/ImHex.dir/libs/ImGui/source/imgui_demo.cpp.o

make[2]: *** [CMakeFiles/ImHex.dir/build.make:323: CMakeFiles/ImHex.dir/source/views/view_disassembler.cpp.o] Error 1

```



I have the following dependencies installed:

```

      - libmagic-dev

      - libglfw3-dev

      - libssl-dev

      - llvm-10-dev

      - nlohmann-json3-dev

      - libcapstone-dev

      - python3-dev

      - pkg-config

      - libglm-dev

      - gcc-10

      - g++-10

```



Perhaps I'm missing something? Capstone related? The only thing I modified was to bodge it to use Python 3.8.5 rather than the explicitly specified 3.8.6 as Ubuntu doesn't have that. But I don't think that's related.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]