eclipse 4.2 + mingw + amdappsdk nie moge uruchomic

0

Nie mogę sobie poradzić z tym problemem mam niby wszystko jak w tutorialu czyli ścieżki include dodany dla gcc g++ do linkera jest dodany path libary na katalog lib i nie działa mi to zwraca błędy. Najlepsze jest to że błedy wyskakują jak załaduje Cl/cl.hpp czyli dla c++ gdy załaduje CL/cl.h jest normalnie tylko że funkcje muszę odpalać z poziomu c a wolałbym na c++.

Description	Resource	Path	Location	Type
identifier 'static_assert' will become a keyword in C++0x [-Wc++0x-compat]	test		line 5929, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
expected primary-expression before '*' token	test		line 5157, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
'stdext' has not been declared	test		line 5157, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 5929, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
expected primary-expression before '>' token	test		line 5157, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 6657, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 7009, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
(if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)	test		line 5929, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 6297, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 8017, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 8337, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 7353, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 7689, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 9249, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 9537, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 8649, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 8953, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 10353, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 10609, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 9817, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 10089, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 11553, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 11329, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 11097, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 10857, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 12369, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 12177, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 11977, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 11769, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 13057, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 12897, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 12729, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 12553, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 13617, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 13489, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 13353, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem
there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available [-fpermissive]	test		line 13209, external location: C:\Program Files (x86)\AMD APP\include\CL\cl.hpp	C/C++ Problem

0

Jaką masz wersję GCC? Jakbyś przeczytał o co chodzi w komunikacie, to byś wiedział, że chodzi o to, że CL.hpp zawiera słowa kluczowe z C++11 i trzeba ustawić zgodność z tym standardem w kompilatorze, o ile masz na tyle nowoczesną wersję kompilatora, żeby to obsługiwał.

0

Mam gcc 4.6.2 i czy chodzi ci o opcje -std

0

spróbuj dodać, albo usunąć jeśli jest, jedną z tych opcji:
-std=gnu++0x
-std=c++0x
-std=gnu++11
-std=c++11

0

Zaktualizowałem gcc 4.7.0 ale dalej mam ten problem dodałem w Project properties->c++ builid->settings->c++compile->miscelle... opcje -std=c++11/gnu++11/c++0x/gnu++0x i nic dalej te błędy

1 użytkowników online, w tym zalogowanych: 0, gości: 1