magnificus / Procedural-Cities

master thesis
MIT License
623 stars 146 forks source link

Building your project #13

Closed Belval closed 5 years ago

Belval commented 6 years ago

Hi!

Your project looks great, but I cannot seem to get it to compile on Ubuntu 18.04 targeting Unreal Engine 4.19.

My error messages are:

error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
error: call to 'abs' is ambiguous

I do not really care about UE's version so if you got it to work with a precise version I'd be willing to give it a shot.

RaceTheMaSe commented 6 years ago

This needs parentheses around (std::abs) and maybe in the expression itself. ( (a && b) || ( c && d) ) where the error occurs.

Belval commented 6 years ago

That was my guess, but I suppose the project used to compile without error on a previous version.

Belval commented 5 years ago

Successfully built the project on Windows. I suppose it's just not compatible with Linux.