-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvcc fatal : Value '' is not defined for option 'std' #78
Comments
Do not put |
Thank you @lamanorange |
Anywhere. |
when I put at the end of CFLAGS I got this error oesip@coesip-HP-Z230-SFF-Workstation: coesip@coesip-HP-Z230-SFF-Workstation:~/Desktop/flownet2$ make all /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(19): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(43): warning: parsing restarts here after previous syntax error /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(46): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(47): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(47): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(47): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(50): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(50): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(50): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(53): warning: parsing restarts here after previous syntax error /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(56): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(57): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(57): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(57): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(59): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(59): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(59): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(67): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(68): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(68): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(73): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(74): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(74): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(80): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(81): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(81): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(85): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(86): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(86): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(93): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(94): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(94): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(100): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(101): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(101): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(103): error: expected a declaration /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(105): error: TTypes is not a template /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(108): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(125): warning: parsing restarts here after previous syntax error /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(125): error: expected a ";" /usr/include/c++/4.8/bits/stringfwd.h(68): error: basic_string is not a template /usr/include/c++/4.8/bits/stringfwd.h(74): error: char_traits is not a template /usr/include/c++/4.8/bits/stringfwd.h(75): error: char_traits is not a template /usr/include/c++/4.8/bits/stringfwd.h(78): error: basic_string is not a template /usr/include/c++/4.8/bits/stringfwd.h(81): error: basic_string is not a template /usr/include/c++/4.8/bits/stringfwd.h(87): error: expected a declaration /usr/include/wchar.h(353): error: identifier "wint_t" is undefined /usr/include/wchar.h(357): error: identifier "wint_t" is undefined /usr/include/wchar.h(745): error: identifier "wint_t" is undefined /usr/include/wchar.h(746): error: identifier "wint_t" is undefined /usr/include/wchar.h(752): error: identifier "wint_t" is undefined /usr/include/wchar.h(759): error: identifier "wint_t" is undefined /usr/include/wchar.h(760): error: identifier "wint_t" is undefined /usr/include/wchar.h(766): error: identifier "wint_t" is undefined /usr/include/wchar.h(789): error: identifier "wint_t" is undefined /usr/include/wchar.h(789): error: identifier "wint_t" is undefined /usr/include/wchar.h(801): error: identifier "wint_t" is undefined /usr/include/wchar.h(802): error: identifier "wint_t" is undefined /usr/include/wchar.h(810): error: identifier "wint_t" is undefined /usr/include/wchar.h(818): error: identifier "wint_t" is undefined /usr/include/wchar.h(827): error: identifier "wint_t" is undefined /usr/include/wchar.h(828): error: identifier "wint_t" is undefined /usr/include/c++/4.8/cwchar(139): error: the global scope has no "wint_t" /usr/include/c++/4.8/iosfwd(76): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(79): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(82): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(85): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(88): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(91): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(92): error: allocator is not a template /usr/include/c++/4.8/iosfwd(95): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(96): error: allocator is not a template Error limit reached. |
You missed the quotation mark for Attention: It is `PATH`(back quote), not 'PATH'(single quote) or "PATH"(double quote). |
And it should be |
@Iamanorange |
Paste error log. |
@Iamanorange (base) coesip@coesip-HP-Z230-SFF-Workstation:~/Desktop/flownet2$ make /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(19): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(43): warning: parsing restarts here after previous syntax error /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(46): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(47): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(47): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(47): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(50): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(50): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(50): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(53): warning: parsing restarts here after previous syntax error /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(56): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(57): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(57): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(57): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(59): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(59): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(59): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(64): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(67): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(68): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(68): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(70): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(73): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(74): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(74): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(78): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(80): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(81): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(81): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(83): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(85): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(86): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(86): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(90): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(93): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(94): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(94): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: explicit type is missing ("int" assumed) /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(98): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(100): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(101): error: expected an identifier /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(101): error: expected a ";" /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(103): error: expected a declaration /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(105): error: TTypes is not a template /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(108): error: name followed by "::" must be a class or namespace name /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(125): warning: parsing restarts here after previous syntax error /home/coesip/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/tensor_types.h(125): error: expected a ";" /usr/include/c++/4.8/bits/stringfwd.h(68): error: basic_string is not a template /usr/include/c++/4.8/bits/stringfwd.h(74): error: char_traits is not a template /usr/include/c++/4.8/bits/stringfwd.h(75): error: char_traits is not a template /usr/include/c++/4.8/bits/stringfwd.h(78): error: basic_string is not a template /usr/include/c++/4.8/bits/stringfwd.h(81): error: basic_string is not a template /usr/include/c++/4.8/bits/stringfwd.h(87): error: expected a declaration /usr/include/wchar.h(353): error: identifier "wint_t" is undefined /usr/include/wchar.h(357): error: identifier "wint_t" is undefined /usr/include/wchar.h(745): error: identifier "wint_t" is undefined /usr/include/wchar.h(746): error: identifier "wint_t" is undefined /usr/include/wchar.h(752): error: identifier "wint_t" is undefined /usr/include/wchar.h(759): error: identifier "wint_t" is undefined /usr/include/wchar.h(760): error: identifier "wint_t" is undefined /usr/include/wchar.h(766): error: identifier "wint_t" is undefined /usr/include/wchar.h(789): error: identifier "wint_t" is undefined /usr/include/wchar.h(789): error: identifier "wint_t" is undefined /usr/include/wchar.h(801): error: identifier "wint_t" is undefined /usr/include/wchar.h(802): error: identifier "wint_t" is undefined /usr/include/wchar.h(810): error: identifier "wint_t" is undefined /usr/include/wchar.h(818): error: identifier "wint_t" is undefined /usr/include/wchar.h(827): error: identifier "wint_t" is undefined /usr/include/wchar.h(828): error: identifier "wint_t" is undefined /usr/include/c++/4.8/cwchar(139): error: the global scope has no "wint_t" /usr/include/c++/4.8/iosfwd(76): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(79): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(82): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(85): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(88): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(91): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(92): error: allocator is not a template /usr/include/c++/4.8/iosfwd(95): error: char_traits is not a template /usr/include/c++/4.8/iosfwd(96): error: allocator is not a template Error limit reached. |
May be related to some including problem. Double check your environment. Official tensorflow 1.12 was build against CUDA 9. If you are using a custom build of tensorflow, try the official build. I have tested on Ubuntu 16.04, CUDA 9, tensorflow 1.12, gcc 4.8, python 2.7. |
@Iamanorange i am trying to make this NN work on my PC (Ubuntu 18.04) |
Env:
cuda: 8.0
cudnn: 5.1
tensorflow: 1.12.0
Ubuntu 14.04
I followed the instructions in Wxjwjj's post. Still get errors.
/usr/local/cuda/bin/nvcc --expt-relaxed-constexpr -g -std= -DNDEBUG c++11 -I
python -c "import tensorflow; print(tensorflow.sysconfig.get_include())"
-I"/usr/local/cuda/include" -DGOOGLE_CUDA=1 -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__ -D_GLIBCXX_USE_CXX11_ABI=0 -c src/ops/preprocessing/kernels/data_augmentation.cu.cc -x cu -Xcompiler -fPIC -o src/ops/build/data_augmentation.onvcc fatal : Value '' is not defined for option 'std'
make: *** [preprocessing] Error 1
How to solve this?
The text was updated successfully, but these errors were encountered: