Re: VER 4.0.2 ERROR building DLL
- Posted by SDPringle Jun 09, 2011
- 1158 views
By "directory" did you mean your EUPHORIA install directory?
C:\Users\Shawn\Documents\development\test>mkdir hash# C:\Users\Shawn\Documents\development\test>cd hash# C:\Users\Shawn\Documents\development\test\hash#>junction EUDIR C:\Progra~1\eupho ria Junction v1.06 - Windows junction creator and reparse point viewer Copyright (C) 2000-2010 Mark Russinovich Sysinternals - www.sysinternals.com Created: C:\Users\Shawn\Documents\development\test\hash#\EUDIR Targetted at: C:\Progra~1\euphoria C:\Users\Shawn\Documents\development\test>set EUDIR=c:\Users\Shawn\Documents\dev elopment\test\hash#\EUDIR C:\Users\Shawn\Documents\development\test>euc -wat -dll testdll.e -o testdll.dll Build directory: build-742047\ Translating code, pass: 1 2 3 generating Compiling with Watcom Compiling 12% init-.c Compiling 50% testdll.c Compiling 75% main-.c Linking 100% ..\testdll.dll Error! E2008: cannot open c:\Users\Shawn\DOCUME~1\DEVELO~1\test\hash.obj I: No such file or directory Unable to link C:\Users\Shawn\Documents\development\test\testdll.dll Status: 1 Command: wlink @testdll.lnk
The installer should stop these problems before they can occur. It could check the install directory against some strict pattern before installing. We want to be able to support non-English OSes as well. It would be useful if we could convert to the short name of the directory in the installer if available. That way, I would be confident that eu.cfg would contain an 8.3 compliant, 16-bit DOS days version of the file path. Failing that, check against some pattern that excludes these punctuation marks and spaces.