singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike519 <mike...@163.com>
Subject Re: RE: Is Singa ready for Windows installation?
Date Sat, 03 Dec 2016 04:36:24 GMT
When compiling singa project of singa solution:
2>D:\CPP\singa\src\utils\logging.cc(26): fatal error C1083: 无法打开包括文件: “unistd.h”:
No such file or directory

2>D:\CPP\singa\src\core\tensor\tensor.cc(578): error C2144: 语法错误:“float”的前面应有“;”
2>D:\CPP\singa\src\core\tensor\tensor.cc(578): warning C4091: “”: 没有声明变量时忽略“float”的左侧
2>D:\CPP\singa\src\core\tensor\tensor.cc(578): error C2143: 语法错误: 缺少“;”(在“>”的前面)
2>D:\CPP\singa\src\core\tensor\tensor.cc(578): error C2059: 语法错误:“>”

2>D:\CPP\singa\include\singa/io/network.h(26): fatal error C1083: 无法打开包括文件:
“ev.h”: No such file or directory
2>D:\CPP\singa\include\singa/io/network.h(26): fatal error C1083: 无法打开包括文件:
“ev.h”: No such file or directory

unistd.h can be substituted by io.h and process.h in Windows. 
ev.h means libev dependency? 
I don't understand tensor.cc(578) error. I use VS 2015 update 3, which supports C++11 already
very well.

Thank you for tracing this issue.
Best regards


mike519
 
From: Xiezhongle
Date: 2016-12-03 11:21
To: dev@singa.incubator.apache.org
Subject: RE: RE: Is Singa ready for Windows installation?
What's the output of your windows compilation?
 
We have passed the compilation on centOS already.
 
Best,
zhongle
 
-----Original Message-----
From: mike519 [mailto:mike519@163.com] 
Sent: Friday, 2 December, 2016 11:54 PM
To: dev
Subject: Re: RE: Is Singa ready for Windows installation?
 
Thank you I got your reply. So, since 'use python' was disabled in Windows,
I cannot use Singa in Windows python?
And even I give up 'use python', I still cannot pass the compilation in
Windows.
Is there anyone who successfully compiled Singa in CentOS?
 
 
mike519
From: Xiezhongle
Date: 2016-12-02 13:51
To: dev@singa.incubator.apache.org
Subject: RE: Is Singa ready for Windows installation?
Hi mike,
The current version does not support 'use python' in windows.
Could you please disable the flag and retry?
Best,
Zhongle
-----Original Message-----
From: mike519 [mailto:mike519@163.com]
Sent: Friday, 2 December, 2016 12:55 PM
To: dev
Subject: Is Singa ready for Windows installation?
I use CMake GUI to generate VS 2015 project files. All third-party
dependency are properly installed. If 'use python' was checked, it complains
"Cannot find source file: D:/CPP/singa/src/python/swig/singa_wrap.cxx". I
have to uncheck it. Then CMake Error disappeared, only left several CMake
Warnings. When compiling in VS, the compiler reports many errors. For
example, unistd.h in logging.cc doesn't exist in Windows.
In mailing list, I found (SINGA-247) "Add windows support for singa" was
marked as fixed. Am I wrong in some steps?
mike519
 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message