-
Huang YU-LUN
- PowerBuilder
- Tuesday, 28 April 2026 09:27 AM UTC
I apologize for the inaccurate description in my previous message. After further investigation, I realized that the issue occurs when using PBAutoBuild250 for the build process.
Environment & Workflow: Since our build server is unlicensed, I use the following workflow to update the source code:
Development Machine: Use the PowerBuilder IDE to Export objects (Windows .srw or DataWindows .srd).
Build Server: Back up the original files, then manually overwrite the corresponding .srw or .srd files in the source folders with the exported versions.
Execution: Run PBAutoBuild250 to perform the build.
The Issue: During the build process, I encounter the following compilation errors:
[Error] UTF-16 (LE) byte order mark detected in '...', but encoding is not supported
[Error] Error C0248: Missing definition of top-level type '...' after 'end forward'.
[Error] Failed to compile the target file.
Questions:
Given this environment, what is the recommended workflow to develop in the IDE and build via PBAutoBuild250?
Is there a mistake in my manual update process? Should I be copying the source files directly via File Explorer (from the Solution Project/PBL directory) instead of using the "Export" function in the IDE to avoid these encoding issues?
Does PBAutoBuild250 require a specific encoding format for source files that the IDE's Export function might be changing?
I look forward to your professional guidance on the correct deployment and build procedures.
Thank you for your understanding.
Best regards
Huang
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.