Hello,
I try to configure Panda3D using CMake 3.19.2. I have this error:
Log:
Using default build type Standard
The C compiler identification is GNU 8.1.0
The CXX compiler identification is GNU 8.1.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Qt5/Tools/mingw810_32/bin/gcc.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:/Qt5/Tools/mingw810_32/bin/g++.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Performing Test COMPILER_SUPPORTS_FEXCEPTIONS
Performing Test COMPILER_SUPPORTS_FEXCEPTIONS - Success
Performing Test COMPILER_SUPPORTS_FRTTI
Performing Test COMPILER_SUPPORTS_FRTTI - Success
Performing Test COMPILER_SUPPORTS_FVISIBILITY_HIDDEN
Performing Test COMPILER_SUPPORTS_FVISIBILITY_HIDDEN - Success
CMake Error at cmake/macros/PackageConfig.cmake:153 (message):
NOT FOUND: PYTHON. Disable HAVE_PYTHON to continue.
Call Stack (most recent call first):
dtool/Package.cmake:239 (package_option)
CMakeLists.txt:108 (include)
CMake Error at cmake/macros/PackageConfig.cmake:153 (message):
NOT FOUND: OPENSSL. Disable HAVE_OPENSSL to continue.
Call Stack (most recent call first):
dtool/Package.cmake:322 (package_option)
CMakeLists.txt:108 (include)
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of long
Check size of long - done
Check for STD namespace
Check for STD namespace - found
Check if the system is big endian
Searching 16 bit integer
Check size of unsigned short
Check size of unsigned short - done
Searching 16 bit integer - Using unsigned short
Check if the system is big endian - little endian
Performing Test PHAVE_LOCKF
Performing Test PHAVE_LOCKF - Failed
Performing Test SIMPLE_STRUCT_POINTERS
Performing Test SIMPLE_STRUCT_POINTERS - Failed
Looking for gettimeofday
Looking for gettimeofday - found
Performing Test GETTIMEOFDAY_ONE_PARAM
Performing Test GETTIMEOFDAY_ONE_PARAM - Failed
Looking for getopt
Looking for getopt - found
Looking for getopt_long_only
Looking for getopt_long_only - found
Looking for C++ include getopt.h
Looking for C++ include getopt.h - found
Performing Test HAVE_IOS_TYPEDEFS
Performing Test HAVE_IOS_TYPEDEFS - Success
Performing Test HAVE_IOS_BINARY
Performing Test HAVE_IOS_BINARY - Success
Looking for C++ include io.h
Looking for C++ include io.h - found
Looking for C++ include iostream
Looking for C++ include iostream - found
Looking for C++ include malloc.h
Looking for C++ include malloc.h - found
Looking for C++ include sys/malloc.h
Looking for C++ include sys/malloc.h - not found
Looking for C++ include alloca.h
Looking for C++ include alloca.h - not found
Looking for C++ include locale.h
Looking for C++ include locale.h - found
Looking for C++ include string.h
Looking for C++ include string.h - found
Looking for C++ include stdlib.h
Looking for C++ include stdlib.h - found
Looking for C++ include limits.h
Looking for C++ include limits.h - found
Looking for C++ include sstream
Looking for C++ include sstream - found
Looking for C++ include new
Looking for C++ include new - found
Looking for C++ include sys/types.h
Looking for C++ include sys/types.h - found
Looking for C++ include sys/time.h
Looking for C++ include sys/time.h - found
Looking for C++ include unistd.h
Looking for C++ include unistd.h - found
Looking for C++ include utime.h
Looking for C++ include utime.h - found
Looking for C++ include glob.h
Looking for C++ include glob.h - not found
Looking for C++ include dirent.h
Looking for C++ include dirent.h - found
Looking for C++ include ucontext.h
Looking for C++ include ucontext.h - not found
Looking for C++ include linux/input.h
Looking for C++ include linux/input.h - not found
Looking for C++ include stdint.h
Looking for C++ include stdint.h - found
Performing Test HAVE_SSE2
Performing Test HAVE_SSE2 - Success
Configuring support for the following optional third-party packages:
! OpenSSL (enabled but not found)
- zlib (not found)
- libjpeg (not found)
- libpng (not found)
- libtiff (not found)
- OpenEXR (not found)
- libsquish (not found)
- Assimp (not found)
- FCollada (not found)
- Eigen linear algebra library (not found)
- FFTW (not found)
- FFmpeg (not found)
- Vorbis (not found)
- Opus (not found)
- FMOD Ex sound library (not found)
- OpenAL sound library (not found)
- FreeType (not found)
- HarfBuzz (not found)
- gtk+-2 (not found)
- Bullet physics (not found)
- Open Dynamics Engine (not found)
- SpeedTree (not found)
+ OpenGL
- OpenGL ES 1.x (not found)
- OpenGL ES 2.x (not found)
- Direct3D 9.x (not found)
- Nvidia Cg Shading Language (not found)
- X11 (not found)
- EGL (not found)
- OpenCV (not found)
- ARToolKit (not found)
- VRPN (not found)
CMake Error at dtool/LocalSetup.cmake:173 (message):
Configured Panda with Python bindings, but no Python library found.
Disable HAVE_PYTHON to continue.
Call Stack (most recent call first):
dtool/CMakeLists.txt:2 (include)
Compilation will include full, pipelined threading support.
See dtool_config.h for more details about the specified configuration.
CMake Error at panda/src/audiotraits/CMakeLists.txt:4 (message):
You must have an audio backend for audio support! Turn off HAVE_AUDIO to
ignore this.
Configuring incomplete, errors occurred!
See also "C:/Temp/panda3d-master/dist/CMakeFiles/CMakeOutput.log".
See also "C:/Temp/panda3d-master/dist/CMakeFiles/CMakeError.log".
I see that Python was not detected. But I have Python 3.8 64-bit in PATH:
Have you downloaded third-party packages?
And also configured the directory.
cmake -DTHIRDPARTY_DIRECTORY=D:\panda3d-master\thirdparty ..
Bindings will be created for those python versions that are located in the thirdparty
folder
1 Like
How can I use “CMake GUI” to set the THIRDPARTY_DIRECTORY? I am not good with “cmake”. Will this command set the the THIRDPARTY_DIRECTORY globally in CMD? Can I run CMake GUI after this command? Or should I use CMake from command line only?
I don’t use GUI, I don’t know for sure. Perhaps there is a variable to fill in somewhere in the list of parameters.
1 Like
Although you can put in the root of the panda3d-master
folder, the thirdparty
folder. It should be detected automatically, there was a conversation about this behavior, I don’t know if it was implemented.
1 Like
Yes, it works.
CMake log:
Using default build type Standard
The C compiler identification is GNU 8.1.0
The CXX compiler identification is GNU 8.1.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Qt5/Tools/mingw810_32/bin/gcc.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:/Qt5/Tools/mingw810_32/bin/g++.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Performing Test COMPILER_SUPPORTS_FEXCEPTIONS
Performing Test COMPILER_SUPPORTS_FEXCEPTIONS - Success
Performing Test COMPILER_SUPPORTS_FRTTI
Performing Test COMPILER_SUPPORTS_FRTTI - Success
Performing Test COMPILER_SUPPORTS_FVISIBILITY_HIDDEN
Performing Test COMPILER_SUPPORTS_FVISIBILITY_HIDDEN - Success
CMake Warning (dev) at C:/Qt5/Tools/CMake_64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (CgGL) does
not match the name of the calling package (Cg). This can lead to problems
in calling code that expects `find_package` result variables (e.g.,
`_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/modules/FindCg.cmake:71 (find_package_handle_standard_args)
cmake/modules/FindCg.cmake:165 (find_cggl)
dtool/Package.cmake:653 (find_package)
CMakeLists.txt:108 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/Qt5/Tools/CMake_64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (CgD3D9)
does not match the name of the calling package (Cg). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/modules/FindCg.cmake:116 (find_package_handle_standard_args)
cmake/modules/FindCg.cmake:166 (find_cgd3d9)
dtool/Package.cmake:653 (find_package)
CMakeLists.txt:108 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of long
Check size of long - done
Check for STD namespace
Check for STD namespace - found
Check if the system is big endian
Searching 16 bit integer
Check size of unsigned short
Check size of unsigned short - done
Searching 16 bit integer - Using unsigned short
Check if the system is big endian - little endian
Performing Test PHAVE_LOCKF
Performing Test PHAVE_LOCKF - Failed
Performing Test SIMPLE_STRUCT_POINTERS
Performing Test SIMPLE_STRUCT_POINTERS - Failed
Looking for gettimeofday
Looking for gettimeofday - found
Performing Test GETTIMEOFDAY_ONE_PARAM
Performing Test GETTIMEOFDAY_ONE_PARAM - Failed
Looking for getopt
Looking for getopt - found
Looking for getopt_long_only
Looking for getopt_long_only - found
Looking for C++ include getopt.h
Looking for C++ include getopt.h - found
Performing Test HAVE_IOS_TYPEDEFS
Performing Test HAVE_IOS_TYPEDEFS - Success
Performing Test HAVE_IOS_BINARY
Performing Test HAVE_IOS_BINARY - Success
Looking for C++ include io.h
Looking for C++ include io.h - found
Looking for C++ include iostream
Looking for C++ include iostream - found
Looking for C++ include malloc.h
Looking for C++ include malloc.h - found
Looking for C++ include sys/malloc.h
Looking for C++ include sys/malloc.h - not found
Looking for C++ include alloca.h
Looking for C++ include alloca.h - not found
Looking for C++ include locale.h
Looking for C++ include locale.h - found
Looking for C++ include string.h
Looking for C++ include string.h - found
Looking for C++ include stdlib.h
Looking for C++ include stdlib.h - found
Looking for C++ include limits.h
Looking for C++ include limits.h - found
Looking for C++ include sstream
Looking for C++ include sstream - found
Looking for C++ include new
Looking for C++ include new - found
Looking for C++ include sys/types.h
Looking for C++ include sys/types.h - found
Looking for C++ include sys/time.h
Looking for C++ include sys/time.h - found
Looking for C++ include unistd.h
Looking for C++ include unistd.h - found
Looking for C++ include utime.h
Looking for C++ include utime.h - found
Looking for C++ include glob.h
Looking for C++ include glob.h - not found
Looking for C++ include dirent.h
Looking for C++ include dirent.h - found
Looking for C++ include ucontext.h
Looking for C++ include ucontext.h - not found
Looking for C++ include linux/input.h
Looking for C++ include linux/input.h - not found
Looking for C++ include stdint.h
Looking for C++ include stdint.h - found
Performing Test HAVE_SSE2
Performing Test HAVE_SSE2 - Success
Configuring support for the following optional third-party packages:
+ OpenSSL
+ zlib
+ libjpeg
+ libpng
+ libtiff
+ OpenEXR
+ libsquish
+ Assimp
+ FCollada
- Eigen linear algebra library (not found)
- FFTW (not found)
+ FFmpeg (with swscale and swresample)
+ Vorbis
+ Opus
+ FMOD Ex sound library
+ OpenAL sound library
+ FreeType
+ HarfBuzz
- gtk+-2 (not found)
+ Bullet physics
+ Open Dynamics Engine
- SpeedTree (not found)
+ OpenGL
- OpenGL ES 1.x (not found)
- OpenGL ES 2.x (not found)
- Direct3D 9.x (not found)
+ Nvidia Cg Shading Language (supporting OpenGL and Direct3D 9)
- X11 (not found)
- EGL (not found)
- OpenCV (not found)
+ ARToolKit
+ VRPN
Compilation will generate Python interfaces for Python 3.9.6.
Compilation will include full, pipelined threading support.
See dtool_config.h for more details about the specified configuration.
Configuring done