marrub-- / GLOOME

No longer under development
59 stars 11 forks source link

Can't open the template file "lempar.c". #8

Open rocky1138 opened 9 years ago

rocky1138 commented 9 years ago

To resolve this, I googled lempar.c, downloaded it from this site: https://www.sqlite.org/src/raw/tool/lempar.c?name=01ca97f87610d1dac6d8cd96ab109ab1130e76dc and changed path on line 3056 in lemon.c to where I downloaded it on my hard disk.

This seems really hacky... Is this file simply missing from the GLOOME repo or should we have to go get it in our own? Might be something to add to the installation/build instructions. Looking for direction, I can submit a PR if you want me to include the file.

marrub-- commented 9 years ago

I have a feeling this may have to do with me renaming the CMake target to gloome. That, or it could be something in your build system really screwed up. Does this happen with mainline gzdoom? ( https://github.com/coelckers/gzdoom )

rocky1138 commented 9 years ago

I will try to build GZDoom and let you know:)

rocky1138 commented 9 years ago

GZDoom compiles and runs.

rocky1138 commented 9 years ago

This appears to be a problem related to lempar.c not being copied over from elsewhere in the project.

xlat_parser.c appears to be auto-generated, and includes mistakes in its generation. Where is this done?

The build was successful when I copied over the newest version from GZDoom but it keeps getting changed back.