OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.42k stars 434 forks source link

[Building/Packaging] PDF Use error occured on windows 10,need help #1089

Open DummyUmon opened 2 months ago

DummyUmon commented 2 months ago

image

Describe the problem I debugged and found that it was occured here,new PDFDoc failed。 Than I found it can successfully used when I open it in exe with administrator privileges It can not be used when I try to compile or debug in release and debug mode。

Versions Provide version information for all components and libraries.

Error messages an error occured while trying to open the PDF file

Suggestions, solutions Provide your suggestions here if you already have some idea how to solve the problem.

DummyUmon commented 2 months ago

Is that any Problem with poppler? What Can I do to solve it.

letsfindaway commented 2 months ago

Is that any Problem with poppler? What Can I do to solve it.

It is most probably not a poppler problem. You said that it works when you start it as administrator? Then it looks for me like an access rights problem.

You could try to log the result of mDocument->getErrorCode(). The error codes are defined here.