You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libfreespace
Hi,
during the generating of libfreespace-examples I got the following error by CMake:
CMake Warning (dev) at U:/libfreespace/CMakeLists.txt:19 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION_MAJOR PROJECT_VERSION_MINOR PROJECT_VERSION_PATCH This warning is for project developers. Use -Wno-dev to suppress it.
Is this error important? Although this error CMake generate libfreespace-examples.sln So I opened this file in Visual Studio and build all. During this building I got the following error:
Severity Code Description Project File Line Suppression State Error C2011 'timespec': 'struct' type redefinition game3d_example u:\libfreespace-examples\src\win32\pthread_win32.h 307
That didn't seem to me very important because the other projects were build correctly. But then I started the examples-files (.exe) and it shows me that there is a file called ucrtbased.dll missing. This happens at all the examples.
Could somebody help me?
christia...@gmail.com
unread,
Nov 18, 2016, 4:51:47 AM11/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libfreespace
I added #define HAVE_STRUCT_TIMESPEC to pthread_win32.h in the project game3d_example, so the build process was succeeded.
christia...@gmail.com
unread,
Nov 18, 2016, 6:19:07 AM11/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libfreespace
to solve the problem with ucrtbased.dll make sure you have installed "Microsoft
Foundation Classes for C++" which you can check by going to New
Project->Installed->Visual C++->MFC.