I'm trying to compile a C++ source file that includes the following file:
#include "public.sdk/source/vst2.x/audioeffectx.h"
When I try to compile, I get the following error:
In file included from
/Users/martin/Desktop/vstsdk2.4/public.sdk/samples/vst2.x/again/source/again.cpp:13:
/Users/martin/Desktop/vstsdk2.4/public.sdk/samples/vst2.x/again/source/again.h:16:51:
error: public.sdk/source/vst2.x/audioeffectx.h: No such file or directory
Looks like g++ can't find the audioeffectx.h. How can I set up TextMate to
tell g++ that it should look in "/Users/martin/Desktop/vstsdk2.4/"?
--
View this message in context: http://old.nabble.com/Setting-C%2B%2B-Include-Paths-tp30037571p30037571.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi everyone, I'm trying to write a TM command that will set up some FIFOs, launch a process connected to those, and then the command will exit, the idea being that other commands can subsequently talk to the running process using the named pipes.
In my case I'm trying to set up communications with MATLAB; I have to use it for work, but I'm no great fan of the interface and spend most of my time writing scripts with TM instead, so this is just trying to take it to the next level. I see that this same thing has been brought up a few times before on the mailing list, and that the approach using named pipes is the usual suggestion. However, when I try to implement this inside a TM command, the command doesn't exit until the launched process also exits.
Inside a testing directory, I have test_script.sh:
pwd
mkfifo in
mkfifo out
nohup bash -s < in &> out &
bashpid=$!
# disown $bashpid
echo $bashpid
echo Done
When I run this script from Terminal, everything works as expected: a new bash gets started up in the background, its parent is launchd, I can pass in commands and read output from the in and out pipes, and it persists even if I close Terminal.
Now if I put the same script inside a TM command and then run the command inside a file (which is saved in the same testing directory), the command hangs until I go pipe 'exit' or something into in and read from out. I would expect the command to immediately exit; does anyone know why it doesn't? Thanks in advance!
-Daniel
I've installed a few perl modules at the command line but they are not
seen in TextMate. What happens is that if I run code (Cmd+r) from
within TextMate that calls a module that I've installed, TextMate
can't find it: Can't locate LaTeX/Driver.pm in @INC...
Investigating this I find that TextMate is calling Perl 5.8.8 whereas,
at the command line, perl -V tells me 5.8.9. So TextMate is calling a
different perl version to the one the modules are installed under.
How do I change which perl version TextMate uses?
I've had a look in the bundle at the Run Script command and that
references ENV["TM_PERL"] but I'm not sure where this is set. Can
anyone help with this?
--
Justin C, by the sea.
Hi Craig,
Thanks! That did the trick.
My version is below. I changed the colors to match TextMate's and I had to
change "meta_diff_header" to "meta_diff_range."
.markup_deleted_diff{ background:#f54; color:white; display:block; }
.markup_inserted_diff{ background:#7f8; display:block; }
.meta_diff_range{ background:#47d; color:#fff; display:block; }
Thanks again!
Arturo
Hi Arturo,
Once you do the output to HTML it looks like there are classes applied to everything that would be easy enough to style. I added the following to the style block in my HTML output and it started to come pretty close to the regular syntax highlighting that I use....
.markup_deleted_diff{ background:red; color:white; display:block; }
.markup_inserted_diff{ background:#0f0; display:block; }
.meta_diff_header{ background:#00f; color:#fff; display:block; }
Obviously you could tweak it however you like. Once I added those I saved it to html and printed from the browser (make sure "print background colors" is enabled).
Hope this helps,
Craig
------------------------------------------------------------------------------
Craig Edmond
Creative Lead/Senior Web Designer
finalsite | web software and services for schools
email: craig.edmond(a)finalsite.com<mailto:craig.edmond@finalsite.com>
Hi,
I would like to share the output of diff with some colleagues in a document
(pdf, html) with syntax highlighting so that it is easy to read.
Syntax highlighting in TextMate for a text file with the output is great,
but I cannot figure out how to export with syntax highlighting (html didn't
work) after an hour or so of research.
Any help would be appreciated.
Arturo
Hi,
I'd like to know if it is possible to do a search and replace on some keys
in all bundles and replace them with something else.
Reason, Swedish keyboard doesn't work very well with TextMate.
Mikael Henriksson
Tel: +46 (0) 730- 393 200
mikael(a)zoolutions.se
Hello,
I'm getting used to ctrl-h to replace backspace (as it's simpler to hit, especially when making caps-lock being ctrl), and it works in many places in OS X, except with TextMate, where it invokes the help. I could not find where to change that shortcut so that it becomes backspace instead of help. Is there a bundle involved?
Thanks,
Alan
Sorry for what seems like a really noob question, but I'm ripping my hair out
on this one.
Was working away on a Rails app when I hit what I thought was
<ctl><opt><shift>D. suddenly every .rb file in all of my apps lost all
color. everything is black and white and I can no longer see the comments,
etc. in different colors.
Screenshot:
http://screencast.com/t/mZxoClq34UJ
thanks in advance
--
View this message in context: http://old.nabble.com/.rb-files-turned-black-and-white-tp30021873p30021873.…
Sent from the textmate users mailing list archive at Nabble.com.