I build ruby or cpp or any langs and nothing happened
the console is blank
Build system doesn't work
agibsonsw
#2
Make sure the C++ and Ruby Packages are not disabled in your user settings. Choose Tools/ Build Systems and C++ or Ruby to make this the default build. Then Tools, Build followed possibly by Tools/ Run. Check the Console (Ctrl ’ (apostrophe or back-tick)) for any errors.
This is my C++ build file - I think I had to modify it slightly:
[code]{
“cmd”: “g++”, “${file}”, “-o”, “${file_path}/${file_base_name}”],
“file_regex”: “^(…^:]):([0-9]+):?([0-9]+)?:? (.)$”,
“working_dir”: “${file_path}”,
“selector”: “source.c, source.c++”,
"variants":
{
"name": "Run",
"cmd": "${file_base_name}.exe"]
//"cmd": "bash", "-c",
//"g++ '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"]
}
]
}[/code]
Here’s my Ruby build but I don’t think I modified it:
{
"cmd": "ruby", "$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.ruby"
}
0 Likes