object building in windows with netbeans
I am very new in c programming as well as object building for max/msp .
I have made a few first atempts in oscx enviroment , however since my main computer is a xp machine i've been trying to configure it in windows.
Up until now i've managed to use netbeans with cygwin for general c programming , however i still have trouble trying to configure cygwin or netbeans to build max-msp objects.
I've read the text on cygwin configuration , however i haven't been able to do what it says (i can't access any folders outside the cygwin root directory)
I also tried to build a project in netbeans that includes the header files, etc but i don't seem to be able to make this work either .
Any ideas about how i should go in making this works ?
thanks for any help
p
[quote](i can't access any folders outside the cygwin root directory)[/quote]
i run xp and use cygwin heavily (as in, i *always* have a bash shell open in rxvt). however, i've been using visual studio for years now and i've grown accustomed to it... so i can't recall having ever compiled max externals from within cygwin.
however... a useful thing to note about cygwin:
cygwin contains directory mappings for the root folder of each drive (partition) on your computer... but they're hard to find. they don't exactly show up in normal directory listings or auto-completion in the shell. but, you can access them at
"/cygdrive/*" where the * is the drive letter... so for "C:" use "/cygdrive/c/"
to make life easier i make sym-links (or hard-links if you're particularly nuts) to them in my root cygwin directory
so ("ln -s /cygdrive/c /c")
from there you should be able to access any file on any drive... which might be what you need
zer0ist is right -- /cygwin/c is prefixed in all the paths; one thing
you'll want to verify in your configurations is running env to se what
environment variables are set with this prefix (this is possible in XP
since bash & env should be a part of the cygwin distribution). Running
'env' you'll see all of the /cygdrive prefixes.
On Jan 23, 2008 12:36 PM, thezer0ist wrote:
>
> [quote](i can't access any folders outside the cygwin root directory)[/quote]
>
> i run xp and use cygwin heavily (as in, i *always* have a bash shell open in rxvt). however, i've been using visual studio for years now and i've grown accustomed to it... so i can't recall having ever compiled max externals from within cygwin.
>
> however... a useful thing to note about cygwin:
>
> cygwin contains directory mappings for the root folder of each drive (partition) on your computer... but they're hard to find. they don't exactly show up in normal directory listings or auto-completion in the shell. but, you can access them at
> "/cygdrive/*" where the * is the drive letter... so for "C:" use "/cygdrive/c/"
> to make life easier i make sym-links (or hard-links if you're particularly nuts) to them in my root cygwin directory
> so ("ln -s /cygdrive/c /c")
>
> from there you should be able to access any file on any drive... which might be what you need
>
>
>
>
/cygdrive/c/
On Jan 23, 2008 6:48 PM, Brandon Nickell wrote:
> zer0ist is right -- /cygwin/c is prefixed in all the paths; one thing
> you'll want to verify in your configurations is running env to se what
> environment variables are set with this prefix (this is possible in XP
> since bash & env should be a part of the cygwin distribution). Running
> 'env' you'll see all of the /cygdrive prefixes.
>
>
> On Jan 23, 2008 12:36 PM, thezer0ist wrote:
> >
> > [quote](i can't access any folders outside the cygwin root directory)[/quote]
> >
> > i run xp and use cygwin heavily (as in, i *always* have a bash shell open in rxvt). however, i've been using visual studio for years now and i've grown accustomed to it... so i can't recall having ever compiled max externals from within cygwin.
> >
> > however... a useful thing to note about cygwin:
> >
> > cygwin contains directory mappings for the root folder of each drive (partition) on your computer... but they're hard to find. they don't exactly show up in normal directory listings or auto-completion in the shell. but, you can access them at
> > "/cygdrive/*" where the * is the drive letter... so for "C:" use "/cygdrive/c/"
> > to make life easier i make sym-links (or hard-links if you're particularly nuts) to them in my root cygwin directory
> > so ("ln -s /cygdrive/c /c")
> >
> > from there you should be able to access any file on any drive... which might be what you need
> >
> >
> >
> >
>