Issue 178 in toped: unistd.h in tell_lex.cpp and cif_lex.cpp -> prevents windows build?

20 views
Skip to first unread message

to...@googlecode.com

unread,
Nov 24, 2014, 12:44:08 AM11/24/14
to toped...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 178 by TRAy...@gmail.com: unistd.h in tell_lex.cpp and
cif_lex.cpp -> prevents windows build?
https://code.google.com/p/toped/issues/detail?id=178

I'm getting "Cannot open include file: 'unistd.h' No such file or
directory. It looks like tell_lex.cpp and cif_lex.cpp reference this file,
which isn't avialable in windows.

Pulled from master/head via svn command.

Windows 7 x64

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gaitukevich .

unread,
Nov 24, 2014, 2:49:30 PM11/24/14
to toped...@googlegroups.com
Visual Studio doesn't contain unistd.h file.
Workaround: create empty unistd.h file in the include directory of  Visual Studio.

You received this message because you are subscribed to the Google Groups "toped-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to toped-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Travis Ayres

unread,
Nov 24, 2014, 9:40:22 PM11/24/14
to toped...@googlegroups.com
Is this a functional replacement that causes no problems? Eitger way maybe the code should be updated to reflect this?
To unsubscribe from this group and stop receiving emails from it, send an email to toped-devel...@googlegroups.com.

Travis Ayres

unread,
Nov 25, 2014, 12:25:43 AM11/25/14
to toped...@googlegroups.com
That didn't work for me


On Monday, November 24, 2014 11:49:30 AM UTC-8, fragment wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to toped-devel...@googlegroups.com.

Svilen

unread,
Nov 25, 2014, 3:45:45 AM11/25/14
to toped...@googlegroups.com
Hi Travis,
I guess you have Gnu flex &bison installed for windows= They are required to compile toped. Normally that file comes as part of that distribution

Sergey is right - you barely need it, nevertheless - please fined it attached. On my platform it was in directory
<home>\GnuWin32\include which is supposed to be already in the VC configuration files

Hope this helps
Svilen
unistd.h
Reply all
Reply to author
Forward
0 new messages