Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » UWord class: link problem
Re: UWord class: link problem [message #43414 is a reply to message #43412] |
Sat, 26 July 2014 08:52  |
|
forlano wrote on Fri, 25 July 2014 20:59after your question I added "PdfDraw" in the app.upp file and it worked!
I do not know why it was non included automatically.
Hi Luigi,
Congratulations to solving it on your own 
I think it happened like this: On your screenshot above, I can see PdfDraw among the packages. This fooled you into thinking that it is compiled in your package, but actually, the PdfDraw was only conditionally included by CtrlLib (which uses it on non-windows systems). So it was shown there, but not compiled, because you were building on windows. Adding it to your package just made it unconditional.
It is always a good idea to add every package you use into the dependencies, even if some other package already provides it. It improves readability and saves trouble later, when other packages dependencies change or when you try to reuse package in another project 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Jun 01 14:40:01 CEST 2025
Total time taken to generate the page: 0.02123 seconds
|