OK, this is funny, I just comment the line #35 in particle_writer.hpp and the problem was solved.
On Saturday, February 25, 2023 at 7:11:21 PM UTC-6 Frank Corrales Machin wrote: > Hi > I'm building Project Chrono from Git in w11 with VS2022 and I get this > error message when I do enable GPU module > Error C1021 invalid preprocessor command 'warning' (compiling source file > C:\Project_Chrono_install\chrono-main\src\chrono_gpu\physics\ChSystemGpu_impl.cpp) > > ChronoEngine_gpu > C:\Project_Chrono_install\chrono-main\src\chrono_thirdparty\chpf\include\particle_writer.hpp > > 35 > > and particle_writer.hpp has this line > #warning "The classes declared in this header are deprecated in favor of > chpf.hpp and may be removed in a future version!" > > How I can fix it? > Thanks > -- 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/74ba485f-6fb7-4740-8e8d-07183c59e665n%40googlegroups.com.
