View Single Post
Old 09-21-2018, 04:39 PM   #469
mobman
Junior Member
mobman began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2018
Device: Pocketbook Touch HD
Hey,

There is an issue with the "Fit height in portrait fit width in landscape" for comics with two pages by file.
I need to press next two time to go at the other edge of the image, which shouldn't occur because the width of the image is less wide than two time the screen width.
For some images it works, I don't know if it's because they are less wide of because their resolution is smaller.

So, I tried to mess with the code but I can't compile
I get that on STDIN:
Spoiler:

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
-- Check for working C compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc -- broken
CMake Error at /usr/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler

"/home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_dae0a/fast"
/usr/bin/make -f CMakeFiles/cmTC_dae0a.dir/build.make CMakeFiles/cmTC_dae0a.dir/build
make[1]: Entering directory '/home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_dae0a.dir/testCCompiler.c.o
/home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc -DPLATFORM_FC -I/home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeTmp/../../SDK_481/include/c++/4.1.2 -I/home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeTmp/../../SDK_481/include -o CMakeFiles/cmTC_dae0a.dir/testCCompiler.c.o -c /home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeTmp/testCCompiler.c
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [CMakeFiles/cmTC_dae0a.dir/build.make:66: CMakeFiles/cmTC_dae0a.dir/testCCompiler.c.o] Error 4
make[1]: Leaving directory '/home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_dae0a/fast] Error 2




CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)


-- Configuring incomplete, errors occurred!
See also "/home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeOutput.log".
See also "/home/mobman/PBDEV/sources/pbimageviewer-src/pb-fw5/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
Failed compiling binary!

And here is part of CMakeError.log:
Spoiler:

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags:

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags: -c

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags: -Aa

The output was:
1
<command-line>:0:1: error: missing '(' after predicate


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags: -D__CLASSIC_C__

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags:

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags: -c

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags: -Aa

The output was:
1
<command-line>:0:1: error: missing '(' after predicate


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-gcc
Build flags:
Id flags: -D__CLASSIC_C__

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
arm-obreey-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
arm-obreey-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-g++
Build flags:
Id flags:

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-g++: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-g++
Build flags:
Id flags: -c

The output was:
4
as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
arm-obreey-linux-gnueabi-g++: internal compiler error: Aborted (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-g++
Build flags:
Id flags: --c++

The output was:
1
arm-obreey-linux-gnueabi-g++: error: unrecognized command line option '--c++'


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /home/mobman/PBDEV/sources/pbimageviewer-src/../../SDK_481/bin/arm-obreey-linux-gnueabi-g++
Build flags:
Id flags: --ec++

The output was:
1
arm-obreey-linux-gnueabi-g++: error: unrecognized command line option '--ec++'
mobman is offline   Reply With Quote