Pages: 1
Author Topic: [Win32 XP] Makefile:119: *** mixed implicit and normal rules. Stop.  (26,329 Views)
Offline (Unknown gender) Sslaxx

Member
Joined: Nov 2013
Posts: 72
View profile
Posted on: January 05, 2014, 12:56:27 PM
Related to http://enigma-dev.org/forums/index.php?topic=1654.0 and http://enigma-dev.org/forums/index.php?topic=1689.0 I'd imagine.

As per the subject line, running ENIGMA (as of the latest Git revision) on my XP box is falling over with this message. The workdir "fix" is not applied (I did try it, though - no difference); by default it puts everything in the "C:\Documents and Settings\All Users\ENIGMA" directory (ENIGMA itself being installed elsewhere).

This is all that is in enigma_compile.log:
Quotemingw32-make.exe -C ENIGMAsystem/SHELL
mingw32-make.exe[1]: Entering directory `D:/Develop/ENIGMA/enigma-dev/ENIGMAsystem/SHELL'
mingw32-make.exe[1]: Leaving directory `D:/Develop/ENIGMA/enigma-dev/ENIGMAsystem/SHELL'
Makefile:119: *** mixed implicit and normal rules.  Stop.
mingw32-make.exe: *** [Game] Error 2
Offline (Unknown gender) Bustanity

Member
Joined: Jan 2014
Posts: 2
View profile
Reply #1 Posted on: January 05, 2014, 09:54:27 PM
Hello Sslaxx,
I also had the same issue, but was able to overcome it by changing the workdir value. I know you wrote that you already tried it but are you sure that it is just like this;

std::string workdir = "C:/ProgramData/ENIGMA/";

Notice the / at the end of ENIGMA, in the first few posts on the other thread it doesn't have that. If you changed it but didn't have the slash in the end, it is the reason why it didn't fix this problem.

Another thing, that I also had to do in order to fix the problem, was that I needed to manually create the ProgramData/ENIGMA/ folder in C: driver.

Hopefully you'll get it working!   (Y)

EDIT: Worth mentioning; obviously if you use other driver letter than C:, then you just change the driver letter to your one ;D
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #2 Posted on: January 06, 2014, 12:40:49 AM
I'm sorry I forgot to respond to this post. Yes do what Bustanity said, the file is enigma-dev/CompilerSource/workdir.cpp

This issue only exists on Windows XP and is entirely GNU makes fault.
Offline (Unknown gender) Sslaxx

Member
Joined: Nov 2013
Posts: 72
View profile
Reply #3 Posted on: January 06, 2014, 02:40:01 AM
It makes no difference. In fact, it appears to be ignoring the variable definition hack and just using "C:\Documents and Settings\All Users\ENIGMA" regardless (i.e. it isn't even creating anything in the directory specified by the "fix").

[EDIT: After putting the fix directory in "std::string" it works.]
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #4 Posted on: January 06, 2014, 03:11:27 AM
He forgot to close enigma and reopen it when he made the change, you have to for the compiler to rebuild, only the engine changes are immediate.
Pages: 1