- Robert Jones
- PowerBuilder
- Tuesday, 11 June 2019 08:26 PM UTC
Hi Folks,
I'm working on a compiler front-end for building our Powerbuilder applications. I've been using the pborca170.dll and the Orca API documentation as my guide.
My process is basically:
1. Bootstrap the application using PBORCA_CompileEntryImport, per the recommendation here.
2. Import objects into each PBL using PBORCA_CompileEntryImport.
3. Rebuild the application using PBORCA_ApplicationRebuild
4. Set the EXE info using PBORCA_SetExeInfo
4. Generate the EXE using PBORCA_ExecutableCreate
This seems to "work" for trivial applications, but once I move to our more complex products I run into a lot of compilation errors. Specifically, I get a bunch of errors during PBORCA_CompileEntryImport.
Most errors seem to be related to undefined symbols. But, these are just symbols that are defined in another PBL so I expect the references to get resolved during PBORCA_ApplicationRebuild (I've tried FULL_REBUILD, INCREMENTAL_REBUILD, and 3PASS here).
That does not happen though. My question: what is the critical piece/pieces I'm missing here?
AFAICT I have the session configured properly at each step of the way. I close the session and create a new one between bootstrapping the application and the rest of the process. I close and create new sessions when updating the library list.
Any help/advice is appreciated.
Thanks,
Rob
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.