[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Build OpenJFX -> ':graphics:compileDecoraNativeShadersLinux' fails
From:       Michael Tischer <it () kwinan ! de>
Date:       2018-06-15 16:24:17
Message-ID: 1529079857.22645.19.camel () kwinan ! de
[Download RAW message or body]

Hi Kevin,

the build works now. I'm not familar with C++, but some of the output
contained the "cc1plus" word. After a short Google search I've found
the reason. G++ was simply not installed. It seems that G++ is not
installed per default on some linux distributions. In the wiki, G++ is
listed only for the Windows build, not for the Linux build. Maybe this
should be adjusted in the wiki.



-- Michael



Am Freitag, den 15.06.2018, 08:03 -0700 schrieb Kevin Rushforth:
> We just upgraded to gradle 4.8 last week, but haven't yet updated the
> Wiki.
> 
> One thing to try is to manually remove the build directory, run
> gradle  
> clean, and then try it again with the --info option:
> 
> $ rm -rf build
> $ gradle clean
> $ gradle --info sdk
> 
> If it still doesn't work, make sure you have all of the required
> tools  
> installed.
> 
> -- Kevin
> 
> On 6/15/2018 7:40 AM, Michael Tischer wrote:
> > 
> > Hi All,
> > 
> > first sorry for my bad englisch. I have tried to build OpenJFX
> > according to the instructions in the wiki. (https://wiki.openjdk.ja
> > va.n
> > et/display/OpenJFX/Building+OpenJFX)My OS is Linux Mint 18.3.
> > 
> > The first thing is that the wiki says that I need gradle 4.3. ("We
> > currently use Gradle 4.3 for jfx-dev (IMPORTANT: Only this version
> > is
> > regularly tested)." But when I use gradle 4.3 the build says:
> > 
> > *****************************************************************
> > Unsupported gradle version 4.3.1 in use.
> > Only version 4.8 is supported. Use this version at your own risk
> > *****************************************************************
> > 
> > It seems to me that the wiki in this point is no more actually.
> > 
> > Okay, so I changed the grade version to 4.8. ANT-Version is 1.8.2.
> > JDK
> > is 10.0.1
> > 
> > Unfortunally, "gradle sdk" doesn't work. The build fails with this
> > output:
> > 
> > 
> > > 
> > > Task :graphics:compileDecoraNativeShadersLinux FAILED
> > FAILURE: Build failed with an exception.
> > 
> > * What went wrong:
> > Execution failed for task
> > ':graphics:compileDecoraNativeShadersLinux'.
> > > 
> > > java.util.concurrent.ExecutionException:
> > org.gradle.process.internal.ExecException: Process 'command 'gcc''
> > finished with non-zero exit value 1
> > 
> > 
> > 
> > Can you please help me get the build up and running?
> > 
> > 
> > 
> > Regards
> > Michael
> > 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic