Hi,

I tried to compile under macos and I was told it is not supported.

Now I created a docker container with a fresh ubuntu 20.04. 
When executing the CMake command following the guidelines I got something 
very similar to what I had get in macos:

`
Determining if the include file malloc/malloc.h exists failed with the 
following output:
Change Dir: /root/workarea/build-debug/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_86a7a && [1/2] Building C object 
CMakeFiles/cmTC_86a7a.dir/CheckIncludeFile.c.o
FAILED: CMakeFiles/cmTC_86a7a.dir/CheckIncludeFile.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_86a7a.dir/CheckIncludeFile.c.o   -c 
CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: malloc/malloc.h: No such file or 
directory
    1 | #include <malloc/malloc.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
`

/usr/bin/cc -v -> gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)

Any ideas on a workaround?

Best,
Guido.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/31278ffc-2d6b-4def-98d8-7cf9e5aff850o%40googlegroups.com.

Reply via email to