OCamlPro / wxOCaml

a WxWidgets binding for OCaml
Other
31 stars 8 forks source link

Parse error at configure.ocp branch next-ocpbuild #5

Open alexandrio opened 9 years ago

alexandrio commented 9 years ago

Linux lubuntu 3.16.0-31-generic #41-Ubuntu SMP Tue Feb 10 15:24:04 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

ocaml version 4.02.1 instaled with OPAM 1.1.1 ocp-build version 1.99.8-beta wxwidgets 3.0.2 from ubuntu repositories

sample output files from build in https://github.com/alexandrio/wxocamlbuild.git

wxocaml ocp-build fails at make

ocp-build
find_project_root
File "/home/alejandro/wxocaml/configure.ocp", line 3, characters 31-31:
Parse error

configure.ocp line 3

begin rules "wxOCaml_configure" <-- characters 31-31
alexandrio commented 9 years ago

it also generates a parse error in wxWidgets/build.ocp at same line:

begin rules ...

if the line of begin rules is deleted, it generates another parse error at % signs

cpp_sources = [ generated_cpp_sources "wxOCaml.cpp" ]
cpp_objects = %subst_ext( files = cpp_sources;          <----------------- error at %subst_ext
    from_ext = ".cpp" to_ext = ".o" )

i think this are more a ocp-build error but there is no repository or issue tracker available for the tool