Skip to content
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

Build fails with: unresolved external symbol BPF_getFeature. #2585

Open
PROMPTYLOL opened this issue Dec 18, 2024 · 0 comments · May be fixed by #2587
Open

Build fails with: unresolved external symbol BPF_getFeature. #2585

PROMPTYLOL opened this issue Dec 18, 2024 · 0 comments · May be fixed by #2587
Labels
bug Something is not working as it should build & packaging Build system and packaging related Windows

Comments

@PROMPTYLOL
Copy link

PROMPTYLOL commented Dec 18, 2024

Questions Answers
OS/arch/bits Windows 10
Architecture x64
Source of Capstone Downloading the zip
Version/git commit V6

Expected behavior

for it to work?

Actual behavior

Build log
F:\Trusted\Decompilers\capstone-next\capstone-next>cmake.exe -B build
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.42.34435.0
-- The CXX compiler identification is MSVC 19.42.34435.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: F:/Software/6. VS/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: F:/Software/6. VS/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test SUPPORTS_MU
-- Performing Test SUPPORTS_MU - Failed
-- Performing Test SUPPORTS_SHADOWING
-- Performing Test SUPPORTS_SHADOWING - Failed
-- Performing Test SUPPORTS_SUNINIT
-- Performing Test SUPPORTS_SUNINIT - Failed
Enabling CAPSTONE_ARM_SUPPORT
Enabling CAPSTONE_AARCH64_SUPPORT
Enabling CAPSTONE_M68K_SUPPORT
Enabling CAPSTONE_MIPS_SUPPORT
Enabling CAPSTONE_PPC_SUPPORT
Enabling CAPSTONE_SPARC_SUPPORT
Enabling CAPSTONE_SYSTEMZ_SUPPORT
Enabling CAPSTONE_XCORE_SUPPORT
Enabling CAPSTONE_X86_SUPPORT
Enabling CAPSTONE_TMS320C64X_SUPPORT
Enabling CAPSTONE_M680X_SUPPORT
Enabling CAPSTONE_EVM_SUPPORT
Enabling CAPSTONE_MOS65XX_SUPPORT
Enabling CAPSTONE_WASM_SUPPORT
Enabling CAPSTONE_BPF_SUPPORT
Enabling CAPSTONE_RISCV_SUPPORT
Enabling CAPSTONE_SH_SUPPORT
Enabling CAPSTONE_TRICORE_SUPPORT
Enabling CAPSTONE_ALPHA_SUPPORT
Enabling CAPSTONE_HPPA_SUPPORT
Enabling CAPSTONE_LOONGARCH_SUPPORT
Enabling CAPSTONE_XTENSA_SUPPORT
-- Configuring done (4.4s)
-- Generating done (0.1s)
-- Build files have been written to: F:/Trusted/Decompilers/capstone-next/capstone-next/build

