c++.wxwindows - make reports invalid file with tilde
- chris elliott (11/11) Dec 23 2003 Hi- Having put wxWindows into c:\wxWindows, on win2k, the short path
- _ (16/27) Dec 25 2003 in the envirmonment set
- Cesar Rabak (12/35) Dec 26 2003 You have to look in the registry for an item called
- chris elliott (6/45) Dec 31 2003 Hi (and happy new year)
- Cesar Rabak (11/17) Jan 02 2004 Thanks!
Hi- Having put wxWindows into c:\wxWindows, on win2k, the short path name is wxWind~1 The current digitalmars make does not like file names with ~ in their path - draw020_sample.res : C:\wx\WXWIND~1\samples\sample.rc Error on line 56: '~' is not a valid filename char C:\wx\projects\draw020>make -v Digital Mars Make Version 5.04 Can you sort this please thanks chris
Dec 23 2003
"chris elliott" <biol75 york.ac.uk> wrote in message news:bs9erc$up1$1 digitaldaemon.com...Hi- Having put wxWindows into c:\wxWindows, on win2k, the short path name is wxWind~1in the envirmonment set do SET WXWIN=C:\wxWindows do not SET WXWIN=C:\wxWind~1 and it should have no problems, it's only spaces and (aparently) "-" and obviously "~" that need to be avoided, otherwise long filenames seem just fine here. including version specific naming eg I have 2 folders c:\wxWindows2.4.1 and c:\wxWindows2.4.2 both get declared fully for WXWIN env variable when apropriate and seem to be ok here :-) short 8.3 name versions fail due to tilde, if you feel you must use 8.3 shortmame I believe there is a registry tweak to stop windows using the tilde in the short 8.3 name version. I do not remember it offhand tho. HTH :-)The current digitalmars make does not like file names with ~ in their path - draw020_sample.res : C:\wx\WXWIND~1\samples\sample.rc Error on line 56: '~' is not a valid filename char C:\wx\projects\draw020>make -v Digital Mars Make Version 5.04 Can you sort this please thanks chris
Dec 25 2003
_ escreveu:"chris elliott" <biol75 york.ac.uk> wrote in message news:bs9erc$up1$1 digitaldaemon.com...You have to look in the registry for an item called "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" and if there is no already a key "NameNumericTail" you'll need to create one and assign value of zero to it. Caveat Emptor: this is tested only in Windows 9X! Don't know if would work in 2000 or XP. HTH -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/Hi- Having put wxWindows into c:\wxWindows, on win2k, the short path name is wxWind~1in the envirmonment set do SET WXWIN=C:\wxWindows do not SET WXWIN=C:\wxWind~1 and it should have no problems, it's only spaces and (aparently) "-" and obviously "~" that need to be avoided, otherwise long filenames seem just fine here. including version specific naming eg I have 2 folders c:\wxWindows2.4.1 and c:\wxWindows2.4.2 both get declared fully for WXWIN env variable when apropriate and seem to be ok here :-) short 8.3 name versions fail due to tilde, if you feel you must use 8.3 shortmame I believe there is a registry tweak to stop windows using the tilde in the short 8.3 name version. I do not remember it offhand tho.
Dec 26 2003
Cesar Rabak wrote:_ escreveu:Hi (and happy new year) I can set the path to avoid this on my development machine, but i wanted to prevent anyone who download wxwindows from having to worry about this. It would be nice if make or dmc could be fixed chris"chris elliott" <biol75 york.ac.uk> wrote in message news:bs9erc$up1$1 digitaldaemon.com...You have to look in the registry for an item called "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" and if there is no already a key "NameNumericTail" you'll need to create one and assign value of zero to it. Caveat Emptor: this is tested only in Windows 9X! Don't know if would work in 2000 or XP. HTHHi- Having put wxWindows into c:\wxWindows, on win2k, the short path name is wxWind~1in the envirmonment set do SET WXWIN=C:\wxWindows do not SET WXWIN=C:\wxWind~1 and it should have no problems, it's only spaces and (aparently) "-" and obviously "~" that need to be avoided, otherwise long filenames seem just fine here. including version specific naming eg I have 2 folders c:\wxWindows2.4.1 and c:\wxWindows2.4.2 both get declared fully for WXWIN env variable when apropriate and seem to be ok here :-) short 8.3 name versions fail due to tilde, if you feel you must use 8.3 shortmame I believe there is a registry tweak to stop windows using the tilde in the short 8.3 name version. I do not remember it offhand tho.
Dec 31 2003
chris elliott escreveu:Cesar Rabak wrote:[snipped]Thanks!Hi (and happy new year)I can set the path to avoid this on my development machine, but i wanted to prevent anyone who download wxwindows from having to worry about this. It would be nice if make or dmc could be fixedI see your point, and of course second it! Technicly speaking, we should not have a tools that forbids a filename construction that is costumary in the OS! Regards, -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/
Jan 02 2004