Home Download Buy Blog Forum Support

[Error 2] On build.

[Error 2] On build.

Postby BasicMind on Thu Jan 05, 2012 9:09 pm

I've been trying to set up a cutom build for single C++ files.

this is my build.
Code: Select all
   "cmd": ["g++", "$file", "-o", "$file_base_name", "-I/usr/local/include"],
   "selector": "source.c++",

       "cmd": ["cl", "/Fo${file_path}", "/O2", "/EHsc", "$file"]

The OSX part works fine, but the windows part keeps coming up
[Error 2] The system cannot find the file specified

When I look at the console it generates
Running cl /FoC:\MyStuff\Programming\local_inc\Bar\UnitTests /O2 /EHsc C:\MyStuff\Programming\local_inc\Bar\UnitTests\VectorMathTest.cpp

Which if I put this into a command prompt window works fine.

Any ideas?
Posts: 1
Joined: Thu Jan 05, 2012 9:05 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 14 guests