F:\Trusted\Decompilers\capstone-next\capstone-next>cmake.exe --build build --config Release
MSBuild version 17.12.12+1cce77968 for .NET Framework

  1>Checking Build System
  Building Custom Rule F:/Trusted/Decompilers/capstone-next/capstone-next/CMakeLists.txt
  cs.c
  Mapping.c
  MCInst.c
  MCInstrDesc.c
  MCInstPrinter.c
  MCRegisterInfo.c
  SStream.c
  utils.c
  ARMBaseInfo.c
  ARMDisassembler.c
  ARMDisassemblerExtension.c
  ARMInstPrinter.c
  ARMMapping.c
  ARMModule.c
  AArch64BaseInfo.c
  AArch64Disassembler.c
  AArch64DisassemblerExtension.c
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64Disassembler.c(1948,53): warning C4133: 'functio
n': incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone
-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64Disassembler.c(1973,53): warning C4133: 'functio
n': incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone
-next\capstone-next\build\capstone.vcxproj]
  AArch64InstPrinter.c
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(727,48): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(754,26): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(776,26): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(798,17): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(867,17): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(1458,1): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(1459,1): warning C4133: 'function'
: incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-n
ext\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(2160,36): warning C4133: 'function
': incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-
next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(2254,20): warning C4133: 'function
': incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-
next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64InstPrinter.c(2258,17): warning C4133: 'function
': incompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-
next\capstone-next\build\capstone.vcxproj]
  AArch64Mapping.c
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64Mapping.c(1575,11): warning C4133: 'function': i
ncompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-next
\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64Mapping.c(1712,21): warning C4133: 'function': i
ncompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-next
\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64Mapping.c(1720,18): warning C4133: 'function': i
ncompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-next
\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\AArch64\AArch64Mapping.c(1960,15): warning C4133: 'function': i
ncompatible types - from 'const aarch64_insn_group [3]' to 'const unsigned int *' [F:\Trusted\Decompilers\capstone-next
\capstone-next\build\capstone.vcxproj]
  AArch64Module.c
  Generating Code...
  Compiling...
  MipsDisassembler.c
  MipsInstPrinter.c
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsInstPrinter.c(205,3): warning C4098: 'printJumpOperand
': 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsInstPrinter.c(218,3): warning C4098: 'printBranchOpera
nd': 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
  MipsMapping.c
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(389,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(391,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(393,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(395,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(397,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(399,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(401,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(403,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(405,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(407,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(409,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(411,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(413,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(415,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(417,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(419,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
  MipsModule.c
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(421,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(423,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(425,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(427,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(429,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(431,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(433,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(435,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(437,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(439,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(441,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(445,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\arch\Mips\MipsMapping.c(447,3): warning C4098: 'Mips_add_cs_detail':
 'void' function returning a value [F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.vcxproj]
  PPCDisassembler.c
  PPCInstPrinter.c
  PPCMapping.c
  PPCModule.c
  X86Disassembler.c
  X86DisassemblerDecoder.c
  X86IntelInstPrinter.c
  X86InstPrinterCommon.c
  X86Mapping.c
  X86Module.c
  X86ATTInstPrinter.c
  SparcDisassembler.c
  SparcInstPrinter.c
  SparcMapping.c
  SparcModule.c
  SystemZDisassembler.c
  Generating Code...
  Compiling...
  SystemZDisassemblerExtension.c
  SystemZInstPrinter.c
  SystemZMapping.c
  SystemZModule.c
  SystemZMCTargetDesc.c
  XCoreDisassembler.c
  XCoreInstPrinter.c
  XCoreMapping.c
  XCoreModule.c
  M68KDisassembler.c
  M68KInstPrinter.c
  M68KModule.c
  TMS320C64xDisassembler.c
  TMS320C64xInstPrinter.c
  TMS320C64xMapping.c
  TMS320C64xModule.c
  M680XDisassembler.c
  M680XInstPrinter.c
  M680XModule.c
  EVMDisassembler.c
  Generating Code...
  Compiling...
  EVMInstPrinter.c
  EVMMapping.c
  EVMModule.c
  WASMDisassembler.c
  WASMInstPrinter.c
  WASMMapping.c
  WASMModule.c
  MOS65XXModule.c
  MOS65XXDisassembler.c
  BPFDisassembler.c
  BPFInstPrinter.c
  BPFMapping.c
  BPFModule.c
  RISCVDisassembler.c
  RISCVInstPrinter.c
  RISCVMapping.c
  RISCVModule.c
  SHDisassembler.c
  SHInstPrinter.c
  SHModule.c
  Generating Code...
  Compiling...
  TriCoreDisassembler.c
  TriCoreInstPrinter.c
  TriCoreMapping.c
  TriCoreModule.c
  AlphaDisassembler.c
  AlphaInstPrinter.c
  AlphaMapping.c
  AlphaModule.c
  HPPADisassembler.c
  HPPAInstPrinter.c
  HPPAMapping.c
  HPPAModule.c
  LoongArchDisassembler.c
  LoongArchDisassemblerExtension.c
  LoongArchInstPrinter.c
  LoongArchMapping.c
  LoongArchModule.c
  XtensaDisassembler.c
  XtensaInstPrinter.c
  XtensaMapping.c
  Generating Code...
  Compiling...
  XtensaModule.c
  Generating Code...
  capstone.vcxproj -> F:\Trusted\Decompilers\capstone-next\capstone-next\build\capstone.dir\Release\capstone.lib
  Building Custom Rule F:/Trusted/Decompilers/capstone-next/capstone-next/CMakeLists.txt
  capstone_static.vcxproj -> F:\Trusted\Decompilers\capstone-next\capstone-next\build\Release\capstone.lib
  Building Custom Rule F:/Trusted/Decompilers/capstone-next/capstone-next/CMakeLists.txt
  cstool.c
  cstool_aarch64.c
  cstool_alpha.c
  cstool_arm.c
  cstool_bpf.c
  cstool_evm.c
  cstool_hppa.c
  cstool_loongarch.c
  cstool_m680x.c
  cstool_m68k.c
  cstool_mips.c
  cstool_mos65xx.c
  cstool_powerpc.c
  cstool_riscv.c
  cstool_sh.c
  cstool_sparc.c
  cstool_systemz.c
  cstool_tms320c64x.c
  cstool_tricore.c
  cstool_wasm.c
  Generating Code...
  Compiling...
  cstool_x86.c
  cstool_xcore.c
  cstool_xtensa.c
  getopt.c
  Generating Code...
BPFDisassembler.obj : error LNK2019: unresolved external symbol BPF_getFeature referenced in function BPF_getInstructio
n [F:\Trusted\Decompilers\capstone-next\capstone-next\build\cstool.vcxproj]
BPFInstPrinter.obj : error LNK2001: unresolved external symbol BPF_getFeature [F:\Trusted\Decompilers\capstone-next\cap
stone-next\build\cstool.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\build\Release\cstool.exe : fatal error LNK1120: 1 unresolved externa
ls [F:\Trusted\Decompilers\capstone-next\capstone-next\build\cstool.vcxproj]
  Building Custom Rule F:/Trusted/Decompilers/capstone-next/capstone-next/CMakeLists.txt
  onefile.c
  fuzz_disasm.c
  platform.c
  Generating Code...
BPFDisassembler.obj : error LNK2019: unresolved external symbol BPF_getFeature referenced in function BPF_getInstructio
n [F:\Trusted\Decompilers\capstone-next\capstone-next\build\fuzz_disasm.vcxproj]
BPFInstPrinter.obj : error LNK2001: unresolved external symbol BPF_getFeature [F:\Trusted\Decompilers\capstone-next\cap
stone-next\build\fuzz_disasm.vcxproj]
F:\Trusted\Decompilers\capstone-next\capstone-next\build\Release\fuzz_disasm.exe : fatal error LNK1120: 1 unresolved ex
ternals [F:\Trusted\Decompilers\capstone-next\capstone-next\build\fuzz_disasm.vcxproj]

F:\Trusted\Decompilers\capstone-next\capstone-next>cmake.exe --install build
-- Install configuration: "Release"
-- Installing: C:/Program Files (x86)/capstone/include/capstone/aarch64.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/arm64.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/arm.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/capstone.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/cs_operand.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/evm.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/wasm.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/mips.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/ppc.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/x86.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/sparc.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/systemz.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/systemz_compatibility.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/xcore.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/m68k.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/tms320c64x.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/m680x.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/mos65xx.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/bpf.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/riscv.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/sh.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/tricore.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/platform.h
-- Up-to-date: C:/Program Files (x86)/capstone/include/capstone/sh.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/alpha.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/hppa.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/loongarch.h
-- Installing: C:/Program Files (x86)/capstone/include/capstone/xtensa.h
-- Installing: C:/Program Files (x86)/capstone/lib/pkgconfig/capstone.pc
-- Installing: C:/Program Files (x86)/capstone/lib/cmake/capstone/capstone-config.cmake
-- Installing: C:/Program Files (x86)/capstone/lib/cmake/capstone/capstone-config-version.cmake
-- Installing: C:/Program Files (x86)/capstone/lib/capstone.lib
-- Installing: C:/Program Files (x86)/capstone/lib/cmake/capstone/capstone-targets.cmake
-- Installing: C:/Program Files (x86)/capstone/lib/cmake/capstone/capstone-targets-release.cmake
CMake Error at build/cmake_install.cmake:127 (file):
  file INSTALL cannot find
  "F:/Trusted/Decompilers/capstone-next/capstone-next/build/Release/cstool.exe":
  File exists.

Steps to reproduce the behavior

I just followed the build instructions.

@Rot127 Rot127 changed the title errors Build fails with file INSTALL cannot find cstool.exe: File exists. Dec 18, 2024
@Rot127 Rot127 added bug Something is not working as it should build & packaging Build system and packaging related Windows labels Dec 18, 2024
@Rot127 Rot127 changed the title Build fails with file INSTALL cannot find cstool.exe: File exists. Build fails with: unresolved external symbol BPF_getFeature. Dec 18, 2024
Rot127 added a commit to Rot127/capstone that referenced this issue Dec 18, 2024
Inline functions are apparently not exposed with default visibility.
Fixes: capstone-engine#2585
@Rot127 Rot127 linked a pull request Dec 18, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as it should build & packaging Build system and packaging related Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants