Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javadoc Encoding Issue #1026

Closed
devjeonghwan opened this issue Mar 24, 2021 · 2 comments · Fixed by #1020
Closed

Javadoc Encoding Issue #1026

devjeonghwan opened this issue Mar 24, 2021 · 2 comments · Fixed by #1020
Labels

Comments

@devjeonghwan
Copy link
Member

I got error when build java doc.

NVCodec #1020

[ERROR] MavenReportException: Error while generating Javadoc:
Exit code: 1 - D:\JavaCpp-Contribute\javacpp-presets\nvcodec\src\gen\java\org\bytedeco\nvcodec\nvencodeapi\NV_ENC_RC_PARAMS.java:111: error: unmappable character (0x9C) for encoding UTF-8
                                                                                                by adjusting the quantization parameter (QP) assigned to each macroblock. This adjustment is commonly called ??Delta QP??.
                                                                                                                                                                                                              ^
D:\JavaCpp-Contribute\javacpp-presets\nvcodec\src\gen\java\org\bytedeco\nvcodec\nvencodeapi\NV_ENC_RC_PARAMS.java:112: error: unmappable character (0x99) for encoding UTF-8
                                                                                                The adjustment depends on the absolute QP decided by the rate control algorithm, and is applied after the rate control has decided each macroblock??s QP.
                                                                                                                                                                                                                                                   ^

Command line was: "C:\Program Files\ojdkbuild\java-11-openjdk-11.0.10-1\bin\javadoc.exe" -J-Xmx2048m -J-Xms256m @options @packages

Refer to the generated Javadoc files in 'D:\JavaCpp-Contribute\javacpp-presets\nvcodec\target\apidocs' dir.

org.apache.maven.reporting.MavenReportException:
Exit code: 1 - D:\JavaCpp-Contribute\javacpp-presets\nvcodec\src\gen\java\org\bytedeco\nvcodec\nvencodeapi\NV_ENC_RC_PARAMS.java:111: error: unmappable character (0x9C) for encoding UTF-8
                                                                                                by adjusting the quantization parameter (QP) assigned to each macroblock. This adjustment is commonly called ??Delta QP??.
                                                                                                                                                                                                              ^
D:\JavaCpp-Contribute\javacpp-presets\nvcodec\src\gen\java\org\bytedeco\nvcodec\nvencodeapi\NV_ENC_RC_PARAMS.java:112: error: unmappable character (0x99) for encoding UTF-8
                                                                                                The adjustment depends on the absolute QP decided by the rate control algorithm, and is applied after the rate control has decided each macroblock??s QP.
                                                                                                                                                                                                                                                   ^

Command line was: "C:\Program Files\ojdkbuild\java-11-openjdk-11.0.10-1\bin\javadoc.exe" -J-Xmx2048m -J-Xms256m @options @packages

Refer to the generated Javadoc files in 'D:\JavaCpp-Contribute\javacpp-presets\nvcodec\target\apidocs' dir.

TensorRT

org.apache.maven.reporting.MavenReportException:
Exit code: 1 - D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\DynamicPluginTensorDesc.java:48: error: unmappable character (0x99) for encoding UTF-8
    /** Lower bounds on tensor??s dimensions */
                               ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\DynamicPluginTensorDesc.java:51: error: unmappable character (0x99) for encoding UTF-8
    /** Upper bounds on tensor??s dimensions */
                               ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\IAlgorithmSelector.java:46: error: unmappable character (0x99) for encoding UTF-8
     *        If return value is 0, TRT??s default algorithm selection is used unless strict type constraints are set.
                                        ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\IElementWiseLayer.java:30: error: unmappable character (0xEFBC) for encoding UTF-8
//??
  ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\IErrorRecorder.java:61: error: unmappable character (0x99) for encoding UTF-8
    // Public API??s used to retrieve information from the error recorder.
                  ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\IErrorRecorder.java:165: error: unmappable character (0x99) for encoding UTF-8
    // API??s used by TensorRT to report Error information to the application.
           ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\IExecutionContext.java:540: error: unmappable character (0x99) for encoding UTF-8
     *  application??s responsibility to guarantee that synchronization between
                    ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\ILoopOutputLayer.java:32: error: unmappable character (0x9C) for encoding UTF-8
 *  The second input must be a scalar ??shape tensor??, defined before the loop commences,
                                       ^
D:\JavaCpp-Contribute\javacpp-presets\tensorrt\src\gen\java\org\bytedeco\tensorrt\nvinfer\IRefitter.java:42: error: unmappable character (0x99) for encoding UTF-8
     *  * The number of weights is inconsistent with the layer??s original specification.
                                                               ^

Command line was: "C:\Program Files\ojdkbuild\java-11-openjdk-11.0.10-1\bin\javadoc.exe" -J-Xmx2048m -J-Xms256m @options @packages

Refer to the generated Javadoc files in 'D:\JavaCpp-Contribute\javacpp-presets\tensorrt\target\apidocs' dir.

i think reason is some header files have unicode character.

do I need to remove the unicode characters from header file in google drive? or something i can do using Info()?

@saudet
Copy link
Member

saudet commented Mar 24, 2021

@devjeonghwan
Copy link
Member Author

Ok i will try like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants