Jump to content

CMake First time run error


tbarlow

Recommended Posts

Hello Im just setting up CMake and everything for the first time in a long time and i seem to be haveing an error with Cmake its going to be a  little long but i will past the log here and help with this would be very greatful im not sure on the Game name yet so i just toss a name in there i will probly compile this agian here soon but i would need to fix this error first thanks for the help

 

Terry

 

The C compiler identification is MSVC 19.37.32825.0

The CXX compiler identification is MSVC 19.37.32825.0

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/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: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped

Detecting CXX compile features

Detecting CXX compile features - done

Prepare Template(BaseGame) install...

Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

Looking for __GLIBC__

Looking for __GLIBC__ - not found

Performing Test CHECK_CPU_ARCHITECTURE_X86

Performing Test CHECK_CPU_ARCHITECTURE_X86 - Failed

Performing Test CHECK_CPU_ARCHITECTURE_X64

Performing Test CHECK_CPU_ARCHITECTURE_X64 - Success

Performing Test CHECK_CPU_ARCHITECTURE_ARM32

Performing Test CHECK_CPU_ARCHITECTURE_ARM32 - Failed

Performing Test CHECK_CPU_ARCHITECTURE_ARM64

Performing Test CHECK_CPU_ARCHITECTURE_ARM64 - Failed

Performing Test CHECK_CPU_ARCHITECTURE_LOONGARCH64

Performing Test CHECK_CPU_ARCHITECTURE_LOONGARCH64 - Failed

Looking for immintrin.h

Looking for immintrin.h - found

Looking for stdint.h

Looking for stdint.h - found

Performing Test HAVE_WIN32_CC

Performing Test HAVE_WIN32_CC - Success

Looking for d3d9.h

Looking for d3d9.h - found

Looking for d3d11_1.h

Looking for d3d11_1.h - found

Performing Test HAVE_D3D12_H

Performing Test HAVE_D3D12_H - Success

Looking for ddraw.h

Looking for ddraw.h - found

Looking for dsound.h

Looking for dsound.h - found

Looking for dinput.h

Looking for dinput.h - found

Looking for dxgi.h

Looking for dxgi.h - found

Performing Test HAVE_XINPUT_H

Performing Test HAVE_XINPUT_H - Success

Performing Test HAVE_XINPUT_GAMEPAD_EX

Performing Test HAVE_XINPUT_GAMEPAD_EX - Failed

Performing Test HAVE_XINPUT_STATE_EX

Performing Test HAVE_XINPUT_STATE_EX - Failed

Performing Test HAVE_WINDOWS_GAMING_INPUT_H

Performing Test HAVE_WINDOWS_GAMING_INPUT_H - Success

Looking for tpcshrd.h

Looking for tpcshrd.h - found

Looking for roapi.h

Looking for roapi.h - found

Looking for mmdeviceapi.h

Looking for mmdeviceapi.h - found

Looking for audioclient.h

Looking for audioclient.h - found

Looking for sensorsapi.h

Looking for sensorsapi.h - found

Looking for shellscalingapi.h

Looking for shellscalingapi.h - found

Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.42.0.windows.2")

 

SDL2 was configured with the following options:

 

Platform: Windows-10.0.22621

64-bit: TRUE

Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe

Revision: SDL-release-2.28.4-0-gcc016b004

 

Subsystems:

Atomic: ON

Audio: ON

Video: ON

Render: ON

Events: ON

Joystick: ON

Haptic: ON

Hidapi: ON

Power: ON

Threads: ON

Timers: ON

File: ON

Loadso: ON

CPUinfo: ON

Filesystem: ON

Sensor: ON

Locale: ON

Misc: ON

 

Options:

SDL2_DISABLE_INSTALL (Wanted: ON): OFF

SDL2_DISABLE_SDL2MAIN (Wanted: OFF): OFF

SDL2_DISABLE_UNINSTALL (Wanted: OFF): OFF

SDL_3DNOW (Wanted: ON): OFF

SDL_ALSA (Wanted: OFF): OFF

SDL_ALSA_SHARED (Wanted: OFF): OFF

SDL_ALTIVEC (Wanted: ON): OFF

SDL_ARMNEON (Wanted: OFF): OFF

SDL_ARMSIMD (Wanted: OFF): OFF

SDL_ARTS (Wanted: OFF): OFF

SDL_ARTS_SHARED (Wanted: OFF): OFF

SDL_ASAN (Wanted: OFF): OFF

SDL_ASSEMBLY (Wanted: ON): OFF

SDL_ASSERTIONS (Wanted: auto): auto

SDL_BACKGROUNDING_SIGNAL (Wanted: OFF): OFF

SDL_CCACHE (Wanted: ON): OFF

SDL_CLOCK_GETTIME (Wanted: OFF): OFF

SDL_COCOA (Wanted: OFF): OFF

SDL_DBUS (Wanted: OFF): OFF

SDL_DIRECTFB (Wanted: OFF): OFF

SDL_DIRECTFB_SHARED (Wanted: OFF): OFF

SDL_DIRECTX (Wanted: ON): ON

SDL_DISKAUDIO (Wanted: ON): ON

SDL_DUMMYAUDIO (Wanted: ON): ON

SDL_DUMMYVIDEO (Wanted: ON): ON

SDL_ESD (Wanted: OFF): OFF

SDL_ESD_SHARED (Wanted: OFF): OFF

SDL_FOREGROUNDING_SIGNAL (Wanted: OFF): OFF

SDL_FUSIONSOUND (Wanted: OFF): OFF

SDL_FUSIONSOUND_SHARED (Wanted: OFF): OFF

SDL_GCC_ATOMICS (Wanted: OFF): OFF

SDL_HIDAPI (Wanted: ON): ON

SDL_HIDAPI_JOYSTICK (Wanted: ON): ON

SDL_HIDAPI_LIBUSB (Wanted: OFF): OFF

SDL_IBUS (Wanted: OFF): OFF

SDL_INSTALL_TESTS (Wanted: OFF): OFF

SDL_JACK (Wanted: OFF): OFF

SDL_JACK_SHARED (Wanted: OFF): OFF

SDL_KMSDRM (Wanted: OFF): OFF

SDL_KMSDRM_SHARED (Wanted: OFF): OFF

SDL_LASX (Wanted: OFF): OFF

SDL_LIBC (Wanted: OFF): OFF

SDL_LIBSAMPLERATE (Wanted: OFF): OFF

SDL_LIBSAMPLERATE_SHARED (Wanted: OFF): OFF

SDL_LIBUDEV (Wanted: ON): OFF

SDL_LSX (Wanted: OFF): OFF

SDL_METAL (Wanted: OFF): OFF

SDL_MMX (Wanted: ON): OFF

SDL_NAS (Wanted: OFF): OFF

SDL_NAS_SHARED (Wanted: OFF): OFF

SDL_OFFSCREEN (Wanted: ON): ON

SDL_OPENGL (Wanted: ON): ON

SDL_OPENGLES (Wanted: ON): ON

SDL_OSS (Wanted: OFF): OFF

SDL_PIPEWIRE (Wanted: OFF): OFF

SDL_PIPEWIRE_SHARED (Wanted: OFF): OFF

SDL_PTHREADS (Wanted: OFF): OFF

SDL_PTHREADS_SEM (Wanted: OFF): OFF

SDL_PULSEAUDIO (Wanted: OFF): OFF

SDL_PULSEAUDIO_SHARED (Wanted: OFF): OFF

SDL_RENDER_D3D (Wanted: ON): ON

SDL_RENDER_METAL (Wanted: OFF): OFF

SDL_RPATH (Wanted: OFF): OFF

SDL_RPI (Wanted: OFF): OFF

SDL_SNDIO (Wanted: OFF): OFF

