Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Failed to make mycss with latest myhtml - please sync with modest #5

Open
f34nk opened this issue Feb 24, 2018 · 0 comments
Open

Failed to make mycss with latest myhtml - please sync with modest #5

f34nk opened this issue Feb 24, 2018 · 0 comments

Comments

@f34nk
Copy link

f34nk commented Feb 24, 2018

Ubuntu 14.04
gcc version 4.8.5
branch: master

Running make returns with error when linked to latest myhtml.

  • first I cloned latest mycss and myhtml
  • build myhtml without error
  • then running make on mycss linking to myhtml:
    LDFLAGS+="-L../../../myhtml/lib" CFLAGS+="-I../../../myhtml/include" /usr/bin/make -C mycss

returns with error:

cc -I../../../myhtml/include -O2 -fPIC --std=c99 -I.. -pthread -D_POSIX_C_SOURCE=199309L   -c -o an_plus_b.o an_plus_b.c
In file included from ../mycss/entry.h:29:0,
                 from ../mycss/an_plus_b.h:29,
                 from an_plus_b.c:21:
../mycss/myosi.h:263:48: error: unknown type name ‘myhtml_string_t’
 typedef size_t (*mycss_string_process_state_f)(myhtml_string_t* str, const char* data, size_t length, size_t size, mycss_string_res_t *out_res);
                                                ^
In file included from ../mycss/mycss.h:45:0,
                 from ../mycss/entry.h:30,
                 from ../mycss/an_plus_b.h:29,
                 from an_plus_b.c:21:
../mycss/tokenizer.h:36:29: fatal error: myhtml/incoming.h: No such file or directory
 #include "myhtml/incoming.h"

I noticed that the repo for Modest actually includes all myhtml and mycss sources. So my guess is that the current mycss repo is not up to date since it also includes "myhtml/incoming.h" which is now in "mycore".

Can you please update the repo with the latest source? That would be great!

Best, f34nk

@f34nk f34nk changed the title Failed to make mycss with latest myhtml Failed to make mycss with latest myhtml - please sync with modest Feb 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant