Red language not compiling for Android - rebol

I have a small GUI program in Red language that runs very well but is not compiling for Android. I am using following command on Debian Stable Linux (which successfully makes applications for Windows and for Mac):
$ wine red-063.exe -c -r -t Android-x86 myapp.r
But I get following error messages:
Target: Android-x86
Compiling to native code...
*** Warning: OS_TYPE macro in R/S is redefined
*** Compilation Error: invalid path value: image/encode
*** in file: %environment/codecs/png.red
*** in function: exec/ctx259~encode
*** at line: 1
*** near: [as cell! image/encode img where IMAGE_PNG]
I get same error messages if I use Android instead of Android-x86. Where is the problem?

GUI for Android is planned for 0.65

Related

Error in Compiling DLPC3010 DLPC-API in jetson Nano

I am trying to compile DLPC Projector APIs in the jetson nano. However, it is throwing an error as in added snapshot. I came across one solution here. However it is not being helpful.
DLPC-APS - https://www.ti.com/tool/DLPC-API
ig#ig-desktop:~/Desktop/Texas Instruments/DLPC-API-1.8/samples/dlpc654x_samples/build$ cmake ../
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ig/Desktop/Texas Instruments/DLPC-API-1.8/samples/dlpc654x_samples/build
ig#ig-desktop:~/Desktop/Texas Instruments/DLPC-API-1.8/samples/dlpc654x_samples/build$ make
[ 4%] Building C object CMakeFiles/libdlpc654x_sample.dir/home/ig/Desktop/Texas_Instruments/DLPC-API-1.8/api/dlpc_common.c.o
cc: error: unrecognized command line option ‘-m32’
CMakeFiles/libdlpc654x_sample.dir/build.make:75: recipe for target 'CMakeFiles/libdlpc654x_sample.dir/home/ig/Desktop/Texas_Instruments/DLPC-API-1.8/api/dlpc_common.c.o' failed
make[2]: *** [CMakeFiles/libdlpc654x_sample.dir/home/ig/Desktop/Texas_Instruments/DLPC-API-1.8/api/dlpc_common.c.o] Error 1
CMakeFiles/Makefile2:88: recipe for target 'CMakeFiles/libdlpc654x_sample.dir/all' failed

Kotlin native; compilation failed: cannot run msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/clang++

I use Windows 7 and followed Get started with Kotlin/Native using the command-line compiler, downloaded kotlin-native-windows-1.5.10.zip and added its bin to the PATH of system. But when I try kotlinc-native hello.kt -o hello, get this error:
error: compilation failed: Cannot run program "C:\Users\<user-name>\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/clang++": CreateProcess error=193, %1 is not a valid Win32 application
What is the problem and how I can solve that?
Edit:
It seems the problem is caused by clang++.exewhich is in
C:\Users\<user-name>\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/
because when I try to run it, I get this error:
clang++ is not a valid Win32 application

QT LimeReport on RPI4

I am using QT LimeReport on my UBUNTU 18.04 system although i wanted to use it on RPI4.
But i couldn't find any documentation for it and i tried cloning LimeReport from github but it gives error when i use "make".
The error i get is related to
Project ERROR: Unknown module(s) in QT: designercomponents-private
make[1]: *** [Makefile:818: Makefile] Error 3
make[1]: Leaving directory '/home/pi/Desktop/LimeReport/limereport'
make: *** [Makefile:93: sub-limereport-make_first-ordered] Error 2
Has anyone successfully installed and used LimeReport using QT c++ on RPI4.
Install the qttools5-private-dev package to get the missing designercomponents-private QMake file.

Errors compiling ArangoDB on Raspbian

I'm compiling ArangoDB 3.2.3 from source on my RaspberryPi 3 Model B. I'm adapting the build process from here: https://docs.arangodb.com/3.1/cookbook/Compiling/Debian.html
cmake runs fine, but make gives the following errors:
`
[ 1%] Performing build step for 'v8_build'
CXX(target) /home/pi/arango-src/ArangoDB-3.2.3/build/3rdParty/V8/v5.7.0.0/ia32.release/obj.target/icui18n/third_party/icu/source/i18n/affixpatternparser.o
c++: error: unrecognized command line option ‘-msse2’
c++: error: unrecognized command line option ‘-mfpmath=sse’
c++: error: unrecognized command line option ‘-mmmx’
`
OK, I got some feedback on ArangoDB's slack channel. Apparently the DBMS requires an ARM7 CPU, so it's not possible to compile it for the RaspberryPi.

CMake build failed with error 'SecTrustEvaluateAsync' undeclared when using gcc 5.3 on OS X

I am trying to build CMake 3.5.2 from source on Mac El Captain using GNU GCC 5.3 from HPC.
The ./bootstrap process is completed successfully but when i am using make is failing with the following error.
/Users/dev/Downloads/CMake-master/Utilities/cmcurl/lib/vtls/darwinssl.c: In function ‘darwinssl_connect_step3’:
/Users/dev/Downloads/CMake-master/Utilities/cmcurl/lib/vtls/darwinssl.c:1999:6: error: ‘SecTrustEvaluateAsync’ undeclared (first use in this function)
if(SecTrustEvaluateAsync != NULL) {
^
/Users/dev/Downloads/CMake-master/Utilities/cmcurl/lib/vtls/darwinssl.c:1999:6: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/vtls/darwinssl.c.o] Error 1
make[1]: *** [Utilities/cmcurl/lib/CMakeFiles/cmcurl.dir/all] Error 2
make: *** [all] Error 2
The same process worked fine when I was using the default clang compiler provided with Mac OS.
When I tried finding about SecTrustEvaluateAsync I found the following information in the apple site.
Any help on this is highly appreciated.
You might try the latest CMake 3.6-rc1. If the problem persists, file a bug to notice the CMake developers. We probably won't fix CMake's code.