SDL_SNDIO_SHARED (Wanted: OFF): OFF

SDL_SSE (Wanted: ON): ON

SDL_SSE2 (Wanted: ON): ON

SDL_SSE3 (Wanted: ON): ON

SDL_SSEMATH (Wanted: ON): OFF

SDL_STATIC_PIC (Wanted: OFF): OFF

SDL_SYSTEM_ICONV (Wanted: ON): OFF

SDL_TESTS (Wanted: OFF): OFF

SDL_VENDOR_INFO (Wanted: 😞 OFF

SDL_VIRTUAL_JOYSTICK (Wanted: ON): ON

SDL_VIVANTE (Wanted: OFF): OFF

SDL_VULKAN (Wanted: ON): ON

SDL_WASAPI (Wanted: ON): ON

SDL_WAYLAND (Wanted: OFF): OFF

SDL_WAYLAND_LIBDECOR (Wanted: OFF): OFF

SDL_WAYLAND_LIBDECOR_SHARED (Wanted: OFF): OFF

SDL_WAYLAND_QT_TOUCH (Wanted: OFF): OFF

SDL_WAYLAND_SHARED (Wanted: OFF): OFF

SDL_X11 (Wanted: OFF): OFF

SDL_X11_SHARED (Wanted: OFF): OFF

SDL_X11_XCURSOR (Wanted: OFF): OFF

SDL_X11_XDBE (Wanted: OFF): OFF

SDL_X11_XFIXES (Wanted: OFF): OFF

SDL_X11_XINPUT (Wanted: OFF): OFF

SDL_X11_XRANDR (Wanted: OFF): OFF

SDL_X11_XSCRNSAVER (Wanted: OFF): OFF

SDL_X11_XSHAPE (Wanted: OFF): OFF

SDL_XINPUT (Wanted: ON): ON

 

CFLAGS: /DWIN32 /D_WINDOWS

EXTRA_CFLAGS:

EXTRA_LDFLAGS:

EXTRA_LIBS: kernel32;user32;gdi32;winmm;imm32;ole32;oleaut32;version;uuid;advapi32;setupapi;shell32;dinput8

 

Build Shared Library: ON

Build Static Library: OFF

 

Shared libraries disabled

Looking for ZLIB...

Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

Could not locate ZLIB

compiling zlib from sources

Looking for sys/types.h

Looking for sys/types.h - found

Looking for stddef.h

Looking for stddef.h - found

Check size of off64_t

Check size of off64_t - failed

Looking for fseeko

Looking for fseeko - not found

Looking for unistd.h

Looking for unistd.h - not found

Enabled importer formats: AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXF CSM HMP IRRMESH IQM IRR LWO LWS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD

Disabled importer formats:

Enabled exporter formats: OBJ OPENGEX PLY 3DS ASSBIN ASSXML M3D COLLADA FBX STL X X3D GLTF 3MF PBRT ASSJSON STEP

Disabled exporter formats:

CMake Deprecation Warning at Engine/lib/lpng/CMakeLists.txt:21 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

 

CMake Deprecation Warning at Engine/lib/lpng/CMakeLists.txt:22 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

 

The ASM compiler identification is MSVC

Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe

Performing Test HAVE_LD_VERSION_SCRIPT

Performing Test HAVE_LD_VERSION_SCRIPT - Failed

Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT

Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT - Failed

Enabling AFX Module

Enabling Navigation Module

Enabling OpenAL Module

CMake Deprecation Warning at Engine/lib/openal-soft/CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

 

Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

Performing Test HAVE___RESTRICT

Performing Test HAVE___RESTRICT - Success

Performing Test HAVE_LIBATOMIC

Performing Test HAVE_LIBATOMIC - Failed

Performing Test HAVE_PERMISSIVE_SWITCH

Performing Test HAVE_PERMISSIVE_SWITCH - Success

Looking for xmmintrin.h

Looking for xmmintrin.h - found

Looking for emmintrin.h

Looking for emmintrin.h - found

Looking for pmmintrin.h

Looking for pmmintrin.h - found

Looking for smmintrin.h

Looking for smmintrin.h - found

Looking for arm_neon.h

Looking for arm_neon.h - not found

Performing Test HAVE_SSE_INTRINSICS

Performing Test HAVE_SSE_INTRINSICS - Success

Looking for malloc.h

Looking for malloc.h - found

Looking for cpuid.h

Looking for cpuid.h - not found

Looking for intrin.h

Looking for intrin.h - found

Looking for guiddef.h

Looking for guiddef.h - found

Looking for pow in m

Looking for pow in m - not found

Looking for clock_gettime in rt

Looking for clock_gettime in rt - not found

Looking for dlfcn.h

Looking for dlfcn.h - not found

Looking for dlopen in dl

Looking for dlopen in dl - not found

Performing Test HAVE_CPUID_INTRINSIC

Performing Test HAVE_CPUID_INTRINSIC - Success

Looking for posix_memalign

Looking for posix_memalign - not found

Looking for _aligned_malloc

Looking for _aligned_malloc - found

Looking for proc_pidpath

Looking for proc_pidpath - not found

Looking for getopt

Looking for getopt - not found

Could NOT find DBus1 (missing: DBus1_INCLUDE_DIRS DBus1_LIBRARIES)

Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)

