PDF compilation error solution -------- [Badboy], pdf compilation badboy
Today, when compiling PDF files, I found that the limit of z values in STL cannot be compiled,
Return GetRangeConstraint (value <= std: numeric_limits: max (), true );
The following error occurs:
Warning C4003: The real parameter of the "max" macro is insufficient.
Error C2589: "(": ":" illegal tag on the right
Google, we used to enclose max in parentheses to avoid macro confusion with windows.
Return GetRangeConstraint (value <= (std: numeric_limits: max (), true );
After modifying this code, I finally compiled the PDF file. Thanks to Google search, it may not be able to solve it without it.
No errors are displayed when you debug and compile the program. If you just run the program, it will show that the program has stopped working.
You can refer to the following situations,
1. An error occurs on the JVM virtual machine, that is, an error occurs in the Java development environment and has nothing to do with your program,
Solution: You can only try to reinstall the Java development environment.
2. RuntimeException occurs, such as NullPointerException and ArrayIndexOutOfBoundsException. errors such as RuntimeException may occur only when they are not displayed during compilation.
Solution: locate possible Errors Based on the exception information.
3. memory overflow, such as recursive calling of methods, large data volume, and accidental memory overflow.
Solution: run multiple times first. If all exceptions occur, unexpected memory overflow can be ruled out. If it is not accidental memory overflow, you have to check the source code that may cause memory overflow and correct it.
An error occurred while converting ppt to pdf.
When converting a PPT file to a PDF file, the following error occurs: "Compilation error in the implicit module. This is because your software is not properly installed. Next, reinstall the latest version! A little difficult!