Hello Heming! I am a member of the project chrono group (although not Professor Negrut!), but I believe I may have an idea as to why this may be happening. From the information you've provided, I have a feeling that you might not have added your custom CPP demo to the required CMakeList.txt which is used by CMake to know which demos to build! (Sorry if you did do so!).
If this is the case, could you please take a look at this line of code from GitHub? https://github.com/projectchrono/chrono/blob/149fffc6840ebe45d73f47a1730a2d0f358f66cc/src/demos/cascade/CMakeLists.txt#L46. This is a CMakeLists.txt file from our cascade module inside the demos folder that specifies the names of the demos (corresponding to file names) to build! If not done already, could you please try adding your file name to the appropriate CMakeLists.txt in the folder as done in the code above! if this was not it, please let me know so and I'll do my best to work with you and come up with a solution for this! I hope this helps! Best, Shlok Sabarwal On Tuesday, April 11, 2023 at 12:43:41 AM UTC-5 [email protected] wrote: > Dear professor, > What are the possible reasons why I did not generate a demo file > when I wrote the CPP file and completed the cmake operation to generate a > release or debug solution? > I am still in the stage of learning software, and I would like to > thank all the professors for guidance!Thank you again! > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/54f8ba19-5851-4875-aa0f-9bcd336b4cb8n%40googlegroups.com.
