Leather128 / LeatherEngine

Just a little engine I decided to make since nobody seemed to have true custom mod support.
GNU General Public License v3.0
71 stars 57 forks source link

Bug Report: Compiling error #19

Closed Similirity closed 2 years ago

Similirity commented 2 years ago

I try to compile the source code and I keep getting this error:

source/modding/PolymodHandler.hx:14: lines 14-28 : { modRoot : String, frameworkParams : { assetLibraryPaths : haxe.ds.Map<String, String> }, errorCallback : Null<(error : polymod.PolymodError) -> V... has extra field frameworkParams

source/modding/PolymodHandler.hx:14: lines 14-28 : For function argument 'params'

I'm not sure how to fix this.

I have a 64-bit Windows processor.

Leather128 commented 2 years ago

run the command haxelib update polymod or haxelib git polymod https://github.com/larsiusprime/polymod.git to update your version of polymod, the issue is because older versions of polymod work differently and to get the newer versions to work, i had to add that parameter. basically just run either of those commands you you should be fine.

Similirity commented 2 years ago

yo thank you so much!