znyul / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 1 forks source link

error: parser.h: No such file or directory #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Win7, MingGW 4.4, 4.6, mingw32-make output:

--- begin ---------------------------------------------------------
mingw32-make -C parsers
mingw32-make[1]: Entering directory `d:/build/stm/parsers'
gcc -g -Wall -c -I../ binary.c hex.c
ar r parsers.a        binary.o hex.o
ar: creating parsers.a
mingw32-make[1]: Leaving directory `d:/build/stm/parsers'
gcc -g -o stm32flash -I./ \
                main.c \
                utils.c \
                stm32.c \
                serial_common.c \
                serial_platform.c \
                parsers/parsers.a \
                stm32/stmreset_binary.c \
                -Wall
In file included from main.c:35:
parsers/binary.h:24:20: error: parser.h: No such file or directory
mingw32-make: *** [all] Error 1
--- end -----------------------------------------------------------

small fix in attachment.

Original issue reported on code.google.com by hhr...@gmail.com on 9 Apr 2012 at 1:02

Attachments:

GoogleCodeExporter commented 9 years ago
In absence of the maintainer, I have set up a git repository where I will try 
to incorporate all outstanding patches: 
https://gitorious.org/stm32flash/stm32flash#more

I made a patch touching on this issue, which I believe is related to issue 16, 
in the issue16 branch of my git repository. It would be nice if you could test 
it.

Original comment by lists.to...@gmail.com on 17 Nov 2012 at 8:53

GoogleCodeExporter commented 9 years ago
I have tested my "merging" branch on MinGW/Windows 7 and it builds and runs 
fine.

Original comment by lists.to...@gmail.com on 24 Nov 2012 at 8:32

GoogleCodeExporter commented 9 years ago
This has now been fixed in the official repository and is included in version 
0.3beta2.

Original comment by lists.to...@gmail.com on 9 Dec 2013 at 11:14