Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command line error D8036 - not allowed with multiple source files

I was working in visual studio, and I made a few changes to one of my projects (changed a few include directories). When I tried to build that project later on I got the following error message:

cl : Command line error D8036: '/Fo.\obj\ms100_r' not allowed with multiple source files

I don't see how that is relevant to what I changed at all. I even rolled my .vcxproj file back to the previous version and that error still persists. I am clueless as to what is causing it. Aren't command line parameters supposed to be managed by visual studio anyway?

like image 504
Lanaru Avatar asked Aug 24 '12 20:08

Lanaru


1 Answers

had the same problem and realized i had removed the slash at the end of:

configuration properties->c/c++->output files->object file name->

once i added back the slash at the end of the file name, everything worked again

like image 54
lionel Avatar answered Nov 19 '22 06:11

lionel