purebasic
purebasic copied to clipboard
PureBasic Library SDK: Add Notes on LibraryMaker.exe Usage
In the PureBasic Library SDK documentation (now converted to AsciiDoc) it's worth mentioning that LibraryMaker.exe
(for Windows) won't work as expected if invoked from within the SDK\
folder of a default installation (i.e. under %PROGRAMFILES%
or %PROGRAMFILES(X86)%
) due to permissions restrictions which will prevent writing new files.
We should probably add an admonition block (WARNING
) clarifying the issue and providing instructions on how to work around the problem. There are two possible solutions:
- Install PureBasic on another partition (i.e. not the system drive, usually
C:
), if possible (otherwise, lacking partitions, use a non-protected folder).- [ ] Need to check: does the installation process make the directory tree protected anyhow, regardless of the partition?
- Copy the
LibraryMaker.exe
binary somewhere else, in a non-protected working folder. But in order for this solution to work, the same directory structure expected byLibraryMaker.exe
needs to be created (i.e. one needs to mimic some of the PB folders structures).- I've tested this, and it works. Just need to remember the exact directory structure which is required.
-
LibraryMaker.exe
won't create the output folder if not found (it has to be created beforehand).