72 lines
3.6 KiB
Plaintext
72 lines
3.6 KiB
Plaintext
|
Looking for a ASM_NASM compiler failed with the following output:
|
||
|
-- The ASM_NASM compiler identification is unknown
|
||
|
-- Didn't find assembler
|
||
|
CMake Error at CMakeLists.txt:2 (project):
|
||
|
No CMAKE_ASM_NASM_COMPILER could be found.
|
||
|
|
||
|
Tell CMake where to find the compiler by setting either the environment
|
||
|
variable "ASM_NASM" or the CMake cache entry CMAKE_ASM_NASM_COMPILER to the
|
||
|
full path to the compiler, or to the compiler name if it is in the PATH.
|
||
|
|
||
|
|
||
|
-- Configuring incomplete, errors occurred!
|
||
|
See also "/home/dd/Documents/Azure-Kinect-Sensor-SDK/build/extern/libjpeg-turbo/CMakeFiles/CheckASM_NASM/CMakeFiles/CMakeOutput.log".
|
||
|
See also "/home/dd/Documents/Azure-Kinect-Sensor-SDK/build/extern/libjpeg-turbo/CMakeFiles/CheckASM_NASM/CMakeFiles/CMakeError.log".
|
||
|
|
||
|
Performing C SOURCE FILE Test RIGHT_SHIFT_IS_UNSIGNED failed with the following compile output:
|
||
|
Change Dir: /home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-lm3Kf7
|
||
|
|
||
|
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_efaec/fast && /usr/bin/gmake -f CMakeFiles/cmTC_efaec.dir/build.make CMakeFiles/cmTC_efaec.dir/build
|
||
|
gmake[1]: Entering directory '/home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-lm3Kf7'
|
||
|
Building C object CMakeFiles/cmTC_efaec.dir/src.c.o
|
||
|
/usr/bin/cc -DRIGHT_SHIFT_IS_UNSIGNED -fPIE -o CMakeFiles/cmTC_efaec.dir/src.c.o -c /home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-lm3Kf7/src.c
|
||
|
Linking C executable cmTC_efaec
|
||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_efaec.dir/link.txt --verbose=1
|
||
|
/usr/bin/cc -rdynamic CMakeFiles/cmTC_efaec.dir/src.c.o -o cmTC_efaec
|
||
|
gmake[1]: Leaving directory '/home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-lm3Kf7'
|
||
|
|
||
|
|
||
|
...and run output:
|
||
|
|
||
|
Return value: 1
|
||
|
Source file was:
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
int is_shifting_signed (long arg) {
|
||
|
long res = arg >> 4;
|
||
|
if (res == -0x7F7E80CL)
|
||
|
return 1; /* right shift is signed */
|
||
|
/* see if unsigned-shift hack will fix it. */
|
||
|
/* we can't just test exact value since it depends on width of long... */
|
||
|
res |= (~0L) << (32-4);
|
||
|
if (res == -0x7F7E80CL)
|
||
|
return 0; /* right shift is unsigned */
|
||
|
printf("Right shift isn't acting as I expect it to.\n");
|
||
|
printf("I fear the JPEG software will not work at all.\n\n");
|
||
|
return 0; /* try it with unsigned anyway */
|
||
|
}
|
||
|
int main (void) {
|
||
|
exit(is_shifting_signed(-0x7F7E80B1L));
|
||
|
}
|
||
|
|
||
|
Performing C SOURCE FILE Test __CHAR_UNSIGNED__ failed with the following compile output:
|
||
|
Change Dir: /home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-3owm6Q
|
||
|
|
||
|
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_79a9d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_79a9d.dir/build.make CMakeFiles/cmTC_79a9d.dir/build
|
||
|
gmake[1]: Entering directory '/home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-3owm6Q'
|
||
|
Building C object CMakeFiles/cmTC_79a9d.dir/src.c.o
|
||
|
/usr/bin/cc -D__CHAR_UNSIGNED__ -fPIE -o CMakeFiles/cmTC_79a9d.dir/src.c.o -c /home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-3owm6Q/src.c
|
||
|
Linking C executable cmTC_79a9d
|
||
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_79a9d.dir/link.txt --verbose=1
|
||
|
/usr/bin/cc -rdynamic CMakeFiles/cmTC_79a9d.dir/src.c.o -o cmTC_79a9d
|
||
|
gmake[1]: Leaving directory '/home/dd/Documents/Azure-Kinect-Sensor-SDK/build/CMakeFiles/CMakeScratch/TryCompile-3owm6Q'
|
||
|
|
||
|
|
||
|
...and run output:
|
||
|
|
||
|
Return value: 1
|
||
|
Source file was:
|
||
|
int main(void) { return ((char) -1 < 0); }
|
||
|
|