Compilation Issue

4 posts / 0 new
Last post
Offline
Last seen: 2 years 4 months ago
Joined: 08/19/2014 - 05:00
Gems: 0
Compilation Issue

Hello. I have been working on a mod, and it has had issues compiling. Here is the log:

>===================================================================================================================
>Executing gradle command: build
>****************************
> Powered By MCP:             
> Searge, ProfMobius, Fesh0r, 
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava UP-TO-DATE
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:111: error: cannot find symbol
>mcreator_candyStone mcreator_3 = new mcreator_candyStone();
>^
>  symbol:   class mcreator_candyStone
>  location: class TestEnvironmentMod
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:114: error: cannot find symbol
>mcreator_yellowCandyShard mcreator_6 = new mcreator_yellowCandyShard();
>^
>  symbol:   class mcreator_yellowCandyShard
>  location: class TestEnvironmentMod
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:111: error: cannot find symbol
>mcreator_candyStone mcreator_3 = new mcreator_candyStone();
>                                     ^
>  symbol:   class mcreator_candyStone
>  location: class TestEnvironmentMod
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/TestEnvironmentMod.java:114: error: cannot find symbol
>mcreator_yellowCandyShard mcreator_6 = new mcreator_yellowCandyShard();
>                                           ^
>  symbol:   class mcreator_yellowCandyShard
>  location: class TestEnvironmentMod
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                           ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                      ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                                                                                                 ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                                                                                                                                                                            ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                                                                                                                                                                                                                                                       ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>:compileJava FAILED
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
>BUILD FAILED
>Total time: 19.918 secs
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>/Users/Levmegs5/Desktop/MCreator 1.5.4 [1.7.10] Mac-Linux/forge/build/sources/java/mod/mcreator/mcreator_yellowCandy.java:108: error: cannot find symbol
> "012", "345", "678", Character.valueOf('0'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('1'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('2'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('3'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('4'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('5'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('6'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('7'), new ItemStack(mcreator_yellowCandyShard.block, 1), Character.valueOf('8'), new ItemStack(mcreator_yellowCandyShard.block, 1), 
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^
>  symbol:   variable mcreator_yellowCandyShard
>  location: class mcreator_yellowCandy
>13 errors
>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.
 
Someone please help I am using MCreator 1.5.4 on a Macbook Pro. Thanks in advance!
 

 



xXMCXx's picture
Offline
Last seen: 2 months 3 weeks ago
Joined: 12/27/2013 - 21:01
Gems: 378
Is this a custom model? If so

Is this a custom model? If so make sure you rename all the different pieces and make sure they are not overlapping. otherwise please go to the wiki or search on youtube. here is a video that explains all the do's and do nots of custom models. https://www.youtube.com/watch?v=7ckM_PrwxEk&list=UUDm7S_ymYjpt4pFZOmd3pZw

Moderator

Offline
Last seen: 2 years 4 months ago
Joined: 08/19/2014 - 05:00
Gems: 0
RE:Is this a custom model? If so

@xXMCXx What do you mean by custom model? If by that you mean block shape then no they are just normal blocks/ items

Offline
Last seen: 1 year 12 months ago
Joined: 05/16/2014 - 13:42
Gems: 0
Is it possible that you

Is it possible that you remove and Item?
If yes make a Backup of your workspace (export as MCR)
and Try to delete the TestEnviroment.class
That solved ever the Symbol not found errors for me.

No longer using MCreator