Compilation Error

Started by adamthedog on Fri, 11/27/2015 - 16:44
Last seen on 23:10, 9. Sep 2016
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Compilation Error
Fri, 11/27/2015 - 16:44

So, I'm trying to make a mod with a new dimension, just to get used to the new GUI and functions and to test it out. Whenever I compile it, I get this in the console:

BOOTING UP GRADLE...
Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 16 milliseconds]
RIGHT click once to copy log to the clipboard or twice to clear the log.
   
Executing gradle command: clean build
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator160>cd forge
C:\Pylo\MCreator160\forge>SET "JAVA_HOME=C:\Pylo\MCreator160\jdk\"
C:\Pylo\MCreator160\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator160\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator160\forge>SET "JAVA_OPTS=-Xmx256m -Xms200m"
C:\Pylo\MCreator160\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:downloadClient SKIPPED
:downloadServer SKIPPED
:getVersionJson
:extractUserDev UP-TO-DATE
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools SKIPPED
:extractMcpData UP-TO-DATE
:genSrgs SKIPPED
:deobfBinJar SKIPPED
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator160\forge\build\sources\java\mod\mcreator\mcreator_deep.java:1186: error: cannot find symbol
    private MapGenBase netherCaveGenerator = etherCaveGenerator = new MapGenCavesHell();
                                             ^
  symbol:   variable etherCaveGenerator
  location: class ChunkProviderModded
:compileJava FAILED
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 20.311 secs

Can anyone help? If they can, I would be very grateful.

Last seen on 08:18, 12. Jan 2018
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i believe its this
Fri, 11/27/2015 - 17:28

i believe its this "MapGenBase netherCaveGenerator = etherCaveGenerator = new MapGenCavesHell"  what ever that element is something in there is making the error happen

thats the only thing i can see thats causing it

Last seen on 01:58, 24. Dec 2016
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
the same thing is happening
Fri, 11/27/2015 - 17:49

the same thing is happening to me

Last seen on 01:58, 24. Dec 2016
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
except its when i do test
Fri, 11/27/2015 - 17:49

except its when i do test enviroment and exporting the mod

Last seen on 08:18, 12. Jan 2018
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:except its when i do test
Fri, 11/27/2015 - 18:25

@#3 send the console error and i'll do my best to see what mod element is causing the error