Could NOT find OSS (missing: OSS_INCLUDE_DIR)

Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR)

Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)

Could NOT find PortAudio (missing: PORTAUDIO_LIBRARY PORTAUDIO_INCLUDE_DIR)

Could NOT find PulseAudio (missing: PULSEAUDIO_LIBRARY PULSEAUDIO_INCLUDE_DIR)

Could NOT find JACK (missing: JACK_LIBRARY JACK_INCLUDE_DIR)

Could NOT find OpenSL (missing: OPENSL_LIBRARY OPENSL_INCLUDE_DIR OPENSL_ANDROID_INCLUDE_DIR)

Performing Test CMAKE_HAVE_LIBC_PTHREAD

Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

Looking for pthread_create in pthreads

Looking for pthread_create in pthreads - not found

Looking for pthread_create in pthread

Looking for pthread_create in pthread - not found

Found Threads: TRUE

Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)

 

Building OpenAL with support for the following backends:

WinMM, DirectSound, WASAPI, WaveFile, Null

 

Building with support for CPU extensions:

Default, SSE, SSE2, SSE3, SSE4.1

 

Building with legacy EAX extension support

 

Embedding HRTF datasets

 

Installing library and headers

Installing sample configuration

Installing HRTF data files

Installing AmbDec presets

 

Enabling Torque Tools Module

CMake Error at Engine/source/CMakeLists.txt:384 (add_executable):
The target name "Counter Attack" is reserved or not valid for certain CMake
features, such as generator expressions, and may result in undefined
behavior.

 

CMake Error at Engine/source/CMakeLists.txt:400 (set_target_properties):
set_target_properties Can not find target to add properties to: Counter
Attack

 

CMake Error at Engine/source/CMakeLists.txt:419 (set_property):
set_property could not find TARGET Counter Attack. Perhaps it has not yet
been created.

 

CMake Error at Engine/source/CMakeLists.txt:419 (set_property):
set_property could not find TARGET Counter Attack. Perhaps it has not yet
been created.

 

CMake Error at Engine/source/CMakeLists.txt:419 (set_property):
set_property could not find TARGET Counter Attack. Perhaps it has not yet
been created.

 

CMake Error at Engine/source/CMakeLists.txt:435 (target_compile_definitions):
Cannot specify compile definitions for target "Counter Attack" which is not
built by this project.

 

CMake Error at Engine/source/CMakeLists.txt:436 (target_link_libraries):
Cannot specify link libraries for target "Counter Attack" which is not
built by this project.

 

Configuring incomplete, errors occurred!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...