Danny MĂșnera
Hello all,

I have problems to compile any program just after the upgraded and compile
the new x10 2.3.1 version by svn.

When I try to compile a program with c++ back-end I get a error message :

x10c++: No main method found
1 error.

This is an example with the HelloWold in verbose mode:

x10c++ -v  HelloWorld.x10
"/usr/lib/jvm/jdk1.7.0/bin/java" -Xmx1024m -Dfile.encoding=UTF-8
-Dx10.dist="/home/danny/Appz/x10/x10-trunk/x10.dist"
-Dx10c.ecj.jar="ecj.jar" -Dx10c.math.jar="commons-math3-3.0.jar"
-classpath
"/home/danny/Appz/x10/x10-trunk/x10.dist/lib/x10c.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/lpg.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/com.ibm.wala.cast.java_1.0.0.201101071300.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/com.ibm.wala.cast_1.0.0.201101071300.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/com.ibm.wala.core_1.1.3.201101071300.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/com.ibm.wala.shrike_1.3.1.201101071300.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/x10wala.jar:/home/danny/Appz/x10/x10-trunk/x10.dist/lib/org.eclipse.equinox.common_3.6.0.v20100503.jar"
 polyglot.main.Main -extclass x10cuda.ExtensionInfo -x10lib
/home/danny/Appz/x10/x10-trunk/x10.dist/stdlib/libx10.properties
 'HelloWorld.x10' '-define' '__CPP__'
x10c++: No main method found
1 error.

Can you give some hints to find the source of the problem?

Thanks in advance!!!

Regards,
--
Danny Munera
Ph.D. Student
Université Paris 1
Pantheon-Sorbonne
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to