AlgorithmicBotany / vlab

Virtual Laboratory
GNU General Public License v3.0
38 stars 6 forks source link

Error: lsys_input.tab.c:280:10: fatal error: lsys_input.tab.h: No such file or directory #4

Closed ouening closed 5 days ago

ouening commented 1 week ago

OS: Ubuntu22.04

I encounted an error during compiling: lsys_input.tab.c:280:10: fatal error: lsys_input.tab.h: No such file or directory

Some dependences have been changed: image

How could I solve this issue?

mikcieslak commented 1 week ago

I've had the same issue, but I was not able to find a simple fix. For now, the easiest way to to add the missing files to the repo. Please pull the code again and try recompiling. I've included a few other fixes for compiling on Ubuntu22.04

ouening commented 1 week ago

The error still exists: image

mikcieslak commented 5 days ago

Thanks for testing. I forgot that this quick fix requires changing the Makefile. At any rate, I implemented a better solution by modifying the Qt project file. The problem is coming from different versions of bison on Ubuntu 20.04 and 22.04, which breaks the way qmake generates the tab.c/.h files. Please pull the repo and try again. BTW, for now, Rayshade does not seem to compile on Ubuntu 22.04. If you haven't done this already, I'd recommend removing Rayshade from the vlab.pro file.

ouening commented 5 days ago

It works now! Thanks very much!