Login  Register

Re: cl failed with return code -1073741515

Posted by seahorse on Feb 14, 2012; 9:38am
URL: https://forum.jogamp.org/cl-failed-with-return-code-1073741515-tp3739622p3743173.html

Ok I finally managed to get it compiling, in case someone else faces same problem below
is the solution:

Below are the changes I did

1.)JAVA_HOME was not set(This needs to be set using following windows command
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_26
Then do
echo %JAVA_HOME% to check if it is set correctly in windows 7 DOS prompt
(I was assuming that it was set because  I had manually added bin to the PATH
under Windows 7 under Start->Computer->Properties->Advanced System settings->Env variables
and when I typed java -version and javac -version everything worked out well)

2.)ANT_HOME was not set
set ANT_HOME=E:\apache-ant-1.8.2-bin\apache-ant-1.8.2
The point to note is that this must be set to installation directory of ANT and not to ANT\bin
(Again I was assuming this was set because I had manually added bin to the path
under Windows 7 under Start->Computer->Properties->Advanced System settings->Env variables
and everything was working well when I did ant -version)

3.)Also gluegen.properties need not be edited

4.)No seperate ANTLR.jar needs to be downloaded

After doing all above four changes everything compiled.
Thanks for your comments!