Author Topic: B2: Windows, C++ standalone project fails to Compile  (Read 2226 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2191
  • Hero Points: 192
  • Text
B2: Windows, C++ standalone project fails to Compile
« on: October 06, 2015, 08:20:19 pm »
I've got VS2013 Community installed.
I have to start Slick from VS2013 "Developer Command Prompt for VS2013" for the path to be set correctly.
When I do this, I can "Build" a single-file CPP project from Slick.
But, when I try "Compile", it gets the CL command line wrong - looks like the compiler it trying to use the source file as a command line.

C:\Users\joe\Documents\Projects\Problems>"C:\Program Files\SlickEdit Pro 20.0.0 Beta2\win\vsbuild" -signal 61806 -command cl /c /Zi /Od  /Fo"C:\Users\joe\Documents\Projects\Problems\Debug\\" /Fd"C:\Users\joe\Documents\Projects\Problems\Debug\File1.pdb" @"C:\Users\joe\Documents\Projects\Problems\File1.cpp"  /nologo
 VSLICKERRORPATH="C:\Users\joe\Documents\Projects\Problems"
cl /c /Zi /Od /FoC:\Users\joe\Documents\Projects\Problems\Debug\ /FdC:\Users\joe\Documents\Projects\Problems\Debug\File1.pdb @C:\Users\joe\Documents\Projects\Problems\File1.cpp /nologo
cl : Command line warning D9024 : unrecognized source file type '#include', object file assumed
cl : Command line warning D9027 : source file '#include' ignored
cl : Command line warning D9024 : unrecognized source file type '<stdio.h>', object file assumed
cl : Command line warning D9027 : source file '<stdio.h>' ignored
cl : Command line warning D9024 : unrecognized source file type 'void', object file assumed
cl : Command line warning D9027 : source file 'void' ignored
cl : Command line warning D9024 : unrecognized source file type 'main()', object file assumed
cl : Command line warning D9027 : source file 'main()' ignored
cl : Command line warning D9024 : unrecognized source file type '{', object file assumed
cl : Command line warning D9027 : source file '{' ignored
cl : Command line warning D9024 : unrecognized source file type 'printf(hello\n);', object file assumed
cl : Command line warning D9027 : source file 'printf(hello\n);' ignored
cl : Command line warning D9024 : unrecognized source file type 'return;', object file assumed
cl : Command line warning D9027 : source file 'return;' ignored
cl : Command line warning D9024 : unrecognized source file type '}', object file assumed
cl : Command line warning D9027 : source file '}' ignored
cl : Command line warning D9021 : no action performed

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5776
  • Hero Points: 461
Re: B2: Windows, C++ standalone project fails to Compile
« Reply #1 on: October 06, 2015, 09:28:08 pm »
We will look into this.