FredKohler Posted July 24, 2006 Share Posted July 24, 2006 I get a strange error when trying to build the latest source for Paint.net. Can anyone give me a clue what this is about? Double clicking this doesn't take to an error line in the source code. If this question is lame I apologize in advance. I'm a fairly new convert from Dephi to Visual Studio. The error: Error 1 The command "@rem Embed manifest call "D:\My Documents\Visual Studio 2005\Projects\Paint.net\Manifests\embedManifest.bat" "D:\My Documents\Visual Studio 2005\Projects\Paint.net\SetupNgen\bin\Release\SetupNgen.exe" "D:\My Documents\Visual Studio 2005\Projects\Paint.net\Manifests\asInvoker.xml" call "D:\My Documents\Visual Studio 2005\Projects\Paint.net\Manifests\embedManifest.bat" "D:\My Documents\Visual Studio 2005\Projects\Paint.net\SetupNgen\obj\Release\SetupNgen.exe" "D:\My Documents\Visual Studio 2005\Projects\Paint.net\Manifests\requireAdministrator.xml" @rem Sign rem call "D:\My Documents\Visual Studio 2005\Projects\Paint.net\signfile.bat" "D:\My Documents\Visual Studio 2005\Projects\Paint.net\SetupNgen\obj\Release\SetupNgen.exe" rem call "D:\My Documents\Visual Studio 2005\Projects\Paint.net\signfile.bat" "D:\My Documents\Visual Studio 2005\Projects\Paint.net\SetupNgen\bin\Release\SetupNgen.exe" " exited with code 1. SetupNgen Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 24, 2006 Share Posted July 24, 2006 mt.exe is probably not in your PATH. It comes with Visual Studio 2005. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
FredKohler Posted July 28, 2006 Author Share Posted July 28, 2006 Thanks for your suggestion. After adding mt.exe to the PATH environment variable I also got this error several times. (with file mt.exe) Error 1 Unexpected/Unknown option "Documents\Visual". Use the /? option for help on usage and samples. D:\My Documents\Visual Studio 2005\Projects\paintdotnet\src\mt.exe paintdotnet The fragments of the path gave me a clue. I moved the whole project folder to the root directory of the drive and the build succeeded. mt.exe obviously has a problem with paths with spaces in them. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 28, 2006 Share Posted July 28, 2006 I don't think our build process has ever been compatible with paths that have spaces in them. I can't remember if the readme.txt mentions this or not. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
FredKohler Posted July 29, 2006 Author Share Posted July 29, 2006 I read the readmes and didn't see mention of it. Why wouldn't you support paths with spaces if the operating system does? Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 29, 2006 Share Posted July 29, 2006 I just haven't tried building from a location that has spaces in it. When there are problems in this area it's usually from not quote-escaping pathnames, especially when expanding environment or build variables. For example, if part of my build script looks like this, some_command %BUILDPATH%\%BUILDCONFIG%\blah.exe If BUILDPATH or BUILDCONFIG expand out to have spaces in them, then 'some_command' will end up with what it believes are multiple command line parameters. It's not that we don't "support" paths with spaces in them, we just don't really use them ourselves and it doesn't cause us trouble. As for mt.exe not being in the readme.txt, that's just a simple oversight. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
FredKohler Posted July 31, 2006 Author Share Posted July 31, 2006 Paint.NET is a great product and now that I've got it building I intend to develop a couple of custom plug-ins for doing wallpaper. Thanks for bringing it to us. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.