Skip to content

Error building the plugin with S24 and VS2019 #3

@IRONIC3D

Description

@IRONIC3D

Hi Valkaari

I am trying to build the plugin on S24 using VS2019 like the following:

msbuild "C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj" /p:configuration=release /p:platform=x64

but getting the following error repeatadly:

..\source\OceanSimulation\OceanSimulation_impl.cpp(762,34): error C2039: 'numeric_limits': is not a member of 'std' [C:
\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
C:\Program Files\Maxon Cinema 4D R24\frameworks\core.framework\source\maxon/block.h(18): message : see declaration of '
std' [C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
..\source\OceanSimulation\OceanSimulation_impl.cpp(762,1): error C2065: 'numeric_limits': undeclared identifier [C:\Pro
gram Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
..\source\OceanSimulation\OceanSimulation_impl.cpp(762,56): error C2275: 'maxon::Float': illegal use of this type as an
 expression [C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
..\source\OceanSimulation\OceanSimulation_impl.cpp(762): message : see declaration of 'maxon::Float' [C:\Program Files\
Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
..\source\OceanSimulation\OceanSimulation_impl.cpp(762,64): error C2039: 'min': is not a member of '`global namespace''
 [C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
..\source\OceanSimulation\OceanSimulation_impl.cpp(762,1): error C3861: 'min': identifier not found [C:\Program Files\M
axon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
Done Building Project "C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj" (default targets) -- F
AILED.


Build FAILED.

"C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj" (default target) (1) ->
(ClCompile target) ->
  ..\source\OceanSimulation\OceanSimulation_impl.cpp(762,34): error C2039: 'numeric_limits': is not a member of 'std' [
C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
  ..\source\OceanSimulation\OceanSimulation_impl.cpp(762,1): error C2065: 'numeric_limits': undeclared identifier [C:\P
rogram Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
  ..\source\OceanSimulation\OceanSimulation_impl.cpp(762,56): error C2275: 'maxon::Float': illegal use of this type as
an expression [C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
  ..\source\OceanSimulation\OceanSimulation_impl.cpp(762,64): error C2039: 'min': is not a member of '`global namespace
'' [C:\Program Files\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]
  ..\source\OceanSimulation\OceanSimulation_impl.cpp(762,1): error C3861: 'min': identifier not found [C:\Program Files
\Maxon Cinema 4D R24\plugins\HOT4D\project\hot4d.vcxproj]

    0 Warning(s)
    5 Error(s)

Trying to build by opening the project in VS2019 fails as well with the following error code:

This project doesn't contain the Configuration and Platform combination of Debug|Win32

Any advise on how to resolve this error is appreciated.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions