SAP-archive / fedem-solvers

The FEDEM solver modules
Apache License 2.0
2 stars 5 forks source link

Build error on Project: response_pos_frs #10

Open freeNastran opened 8 months ago

freeNastran commented 8 months ago

Hi,

Trying to build under Win 10. Got this error:

ResponsePos - 0 error(s), 0 warning(s) 32>------ Build started: Project: response_pos, Configuration: Release x64 ------ 32>Building Custom Rule D:/FEDEM/fedem-solvers/src/vpmSolver/ResponsePos/CMakeLists.txt 32>main.C 32>response_pos.vcxproj -> D:\FEDEM\fedem-solvers-build\src\vpmSolver\ResponsePos\Release\response_pos.exe 33>------ Build started: Project: response_pos_frs, Configuration: Release x64 ------ 33>Generating response_pos.frs 33>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(249,5): error MSB8066: Custom build for 'D:\FEDEM\fedem-solvers-build\CMakeFiles\fe5cf4962b8aceb1b110445e1fd8f087\response_pos.frs.rule;D:\FEDEM\fedem-solvers-build\CMakeFiles\84d5b55a1b2e38382f8479d3e18fabdb\response_pos_frs.rule;D:\FEDEM\fedem-solvers\src\vpmSolver\ResponsePos\CMakeLists.txt' exited with code -1073741515. 33>Done building project "response_pos_frs.vcxproj" -- FAILED. 34>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------

Thanks for help.

Cheers

kmoks commented 8 months ago

Seems like the execution of the target just built (response_pos.exe) fails for some reason. I can't tell what is the problem here, but this is not an important component. So a workaround for you could be to just remove it from the build process, i.e., remove the last three statements in the CMakeLists.txt file https://github.com/SAP/fedem-solvers/blob/main/src/vpmSolver/ResponsePos/CMakeLists.txt#L64-L70.