Ooops
May 31, 2020, 08:04:59 PM

Author Topic: can someone explain this ......  (Read 199 times)

Offline wadmixfm

  • Jr. Member
  • **
  • Posts: 38
can someone explain this ......
« on: May 06, 2020, 06:54:08 PM »
I am on Mac Os Mojave and also Using Catalina and it does it on both machines ......

On the ide Blitzmax NG i write

'test

Import MaxGui.Drivers

then go to compile it and i get this .......


Building untitled2
[ 24%] Processing:untitled2.bmx
[ 33%] Compiling:glue.c
[ 35%] Compiling:ftdebug.c
[ 35%] Compiling:ftfntfmt.c
[ 35%] Compiling:ftgasp.c
[ 35%] Compiling:ftglyph.c
[ 35%] Compiling:ftgxval.c
[ 36%] Compiling:ftinit.c
[ 36%] Compiling:ftlcdfil.c
[ 36%] Compiling:ftmm.c
[ 36%] Compiling:ftotval.c
[ 36%] Compiling:ftpatent.c
[ 36%] Compiling:ftpfr.c
[ 37%] Compiling:ftstroke.c
[ 37%] Compiling:ftsynth.c
[ 37%] Compiling:ftsystem.c
[ 37%] Compiling:fttype1.c
[ 37%] Compiling:ftwinfnt.c
[ 37%] Compiling:bdf.c
[ 37%] Compiling:ftcache.c
[ 38%] Compiling:cff.c
[ 38%] Compiling:type1cid.c
[ 38%] Compiling:ftgzip.c
[ 38%] Compiling:ftlzw.c
[ 38%] Compiling:otvalid.c
[ 38%] Compiling:pcf.c
[ 38%] Compiling:pfr.c
[ 39%] Compiling:psaux.c
[ 39%] Compiling:pshinter.c
[ 39%] Compiling:psnames.c
[ 39%] Compiling:raster.c
In file included from /Users/leebroadhurst/Desktop/BlitzMaxNG/mod/pub.mod/enet.mod/glue.c:23:
/Users/leebroadhurst/Desktop/BlitzMaxNG/mod/pub.mod/enet.mod/enet/include/enet.h:4886:13: error: conflicting types for 'clock_gettime'
        int clock_gettime(int X, struct timespec *ts) {
            ^
/usr/include/time.h:177:5: note: previous declaration is here
int clock_gettime(clockid_t __clock_id, struct timespec *__tp);
    ^
[ 39%] Compiling:sfnt.c
[ 39%] Compiling:smooth.c
[ 39%] Compiling:truetype.c
[ 40%] Compiling:type1.c
[ 40%] Compiling:type42.c
1 error generated.
Build Error: failed to compile (256) /Users/leebroadhurst/Desktop/BlitzMaxNG/mod/pub.mod/enet.mod/glue.c
Process complete

Any Ideas ???


Offline wadmixfm

  • Jr. Member
  • **
  • Posts: 38
Re: can someone explain this ......
« Reply #1 on: May 06, 2020, 07:16:50 PM »
i have just noticed i do not have Xcode installed

new machine and all i will go install that first and report back

cheers


Offline wadmixfm

  • Jr. Member
  • **
  • Posts: 38
Re: can someone explain this ......
« Reply #2 on: May 06, 2020, 08:25:20 PM »
no its still the same xcode installed and running ok use NG and it will not compile

i will do a fresh install just to see


Offline DruggedBunny

  • Jr. Member
  • **
  • Posts: 60
Re: can someone explain this ......
« Reply #3 on: May 07, 2020, 01:04:27 AM »
Looks like Brucey's possibly fixed it:

https://github.com/bmx-ng/pub.mod/commit/5bc3bf0bb724cae42be31be051307d926a1a6cb6

"Always use custom clock_gettime on macOS."

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal