{COPY} isn't working for me and neither is {COPYFILE} or {COPYDIR} #2040
Replies: 3 comments 1 reply
-
I have the same problem and after I change {COPY} into {COPYDIR} ,"/Sandbox" cannot find "Hazel.dll", Who can give me some suggestions or show me your "premake5.lua",Thanks |
Beta Was this translation helpful? Give feedback.
-
In my testing repo, I got project pre-postbuild with copy/move.
You forgot to set value to |
Beta Was this translation helpful? Give feedback.
-
I am following the same tutorial and I found that in the example given in the tutorial that the lines below do not work.
but these do:
I am still having a problem getting the DLL to copy properly, but the nil value went away. |
Beta Was this translation helpful? Give feedback.
-
I've been following along with this tutorial series and because it is a few years old, the {COPY} command has been deprecated in the intervening time.
The original command in the video:
Switching
{COPY}
to{COPYDIR}
or{COPYFILE}
has been uneventful and I'm unsure what about this command is causing me to get the errorError: C:/dev/Hazel/premake5.lua:46: attempt to concatenate a nil value (global 'outputdir')
.I am currently on VS2022
The suggestions in the video comments and my googling around trying to find similar struggles have been uneventful. This is my first time using Lua so please go easy on me 😅
Beta Was this translation helpful? Give feedback.
All reactions