Pages: 1
  Print  
Author Topic: [Win32 XP] Makefile:119: *** mixed implicit and normal rules. Stop.  (Read 16534 times)
Offline (Male) Sslaxx
Posted on: January 05, 2014, 07:56:27 am

Member
Location: UK
Joined: Nov 2013
Posts: 72
AOL Instant Messenger - MrSslaxx Yahoo Instant Messenger - mrsslaxx
View Profile Email
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:
Quote
mingw32-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
Logged
Stuart "Sslaxx" Moore.
Offline (Male) Bustanity
Reply #1 Posted on: January 05, 2014, 04:54:27 pm
Member
Location: United Kingdom
Joined: Jan 2014
Posts: 2

View Profile
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;

Code: [Select]
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
« Last Edit: January 05, 2014, 04:57:53 pm by Bustanity » Logged
Offline (Male) Goombert
Reply #2 Posted on: January 05, 2014, 07:40:49 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) Sslaxx
Reply #3 Posted on: January 05, 2014, 09:40:01 pm

Member
Location: UK
Joined: Nov 2013
Posts: 72
AOL Instant Messenger - MrSslaxx Yahoo Instant Messenger - mrsslaxx
View Profile Email
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.]
« Last Edit: January 05, 2014, 09:50:23 pm by Sslaxx » Logged
Stuart "Sslaxx" Moore.
Offline (Male) Goombert
Reply #4 Posted on: January 05, 2014, 10:11:27 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print