In linux, I wasn't able to run dotnet build Source/Pablodraw/PabloDraw.csproj due to the error:
g++ : error : unrecognized command-line option ‘-MJ/var/tmp/portage/media-gfx/pablodraw-3.2.1_p20211219/work/pablodraw-main/artifacts/obj/Linux/PabloDraw.Console/x64/Debug/compile_commands.json’ [/var/tmp/portage/media-gfx/pablodraw-3.2.1_p20211219/work/pablodraw-main/Source/PabloDraw.Console/PabloDraw.Console.cxproj]
Seems the -MJ arg is only a clang thing. Simply changing the following from g++ to clang++ fixes it and allows it to build:
This is no longer an issue as the command line has been rolled into the main PabloDraw executable on Linux and Mac. There is still a separate PabloDraw.Console.exe for windows, for silly windows reasons.
In linux, I wasn't able to run
dotnet build Source/Pablodraw/PabloDraw.csproj
due to the error:g++ : error : unrecognized command-line option ‘-MJ/var/tmp/portage/media-gfx/pablodraw-3.2.1_p20211219/work/pablodraw-main/artifacts/obj/Linux/PabloDraw.Console/x64/Debug/compile_commands.json’ [/var/tmp/portage/media-gfx/pablodraw-3.2.1_p20211219/work/pablodraw-main/Source/PabloDraw.Console/PabloDraw.Console.cxproj]
Seems the
-MJ
arg is only aclang
thing. Simply changing the following fromg++
toclang++
fixes it and allows it to build: