4 ms·
I could not find any information on how to compile the compiler itself. Trying to run this on CentOS 7 fails because it is looking for libjpeg.so.8, but CentOS
by chaz6 7y ago
I could not find any information on how to compile the compiler itself. Trying to run this on CentOS 7 fails because it is looking for libjpeg.so.8, but CentOS provides libjpeg.so.62.
- dmitrys99 7y agoYou need to rebuild QtByteRunner. Cd to platforms/qt/. There is a readme there for full explanation, but in short: - clone asmjit (https://github.com/area9innovation/asmjit.git https://github.com/area9innovation/asmjit.git) into platforms/common/cpp folder first (eventually we'll move to upstream asmjit, we use our copy of this lib yet); - make sure you have Qt 5.12.0 (or upper) available in your system; - review paths in QtByteRunner.pro, they're usually fit our needs, but in some cases may require changes; - run build.sh, it'll produce binary for your system. Then you'll be able to run flowcpp tool.
- dmitrys99 7y agoThe call chain is: - you run flowcpp and feed it with .flow file; - flowcpp see that it is source file and calls compiler - compiler produces .bytecode file - flowcpp executes .bytecode file and runs file you called. You can call compiler directly with flowc or flowc1 commands.
- chaz6 7y agoGreat, thanks for the explanation!