Forum

first character control + speaker on = fast preview crashed

27 February 2018 17:48
I don't have any "make compil b4w" in my project manager
You already did this:
I have opened the Terminal and "make compile_b4w" and I have installed the program, but the problem still there
You should run it from the terminal and compare your log with my. If you have difficulties in comparing, just paste the logs here.
Alexander (Blend4Web Team)
twitter
27 February 2018 18:35
oups it's true , sorry.
ok i open the Terminal of my Mac and write "make compile_b4w" and:

28 February 2018 09:37
Yiu should change directory to the blend4web sdk folder. Use cd command.
Alexander (Blend4Web Team)
twitter
28 February 2018 13:06
ok it's a bit better but now I get this message :

28 February 2018 14:14
Well it seems you need one more hack to build the engine on mac :
Open a file called Makefile in the root directory and find the following lines:
# check version
ifneq ("$(VERSION)", "$(ADDON_VERSION)")
$(error VERSION and ADDON_VERSION are not equal each other: "$(VERSION)" != "$(ADDON_VERSION)")
endif


And just remove them or comment with #:
# check version
#ifneq ("$(VERSION)", "$(ADDON_VERSION)")
#$(error VERSION and ADDON_VERSION are not equal each other: "$(VERSION)" != "$(ADDON_VERSION)")
#endif


And try make compile_b4w one more time.
By the way, you are doing pure developer things which the usual users are not doing. Maybe we need to make an official instruction to help the guys who are using hot-fixes
Alexander (Blend4Web Team)
twitter
28 February 2018 19:28
ok now I got this message :

01 March 2018 10:44
This is strange. It works on out Macs.
Do you have webpack.config.js in the SDK root?
Could you run the following command which is actually part of make compile_b4w?
bash -x ./scripts/node.sh ./node_modules/webpack/bin/webpack.js
Alexander (Blend4Web Team)
twitter
01 March 2018 11:20
Where should be the "webpack.config.js" ? I don't find anythink similar in my blend4web_ce folder

02 March 2018 15:11
I've checked all ce distributions, they have it. You've lost it somehow. You can download this file from github https://github.com/TriumphLLC/Blend4Web/blob/master/webpack.config.js
Alexander (Blend4Web Team)
twitter
02 March 2018 15:26
Where should I put this path? In the Terminal ?
 
Please register or log in to leave a reply.