Skip to content
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

Cygwin is "Unknown Environment" #2

Closed
lategoodbye opened this issue Jun 28, 2013 · 3 comments
Closed

Cygwin is "Unknown Environment" #2

lategoodbye opened this issue Jun 28, 2013 · 3 comments
Assignees
Milestone

Comments

@lategoodbye
Copy link
Contributor

When i try to build open-plc-utils with Cygwin i get following errors:

In file included from ../tools/memory.h:31:0,
             from efbu.c:49:
../tools/../tools/endian.h:64:2: Fehler: #error "Unknown environment"
../tools/../tools/endian.h:162:2: Fehler: #error "Unknown Environment"
In file included from ../ether/channel.h:51:0,
             from efbu.c:53:
../ether/../ether/ether.h:50:2: Fehler: #error "Unknown environment"
In file included from ../ether/channel.h:51:0,
             from efbu.c:53:
...
In file included from efbu.c:53:0:
../ether/channel.h:73:9: Fehler: #error "Unknown Environment"
../ether/channel.h:158:2: Fehler: #error "Unknown Environment"

Tested with the following environment:
Windows 7 Pro (64 bit) SP1
cygwin 1.7.20
GNU Make 3.82.90
gcc (GCC) 4.5.3

Maybe it would be good to use the define CYGWIN .

@ghost ghost assigned razzlefratz Jul 4, 2013
@razzlefratz
Copy link
Contributor

Good suggestion. Programs run properly under cygwin but it is unsupported for build purposes. You are right that we should let folks know that we actually do know what the environment is. Henceforth, the message shall read "Cygwin is unsupported!" until someone helps us support it.

razzlefratz pushed a commit that referenced this issue Jul 6, 2013
…t' when we know damn wll that the environment is cygwin. Folks need to help use support cygwin.
@razzlefratz
Copy link
Contributor

Hi Stfan,

We have made no attempt to make the toolkit compilable under cygwin because
windows users have Microsoft C and C++ for that purpose and progams that
are compiled using Microsoft C and C++ will run natively under cygwin. If
you would like to invest the time to make the toolkit compilable under
cygwin without breaking it for the other platforms then please do so. We
just do not see the value in doing the work.

On Fri, Jun 28, 2013 at 3:21 AM, Stefan Wahren [email protected]:

When i try to build open-plc-utils with Cygwin i get following errors:

In file included from ../tools/memory.h:31:0,
from efbu.c:49:
../tools/../tools/endian.h:64:2: Fehler: #error "Unknown environment"
../tools/../tools/endian.h:162:2: Fehler: #error "Unknown Environment"
In file included from ../ether/channel.h:51:0,
from efbu.c:53:
../ether/../ether/ether.h:50:2: Fehler: #error "Unknown environment"
In file included from ../ether/channel.h:51:0,
from efbu.c:53:
...
In file included from efbu.c:53:0:
../ether/channel.h:73:9: Fehler: #error "Unknown Environment"
../ether/channel.h:158:2: Fehler: #error "Unknown Environment"

Tested with the following environment:
Windows 7 Pro (64 bit) SP1
cygwin 1.7.20
GNU Make 3.82.90
gcc (GCC) 4.5.3

Maybe it would be good to use the define CYGWIN .


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

@lategoodbye
Copy link
Contributor Author

Hi Charlie,

i understand why support for Visual Studio is so important and not
cygwin, because of the historical origin of the plc utils as proprietary
tools.

My problem is that i'm unable to compile open-plc-utils under Windows,
neither with Visual Studio 10 Express (issue #3), 12 or cygwin. The
cygwin way was for me only a workaround. After all i gave up compiling
open-plc-utils under Windows.

I think another problem is that users interested in open-plc-utils won't
buy a license for Visual Studio only to compile this source code.

Best regards Stefan

Am 05.09.2013 10:05, schrieb Charlie Maier:

Hi Stfan,

We have made no attempt to make the toolkit compilable under cygwin
because
windows users have Microsoft C and C++ for that purpose and progams that
are compiled using Microsoft C and C++ will run natively under cygwin. If
you would like to invest the time to make the toolkit compilable under
cygwin without breaking it for the other platforms then please do so. We
just do not see the value in doing the work.

On Fri, Jun 28, 2013 at 3:21 AM, Stefan Wahren
[email protected]:

When i try to build open-plc-utils with Cygwin i get following errors:

In file included from ../tools/memory.h:31:0,
from efbu.c:49:
../tools/../tools/endian.h:64:2: Fehler: #error "Unknown environment"
../tools/../tools/endian.h:162:2: Fehler: #error "Unknown Environment"
In file included from ../ether/channel.h:51:0,
from efbu.c:53:
../ether/../ether/ether.h:50:2: Fehler: #error "Unknown environment"
In file included from ../ether/channel.h:51:0,
from efbu.c:53:
...
In file included from efbu.c:53:0:
../ether/channel.h:73:9: Fehler: #error "Unknown Environment"
../ether/channel.h:158:2: Fehler: #error "Unknown Environment"

Tested with the following environment:
Windows 7 Pro (64 bit) SP1
cygwin 1.7.20
GNU Make 3.82.90
gcc (GCC) 4.5.3

Maybe it would be good to use the define CYGWIN .


Reply to this email directly or view it on
GitHubhttps://github.com//issues/2
.


Reply to this email directly or view it on GitHub
#2 (comment).

mhei added a commit to chargebyte/open-plc-utils that referenced this issue Nov 2, 2017
Signed-off-by: Michael Heimpold <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants