I can not compile with Haxe - haxe

I just set up Haxe with OpenFL and Neko and created a project. I'm trying to compile it and to compile a default project or a small program from a tutorial which has no errors and I can not compile anything. I receive the following messages:
Running command: haxe Export/linux64/neko/release/haxe/release.hxml
/usr/share/haxe/std/neko/_std/EReg.hx:33: characters 11-61 : Unsupported escaped char 's' and it finish compilation with "aborted".
Someone told me to downgrade neko to 2.0 or to upgrade Haxe, however the versions that installs from official repositories for Ubuntu following the tutorials from Haxe website are Haxe 3.2.1. and Neko 2.1.0 which seems to be incompatible. After searching I found a list of compatibility in the Haxe GitHub website that seems to be the reason of the issue:
Version compatibility
Haxe - neko
2.* - 1.*
3.0.0 - 2.0.0
3.1.3 - 2.0.0
3.2.0 - 2.0.0
3.3.0 - 2.1.0
I found the solution, I wanted to avoid building from source but there is no other way to install compatible versions of Haxe and Neko. After building version 3.4.0 of Haxe I can compile without problems. I hope this info is useful.

Related

warning: compiler may be ABI-incompatible with PyTorch, but only with one specific project

I have a conda environment with pytorch 1.1.0 installed, compatible with python 3.6.8 and cuda10.0.
I ran some simple examples of pytorch with this environment - everything seems to work well.
I pulled a project from github, and I get the following warning
(I don't get this warning with the code examples I ran):
Your compiler (c++) may be ABI-incompatible with PyTorch!
I tried to ignore the warning and let the code run, but I get a segmentation fault.
I wanted to understand the issue and solve it, I started with verifying the gcc version:
running the command:
gcc --version I get gcc 4.8.4
but through python print(sys.version) it prints
[GCC 7.3.0]
why is there a difference?
and if there's a difference - why the project I pulled from github shows the warning and my example code does not?
I want to avoid upgrading gcc because I need to have compatible to my tensorflow environments as well.
thanks

openCV library GLIBC compile error

I tried to compile an openCV application for RapsberryPi 2 with Lazarus-IDE(Pascal compiler) on Ubuntu x64 PC.
But, the compiler shows error :
ERROR IMAGE
Pre-compiled openCV library version : 2.4.8
Pre-compiled glibc library version : 2.19
Any idea?
The most likely explanation is that you are trying to link against a glibc version older than 2.15, while the library was compiled against glibc 2.15 or later.
If your target does not support glibc 2.15, you will have to recompile the library instead.

Which version of dcmtk is compatible with gcc version 4.8.2?

I am trying to install dcmtk 3.6.0 on my linux system gcc version 4.8.2. But i get an error "Resize which is part of ofoset.h is not defined in this scope". Upon reading, i realized that this happens due to mismatch in the versions of the dcmtk and gcc version. But i am not able to find the right one for my complier.
Any help will be deeply appreciated.
gcc version 4.8.2 was not available when DCMTK 3.6.0 was released (see INSTALL file). So, you should download the latest development snapshot of the DCMTK: http://blog.jriesmeier.com/2013/11/how-to-get-the-current-development-version-of-the-dcmtk/

Mismatch on antlr 4.4 runtime jar with antlr maven plugin 4.4

I am trying to build my antlr project using antlr 4.4. I am running with Maven but there seems to be a mismatch on the distributions of these tools. The only distribution of antlr-maven-plugin 4.4 that I can find is from Tunnelvision Labs. When I use their version of the runtime jar and maven plugin, my build fails. It can't find org.antlr.v4.runtime.misc.Pair.
I tried to use the antr-runtime-4.4.jar from antlr.org, but it won't work with antlr-maven-plugin from Tunnelvision Labs. It returns an error 'cannot find symbol: RuleVersion'.
The only version I could get to work was building my own from the source distribution on antlr.org.
Is there a distribution available from antlr.org that includes antr-maven-plugin-4.4?

Failure building Rust on linux with glibc 2.5

I am trying to build Rust for RHEL5 (Linux v2.6.18) with GNU C Library stable release version 2.5.
The pre-built bootstrap version of Rust, that is downloaded automatically when running the Rust make, is incompatible with glibc 2.5 -- I get the following error.
x86_64-unknown-linux-gnu/stage0/bin/rustc: /lib64/libc.so.6: version GLIBC_2.7' not found (required by x86_64-unknown-linux-gnu/stage0/bin/rustc)
x86_64-unknown-linux-gnu/stage0/bin/rustc: /lib64/libc.so.6: versionGLIBC_2.6' not found (required by x86_64-unknown-linux-gnu/stage0/bin/rustc)
Unfortunately, upgrading glibc is not an option for the target OS
Is there any way for me to build Rust on my platform?
You’ll need to build a newer copy of gcc and glibc first. Don’t worry, you can use it only for Rust stuff (stick it in a different directory and add that directory to LD_LIBRARY_PATH whenever running Rust things), but it does need some newer stuff.

Resources