Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building the plugin with S24 and VS2019 #3

Open
IRONIC3D opened this issue Jun 16, 2021 · 1 comment
Open

Error building the plugin with S24 and VS2019 #3

IRONIC3D opened this issue Jun 16, 2021 · 1 comment

Comments

@IRONIC3D
Copy link

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

@Valkaari
Copy link
Owner

Hi,
You need to have a project directory. Unzip the sdk.zip that is in your cinema4D's directory. inside plugin you have a project directory. Change the projectdefinition.txt accordingly to include hot4D directory. Run the projecttool on the directory that contain your framework and your plugins directory.

Use the release mode for better performance.

Cheers,
Manuel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants