Closed Jayman2000 closed 5 days ago
It's missing from the instructions but you need the Microsoft MFC component from the VS installer to build the editor, which is based on this framework. afxwin.h
is a MFC header
Probably need add these instructions to Descent3Editor target:
target_compile_definitions(Descent3Editor _AFXDLL)
set(CMAKE_MFC_FLAG 2) # or 1 for static building
add_executable(Descent3Editor WIN32 ${SRCS})
See https://cmake.org/cmake/help/v3.22/variable/CMAKE_MFC_FLAG.html
Build Version
v1.5 ae626b36eb6ad6f8ff3004cf4c23040406bf9c1f
Operating System Environment
CPU Environment
Description
If I try to build Descent 3 with
-D BUILD_EDITOR=ON
, then it fails with this error:Regression Status
I don’t know.
Steps to Reproduce
Follow Descent 3’s Windows build instructions. When performing the instructions, be sure to do the following:
cmake
command, remember to add-D BUILD_EDITOR=ON
to the end of the command-line.