I use the prebuilt binaries, but packaging does not work.
Once a package is created, when trying to launch the binary it says that it cannot find “DirectoryWatcher”
When I watch in detail the packaging logs it says that it cannot find “UE4-DirectoryWatcher.lib”. And I don’t know how to build it by myself.
I started everything from a fresh UE4.10.1 so I suppose something might have been loss in the binaries on the way…
(I also tried with a built UE4.10.1 from source).
I’ll retry from 0 and post what I get.
==============
- Git Clone
- Get Prebuilt
- Unzip Unreal.js prebuilt
- Install the npm modules required for examples
- Open uproject file
- Activate Javascript console and test a game in the editor
-> js console is there but for some reason i cannot see the scenes now…
error
->
well, well, that wasn’t expected…
well … restarting again, same instructions.
ok -> I did the same thing BUT, i did “npm uninstall” THEN “npm install”, now it works
- now packaging
- package success
- Now time to try to run the packaged project
- Now let’s add the prebuilt V8
- Creating the necessary links
Following the instructions lead to Examples/Plugins already existing!
so i bak it up in Examples/Plugins.bak and create the links
- We try to package again!
…huh… crash at launch??
Oh I had forgotten, when creating the link, it is missing the binaries so copying them.
Trying to launch and package again!
- Fail again with same error. (V8 not found)
Let’s try to build V8 now.
- Adding an empty class to rebuild.
- Build development target
and this is where i get. Link error because the file UE4-DirectoryWatcher.lib can’t be found.
I checked and it is not on my harddrive.
Packaging from the UE4 UI gives the same error.
the libs have correctly been built
but the final executable cannot be linked without UE4-DirectoryWatcher.lib, and I don’t know how to get it…
I humbly ask for your help…
I’m trying to make a workflow from Clojurescript to UE4, and use it to develop the simulation engine of a RTS game I am building with a friend, and present it to my coworker if it works smooth.