Compilation Error

5 posts / 0 new
Last post
Offline
Last seen: 1 year 1 month ago
Joined: 11/26/2015 - 18:58
Gems: 0
Compilation Error

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:

Spoiler: Highlight to view
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.



Brich036's picture
Offline
Last seen: 9 months 2 weeks ago
Joined: 05/11/2015 - 03:57
Gems: 1
i believe its this

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

will always keep modding and never forget that :D

Offline
Last seen: 10 months 3 days ago
Joined: 11/26/2015 - 16:27
Gems: 0
the same thing is happening

the same thing is happening to me

Offline
Last seen: 10 months 3 days ago
Joined: 11/26/2015 - 16:27
Gems: 0
except its when i do test

except its when i do test enviroment and exporting the mod

Brich036's picture
Offline
Last seen: 9 months 2 weeks ago
Joined: 05/11/2015 - 03:57
Gems: 1
RE:except its when i do test

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

will always keep modding and never forget that :D