[Beremiz-devel] How to build Beremiz on Windows?

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] How to build Beremiz on Windows?

Beremiz-Devel mailing list

 

Hi

         I want to build Beremiz on Windows and downloaded source code on website- http://dev.automforge.net/, but  it failed to build.

 

         It that source code is not for windows? If so,  where can I get the source code for windows version?

 

        

Ps: Build Hint

cid:image002.png@01D346BE.E360F870        

 

华为技术有限公司 Huawei Technologies Co., Ltd.
cid:image001.png@01D1FB14.F1C96380
Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com


本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] How to build Beremiz on Windows?

Beremiz-Devel mailing list
Hi,

I think the problem is, that you are running Beremiz from directory
with a non-latin character in path.

This problem shoudn't happen anymore with latest Beremiz from the current
development repository. Try it:
https://bitbucket.org/skvorl/beremiz


On 17-10-16 12:40, [hidden email] wrote:

>
> Hi
>          I want to build Beremiz on Windows and downloaded source code on website- http://dev.automforge.net/, but  it failed to build.
>
>          It that source code is not for windows? If so,  where can I get the source code for windows version?
>
>
> Ps: Build Hint
> [cid:image002.png@01D346BE.E360F870]
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
> [cid:image001.png@01D1FB14.F1C96380]
> Mobile: 15899917957
> Email: [hidden email]<mailto:[hidden email]>
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com
> ________________________________
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from HUAWEI, which
> is intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
>



> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Beremiz-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/beremiz-devel


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
Hi
        Thank you for your reply.
       
        I download the latest version from https://bitbucket.org/skvorl/beremiz  and built it on a new directory, but it still prompt error as below


C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py
Traceback (most recent call last):
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 199, in <module>
    beremiz.Start()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start
    self.PreStart()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart
    self.CreateApplication()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication
    self.BackgroundInitialization()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization
    self.ImportModules()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules
    import BeremizIDE
  File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>
    from editors.EditorPanel import EditorPanel
  File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>
    from controls import VariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>
    from DebugVariablePanel import DebugVariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>
    from DebugVariablePanel import DebugVariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 40, in <module>
    from DebugVariableItem import DebugVariableItem
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableItem.py", line 27, in <module>
    from graphics.DebugDataConsumer import DebugDataConsumer, TYPE_TRANSLATOR
  File "D:\skvorl-beremiz-614396cbffbf\graphics\__init__.py", line 28, in <module>
    from FBD_Objects import *
  File "D:\skvorl-beremiz-614396cbffbf\graphics\FBD_Objects.py", line 28, in <module>
    from plcopen.structures import *
  File "D:\skvorl-beremiz-614396cbffbf\plcopen\__init__.py", line 29, in <module>
    from plcopen import PLCOpenParser, LoadProject, SaveProject, LoadPou, \
  File "D:\skvorl-beremiz-614396cbffbf\plcopen\plcopen.py", line 30, in <module>
    from lxml import etree
ImportError: DLL load failed: �Ҳ���ָ���ij���

Process finished with exit code 1






        Would you give me any  advice?

Best regards,
Xiao


华为技术有限公司 Huawei Technologies Co., Ltd.

Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!


-----邮件原件-----
发件人: Andrey Skvortsov [mailto:[hidden email]]
发送时间: 2017年10月16日 20:54
收件人: [hidden email]
抄送: xiaolingjian (A); Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
主题: Re: [Beremiz-devel] How to build Beremiz on Windows?

Hi,

I think the problem is, that you are running Beremiz from directory with a non-latin character in path.

This problem shoudn't happen anymore with latest Beremiz from the current development repository. Try it:
https://bitbucket.org/skvorl/beremiz


On 17-10-16 12:40, [hidden email] wrote:

>
> Hi
>          I want to build Beremiz on Windows and downloaded source code on website- http://dev.automforge.net/, but  it failed to build.
>
>          It that source code is not for windows? If so,  where can I get the source code for windows version?
>
>
> Ps: Build Hint
> [cid:image002.png@01D346BE.E360F870]
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
> [cid:image001.png@01D1FB14.F1C96380]
> Mobile: 15899917957
> Email: [hidden email]<mailto:[hidden email]>
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com ________________________________
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from
> HUAWEI, which is intended only for the person or entity whose address
> is listed above. Any use of the information contained herein in any
> way (including, but not limited to, total or partial disclosure,
> reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error,
> please notify the sender by phone or email immediately and delete it!
>
>




> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Beremiz-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/beremiz-devel


--
Best regards,
Andrey Skvortsov
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
On 17-10-17 07:07, xiaolingjian (A) wrote:

> Hi
> Thank you for your reply.
>
> I download the latest version from https://bitbucket.org/skvorl/beremiz  and built it on a new directory, but it still prompt error as below
>
>
> C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py
> Traceback (most recent call last):
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 199, in <module>
>     beremiz.Start()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start
>     self.PreStart()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart
>     self.CreateApplication()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication
>     self.BackgroundInitialization()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization
>     self.ImportModules()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules
>     import BeremizIDE
>   File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>
>     from controls import VariablePanel
>   File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>
>     from DebugVariablePanel import DebugVariablePanel
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>
>     from DebugVariablePanel import DebugVariablePanel
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 40, in <module>
>     from DebugVariableItem import DebugVariableItem
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableItem.py", line 27, in <module>
>     from graphics.DebugDataConsumer import DebugDataConsumer, TYPE_TRANSLATOR
>   File "D:\skvorl-beremiz-614396cbffbf\graphics\__init__.py", line 28, in <module>
>     from FBD_Objects import *
>   File "D:\skvorl-beremiz-614396cbffbf\graphics\FBD_Objects.py", line 28, in <module>
>     from plcopen.structures import *
>   File "D:\skvorl-beremiz-614396cbffbf\plcopen\__init__.py", line 29, in <module>
>     from plcopen import PLCOpenParser, LoadProject, SaveProject, LoadPou, \
>   File "D:\skvorl-beremiz-614396cbffbf\plcopen\plcopen.py", line 30, in <module>
>     from lxml import etree
> ImportError: DLL load failed: �Ҳ���ָ���ij���
>
> Process finished with exit code 1
>
>
Error says that you don't have lxml module. ;-)
Have you installed it?

Have you installed all neccesary python dependencies? See README file
in the repo [1]. Instruction is for GNU/Linux, but python dependencies are the same.


> Would you give me any  advice?


By the way, there is a bit outdated Windows installer for Beremiz on
www.beremiz.org. It does contain all libraries already.
If you want to build installer for Windows with latest Beremiz
version, there is makefile for this [2]. But makefile is for GNU/Linux as well.

1. https://bitbucket.org/skvorl/beremiz/src/614396cbffbfb7eac6d025146ec77f487ba99419/README.md?at=default&fileviewer=file-view-default
2. https://bitbucket.org/skvorl/beremiz_public_dist

>
> Best regards,
> Xiao
>
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
>
> Mobile: 15899917957
> Email: [hidden email]
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com 
>
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from HUAWEI, which
> is intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
>
> -----邮件原件-----
> 发件人: Andrey Skvortsov [mailto:[hidden email]]
> 发送时间: 2017年10月16日 20:54
> 收件人: [hidden email]
> 抄送: xiaolingjian (A); Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
> 主题: Re: [Beremiz-devel] How to build Beremiz on Windows?
>
> Hi,
>
> I think the problem is, that you are running Beremiz from directory with a non-latin character in path.
>
> This problem shoudn't happen anymore with latest Beremiz from the current development repository. Try it:
> https://bitbucket.org/skvorl/beremiz
>
>
> On 17-10-16 12:40, [hidden email] wrote:
> >
> > Hi
> >          I want to build Beremiz on Windows and downloaded source code on website- http://dev.automforge.net/, but  it failed to build.
> >
> >          It that source code is not for windows? If so,  where can I get the source code for windows version?
> >
> >
> > Ps: Build Hint
> > [cid:image002.png@01D346BE.E360F870]
> >
> > 华为技术有限公司 Huawei Technologies Co., Ltd.
> > [cid:image001.png@01D1FB14.F1C96380]
> > Mobile: 15899917957
> > Email: [hidden email]<mailto:[hidden email]>
> > 地址:深圳市龙岗区坂田华为基地 邮编:518129
> > Huawei Technologies Co., Ltd.
> > Bantian, Longgang District,Shenzhen 518129, P.R.China
> > http://www.huawei.com ________________________________
> > 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> > 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> > 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> > This e-mail and its attachments contain confidential information from
> > HUAWEI, which is intended only for the person or entity whose address
> > is listed above. Any use of the information contained herein in any
> > way (including, but not limited to, total or partial disclosure,
> > reproduction, or dissemination) by persons other than the intended
> > recipient(s) is prohibited. If you receive this e-mail in error,
> > please notify the sender by phone or email immediately and delete it!
> >
> >
>
>
>
>
> > ----------------------------------------------------------------------
> > -------- Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
> > _______________________________________________
> > Beremiz-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/beremiz-devel
>
>
> --
> Best regards,
> Andrey Skvortsov
--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list

Hi

 

         I have two problems about build Beremiz in windows:

 

 

1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?

 

2. Where can I get all the dependencies for windows? I find it not easy to get all the dependencies for windows(I am a beginner for python) and some dependencies(such as lxml, matplotlib,bison,pyro, autoconf) are easy to install, but all the other dependencies(such as nevow, zeroconf, wxgtk,mercurial)cannot be installed successfully.

 

 

 

 

 

 

 

 

 

 

华为技术有限公司 Huawei Technologies Co., Ltd.

 

Mobile: 15899917957

Email: [hidden email]

 

 

 

 

 

地址:深圳市龙岗区坂田华为基地 邮编:518129

Huawei Technologies Co., Ltd.

Bantian, Longgang District,Shenzhen 518129, P.R.China

http://www.huawei.com

 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁

止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中

的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

This e-mail and its attachments contain confidential information from HUAWEI, which

is intended only for the person or entity whose address is listed above. Any use of the

information contained herein in any way (including, but not limited to, total or partial

disclosure, reproduction, or dissemination) by persons other than the intended

recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by

phone or email immediately and delete it!

 

 

 

-----邮件原件-----
发件人: [hidden email] [mailto:[hidden email]]
发送时间: 20171017 15:08
收件人: Andrey Skvortsov; [hidden email]
抄送: Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
主题: [Beremiz-devel] 答复: How to build Beremiz on Windows?

 

Hi

         Thank you for your reply.

        

         I download the latest version from https://bitbucket.org/skvorl/beremiz  and built it on a new directory, but it still prompt error as below

 

 

C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py

Traceback (most recent call last):

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 199, in <module>

    beremiz.Start()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start

    self.PreStart()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart

    self.CreateApplication()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication

    self.BackgroundInitialization()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization

    self.ImportModules()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules

    import BeremizIDE

  File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>

    from editors.EditorPanel import EditorPanel

  File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>

    from controls import VariablePanel

  File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>

    from DebugVariablePanel import DebugVariablePanel

  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>

    from DebugVariablePanel import DebugVariablePanel

  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 40, in <module>

    from DebugVariableItem import DebugVariableItem

  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableItem.py", line 27, in <module>

    from graphics.DebugDataConsumer import DebugDataConsumer, TYPE_TRANSLATOR

  File "D:\skvorl-beremiz-614396cbffbf\graphics\__init__.py", line 28, in <module>

    from FBD_Objects import *

  File "D:\skvorl-beremiz-614396cbffbf\graphics\FBD_Objects.py", line 28, in <module>

    from plcopen.structures import *

  File "D:\skvorl-beremiz-614396cbffbf\plcopen\__init__.py", line 29, in <module>

    from plcopen import PLCOpenParser, LoadProject, SaveProject, LoadPou, \

  File "D:\skvorl-beremiz-614396cbffbf\plcopen\plcopen.py", line 30, in <module>

    from lxml import etree

ImportError: DLL load failed:  Ҳ   ָ   ij  

 

Process finished with exit code 1

 

 

 

 

 

 

         Would you give me any  advice?

 

Best regards,

Xiao

 

 

华为技术有限公司 Huawei Technologies Co., Ltd.

 

Mobile: 15899917957

Email: [hidden email]

地址:深圳市龙岗区坂田华为基地 邮编:518129

Huawei Technologies Co., Ltd.

Bantian, Longgang District,Shenzhen 518129, P.R.China http://www.huawei.com

 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁

止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中

的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended

recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

 

 

-----邮件原件-----

发件人: Andrey Skvortsov [[hidden email]]

发送时间: 20171016 20:54

收件人: [hidden email]

抄送: xiaolingjian (A); Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)

主题: Re: [Beremiz-devel] How to build Beremiz on Windows?

 

Hi,

 

I think the problem is, that you are running Beremiz from directory with a non-latin character in path.

 

This problem shoudn't happen anymore with latest Beremiz from the current development repository. Try it:

https://bitbucket.org/skvorl/beremiz

 

 

On 17-10-16 12:40, [hidden email] wrote:

>

> Hi

>          I want to build Beremiz on Windows and downloaded source code on website- http://dev.automforge.net/, but  it failed to build.

>

>          It that source code is not for windows? If so,  where can I get the source code for windows version?

>

>

> Ps: Build Hint

> [<a href="cid:image002.png@01D346BE.E360F870">cid:image002.png@01D346BE.E360F870]

>

> 华为技术有限公司 Huawei Technologies Co., Ltd.

> [<a href="cid:image001.png@01D1FB14.F1C96380">cid:image001.png@01D1FB14.F1C96380]

> Mobile: 15899917957

> Email: [hidden email]>

> 地址:深圳市龙岗区坂田华为基地 邮编:518129

> Huawei Technologies Co., Ltd.

> Bantian, Longgang District,Shenzhen 518129, P.R.China

> http://www.huawei.com ________________________________

> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁

> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中

> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

> This e-mail and its attachments contain confidential information from

> HUAWEI, which is intended only for the person or entity whose address

> is listed above. Any use of the information contained herein in any

> way (including, but not limited to, total or partial disclosure,

> reproduction, or dissemination) by persons other than the intended

> recipient(s) is prohibited. If you receive this e-mail in error,

> please notify the sender by phone or email immediately and delete it!

>

>

 

 

 

 

> ----------------------------------------------------------------------

> -------- Check out the vibrant tech community on one of the world's

> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

 

> _______________________________________________

> Beremiz-devel mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/beremiz-devel

 

 

--

Best regards,

Andrey Skvortsov

------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________

Beremiz-devel mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/beremiz-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list

Hello!

1. Python 2.7 is ok. Beremiz distro for Windows contain 2.7.2 version.

2. One of the simplest way to get all dependencies for Windows is to install Beremiz distro 1.2-rc1 (link for download) from beremiz.org. 

This distro contains Python and all python dependencies (such as python-wxgtk2.8 python-nevow python-matplotlib python-lxml and Pyro). 

Flex, autoconf, build-essential and bison packages is used on Linux for build matiec, so you don't need to install them, because  this distro contains pre-built matiec for Windows - iec2c.exe and iec2iec.exe files.

Install Beremiz distro, then add paths to python interpreter and MinGW to your PATH environment variable, something like:

D:\"Your Beremiz directory"\Python;D:\"Your Beremiz directory"\Python\Scripts;D:\"Your Beremiz directory"\mingw\bin;D:\"Your Beremiz directory"\python\Lib;D:\"Your Beremiz directory"\python\Scripts;

Tip: if you use PyCharm - change Project Interpreter to Python interpreter located in Beremiz directory. Example: D:\"Your Beremiz directory"\python\python.exe .

Because in latest updates Zeroconf deleted from Beremiz repository, I've written small how to install Zeroconf help.

Mercurial is a version control system, you don't need this package to run Beremiz, it's optional, use mercurial if you want to clone repository and easy get updates.

Well, after all foresaid things done, you can just replace folder "beremiz" in Beremiz installation directory with folder, downloaded from Andrey's repository (of course, rename it to "beremiz" :) )

Hope this will help.


19.10.2017 14:47, [hidden email] пишет:

Hi

 

         I have two problems about build Beremiz in windows:

 

 

1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?

 

2. Where can I get all the dependencies for windows? I find it not easy to get all the dependencies for windows(I am a beginner for python) and some dependencies(such as lxml, matplotlib,bison,pyro, autoconf) are easy to install, but all the other dependencies(such as nevow, zeroconf, wxgtk,mercurial)cannot be installed successfully.

 

 

 

 

 

 

 

 

 

 

华为技术有限公司 Huawei Technologies Co., Ltd.

 

Mobile: 15899917957

Email: [hidden email]

 

 

 

 

 

地址:深圳市龙岗区坂田华为基地 邮编:518129

Huawei Technologies Co., Ltd.

Bantian, Longgang District,Shenzhen 518129, P.R.China

http://www.huawei.com

 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁

止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中

的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

This e-mail and its attachments contain confidential information from HUAWEI, which

is intended only for the person or entity whose address is listed above. Any use of the

information contained herein in any way (including, but not limited to, total or partial

disclosure, reproduction, or dissemination) by persons other than the intended

recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by

phone or email immediately and delete it!

 

 

 

-----邮件原件-----
发件人: [hidden email] [[hidden email]]
发送时间: 20171017 15:08
收件人: Andrey Skvortsov; [hidden email]
抄送: Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
主题: [Beremiz-devel] 答复: How to build Beremiz on Windows?

 

Hi

         Thank you for your reply.

        

         I download the latest version from https://bitbucket.org/skvorl/beremiz  and built it on a new directory, but it still prompt error as below

 

 

C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py

Traceback (most recent call last):

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 199, in <module>

    beremiz.Start()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start

    self.PreStart()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart

    self.CreateApplication()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication

    self.BackgroundInitialization()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization

    self.ImportModules()

  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules

    import BeremizIDE

  File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>

    from editors.EditorPanel import EditorPanel

  File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>

    from controls import VariablePanel

  File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>

    from DebugVariablePanel import DebugVariablePanel

  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>

    from DebugVariablePanel import DebugVariablePanel

  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 40, in <module>

    from DebugVariableItem import DebugVariableItem

  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableItem.py", line 27, in <module>

    from graphics.DebugDataConsumer import DebugDataConsumer, TYPE_TRANSLATOR

  File "D:\skvorl-beremiz-614396cbffbf\graphics\__init__.py", line 28, in <module>

    from FBD_Objects import *

  File "D:\skvorl-beremiz-614396cbffbf\graphics\FBD_Objects.py", line 28, in <module>

    from plcopen.structures import *

  File "D:\skvorl-beremiz-614396cbffbf\plcopen\__init__.py", line 29, in <module>

    from plcopen import PLCOpenParser, LoadProject, SaveProject, LoadPou, \

  File "D:\skvorl-beremiz-614396cbffbf\plcopen\plcopen.py", line 30, in <module>

    from lxml import etree

ImportError: DLL load failed:  Ҳ   ָ   ij  

 

Process finished with exit code 1

 

 

 

 

 

 

         Would you give me any  advice?

 

Best regards,

Xiao

 

 

华为技术有限公司 Huawei Technologies Co., Ltd.

 

Mobile: 15899917957

Email: [hidden email]

地址:深圳市龙岗区坂田华为基地 邮编:518129

Huawei Technologies Co., Ltd.

Bantian, Longgang District,Shenzhen 518129, P.R.China http://www.huawei.com

 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁

止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中

的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended

recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

 

 

-----邮件原件-----

发件人: Andrey Skvortsov [[hidden email]]

发送时间: 20171016 20:54

收件人: [hidden email]

抄送: xiaolingjian (A); Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)

主题: Re: [Beremiz-devel] How to build Beremiz on Windows?

 

Hi,

 

I think the problem is, that you are running Beremiz from directory with a non-latin character in path.

 

This problem shoudn't happen anymore with latest Beremiz from the current development repository. Try it:

https://bitbucket.org/skvorl/beremiz

 

 

On 17-10-16 12:40, [hidden email] wrote:

>

> Hi

>          I want to build Beremiz on Windows and downloaded source code on website- http://dev.automforge.net/, but  it failed to build.

>

>          It that source code is not for windows? If so,  where can I get the source code for windows version?

>

>

> Ps: Build Hint

> [<a moz-do-not-send="true" href="cid:image002.png@01D346BE.E360F870">cid:image002.png@01D346BE.E360F870]

>

> 华为技术有限公司 Huawei Technologies Co., Ltd.

> [<a moz-do-not-send="true" href="cid:image001.png@01D1FB14.F1C96380">cid:image001.png@01D1FB14.F1C96380]

> Mobile: 15899917957

> Email: [hidden email]>

> 地址:深圳市龙岗区坂田华为基地 邮编:518129

> Huawei Technologies Co., Ltd.

> Bantian, Longgang District,Shenzhen 518129, P.R.China

> http://www.huawei.com ________________________________

> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁

> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中

> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!

> This e-mail and its attachments contain confidential information from

> HUAWEI, which is intended only for the person or entity whose address

> is listed above. Any use of the information contained herein in any

> way (including, but not limited to, total or partial disclosure,

> reproduction, or dissemination) by persons other than the intended

> recipient(s) is prohibited. If you receive this e-mail in error,

> please notify the sender by phone or email immediately and delete it!

>

>

 

 

 

 

> ----------------------------------------------------------------------

> -------- Check out the vibrant tech community on one of the world's

> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

 

> _______________________________________________

> Beremiz-devel mailing list

> [hidden email]

> https://lists.sourceforge.net/lists/listinfo/beremiz-devel

 

 

--

Best regards,

Andrey Skvortsov

------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________

Beremiz-devel mailing list

[hidden email]

https://lists.sourceforge.net/lists/listinfo/beremiz-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

--
Best regards, Sergey Surkov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
On 17-10-19 11:47, xiaolingjian (A) wrote:
> Hi
>
>          I have two problems about build Beremiz in windows:
>
> 1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?
2.7 is OK. Currently Beremiz is working *only* with 2.7 Python,
because of its library dependencies.

If you care about Python 3.x, just for your information we keep in
mind Python 3.x and doing some work to make migration smooth, because
Python 2.x will be end of life in 2020. This is not that far a way.

The major problem for migration to Python 3.0 currently is wxPython. Latest version of
wxPython (4.0) does support Python 3.x, but it's beta now and isn't
deployed in any major distribution.


> 2. Where can I get all the dependencies for windows? I find it not
> easy to get all the dependencies for windows(I am a beginner for
> python) and some dependencies(such as lxml, matplotlib,bison,pyro,
> autoconf) are easy to install, but all the other dependencies(such
> as nevow, zeroconf, wxgtk,mercurial)cannot be installed
> successfully.
As I (and Sergey in his last answer) said before the easiest way would be
just use ready Windows installer. It does contains all python
dependencies already.



--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
Hi

        I have two question needing your help:
(1) Now I can build the version from http://www.beremiz.org on window successfully , but cannot build the latest version from https://bitbucket.org/skvorl/beremiz on windows. it prompted hints as follow(which dependency should be installed?):
C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py
main
Traceback (most recent call last):
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 200, in <module>
    beremiz.Start()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start
    self.PreStart()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart
    self.CreateApplication()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication
    self.BackgroundInitialization()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization
    self.ImportModules()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules
    import BeremizIDE
  File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>
    from editors.EditorPanel import EditorPanel
  File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>
    from controls import VariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>
    from DebugVariablePanel import DebugVariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>
    from DebugVariablePanel import DebugVariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 41, in <module>
    from DebugVariableTextViewer import DebugVariableTextViewer
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableTextViewer.py", line 29, in <module>
    from DebugVariableViewer import DebugVariableViewer
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableViewer.py", line 30, in <module>
    from dialogs.ForceVariableDialog import ForceVariableDialog
  File "D:\skvorl-beremiz-614396cbffbf\dialogs\__init__.py", line 49, in <module>
    from DiscoveryDialog import DiscoveryDialog
  File "D:\skvorl-beremiz-614396cbffbf\dialogs\DiscoveryDialog.py", line 29, in <module>
    from zeroconf import ServiceBrowser, Zeroconf
  File "C:\Python27\lib\site-packages\zeroconf.py", line 155, in <module>
    @enum.unique
AttributeError: 'module' object has no attribute 'unique'


(2) How to build MatIEC on windows? Where can I find the help? Would you send me a release version which can work properly on windows.



Best regards
xiao



华为技术有限公司 Huawei Technologies Co., Ltd.

Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!


-----邮件原件-----
发件人: [hidden email] [mailto:[hidden email]]
发送时间: 2017年10月20日 14:58
抄送: [hidden email]; Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
主题: Re: [Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?

On 17-10-19 11:47, xiaolingjian (A) wrote:
> Hi
>
>          I have two problems about build Beremiz in windows:
>
> 1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?
2.7 is OK. Currently Beremiz is working *only* with 2.7 Python, because of its library dependencies.

If you care about Python 3.x, just for your information we keep in mind Python 3.x and doing some work to make migration smooth, because Python 2.x will be end of life in 2020. This is not that far a way.

The major problem for migration to Python 3.0 currently is wxPython. Latest version of wxPython (4.0) does support Python 3.x, but it's beta now and isn't deployed in any major distribution.


> 2. Where can I get all the dependencies for windows? I find it not
> easy to get all the dependencies for windows(I am a beginner for
> python) and some dependencies(such as lxml, matplotlib,bison,pyro,
> autoconf) are easy to install, but all the other dependencies(such as
> nevow, zeroconf, wxgtk,mercurial)cannot be installed successfully.
As I (and Sergey in his last answer) said before the easiest way would be just use ready Windows installer. It does contains all python dependencies already.



--
Best regards,
Andrey Skvortsov
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
Dear Andrey Skvortsov,

        I uninstall 'enum'  dependency, and built it successfully.  Thank you for your help.

        So would you answer the question 2 about MatIEC?

Best regards
Xiao



华为技术有限公司 Huawei Technologies Co., Ltd.

Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!



-----邮件原件-----
发件人: [hidden email] [mailto:[hidden email]]
发送时间: 2017年10月23日 19:30
收件人: [hidden email]
抄送: Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
主题: [Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?

Hi

        I have two question needing your help:
(1) Now I can build the version from http://www.beremiz.org on window successfully , but cannot build the latest version from https://bitbucket.org/skvorl/beremiz on windows. it prompted hints as follow(which dependency should be installed?):
C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py
main
Traceback (most recent call last):
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 200, in <module>
    beremiz.Start()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start
    self.PreStart()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart
    self.CreateApplication()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication
    self.BackgroundInitialization()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization
    self.ImportModules()
  File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules
    import BeremizIDE
  File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>
    from editors.EditorPanel import EditorPanel
  File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>
    from controls import VariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>
    from DebugVariablePanel import DebugVariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>
    from DebugVariablePanel import DebugVariablePanel
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 41, in <module>
    from DebugVariableTextViewer import DebugVariableTextViewer
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableTextViewer.py", line 29, in <module>
    from DebugVariableViewer import DebugVariableViewer
  File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableViewer.py", line 30, in <module>
    from dialogs.ForceVariableDialog import ForceVariableDialog
  File "D:\skvorl-beremiz-614396cbffbf\dialogs\__init__.py", line 49, in <module>
    from DiscoveryDialog import DiscoveryDialog
  File "D:\skvorl-beremiz-614396cbffbf\dialogs\DiscoveryDialog.py", line 29, in <module>
    from zeroconf import ServiceBrowser, Zeroconf
  File "C:\Python27\lib\site-packages\zeroconf.py", line 155, in <module>
    @enum.unique
AttributeError: 'module' object has no attribute 'unique'


(2) How to build MatIEC on windows? Where can I find the help? Would you send me a release version which can work properly on windows.



Best regards
xiao



华为技术有限公司 Huawei Technologies Co., Ltd.

Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China http://www.huawei.com 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!


-----邮件原件-----
发件人: [hidden email] [mailto:[hidden email]]
发送时间: 2017年10月20日 14:58
抄送: [hidden email]; Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
主题: Re: [Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?

On 17-10-19 11:47, xiaolingjian (A) wrote:
> Hi
>
>          I have two problems about build Beremiz in windows:
>
> 1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?
2.7 is OK. Currently Beremiz is working *only* with 2.7 Python, because of its library dependencies.

If you care about Python 3.x, just for your information we keep in mind Python 3.x and doing some work to make migration smooth, because Python 2.x will be end of life in 2020. This is not that far a way.

The major problem for migration to Python 3.0 currently is wxPython. Latest version of wxPython (4.0) does support Python 3.x, but it's beta now and isn't deployed in any major distribution.


> 2. Where can I get all the dependencies for windows? I find it not
> easy to get all the dependencies for windows(I am a beginner for
> python) and some dependencies(such as lxml, matplotlib,bison,pyro,
> autoconf) are easy to install, but all the other dependencies(such as
> nevow, zeroconf, wxgtk,mercurial)cannot be installed successfully.
As I (and Sergey in his last answer) said before the easiest way would be just use ready Windows installer. It does contains all python dependencies already.



--
Best regards,
Andrey Skvortsov
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
Hi Xiao,

1) It seems to me that problem not with Zeroconf module, but with
enum-compat dependence. Did you install zeroconf using instruction on
wiki ? Pip should have installed all these dependencies: six,
enum-compat, netifaces . If not, try to install them manually.


23.10.2017 14:29, [hidden email] пишет:

> Hi
>
> I have two question needing your help:
> (1) Now I can build the version from http://www.beremiz.org on window successfully , but cannot build the latest version from https://bitbucket.org/skvorl/beremiz on windows. it prompted hints as follow(which dependency should be installed?):
> C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py
> main
> Traceback (most recent call last):
>    File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 200, in <module>
>      beremiz.Start()
>    File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start
>      self.PreStart()
>    File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart
>      self.CreateApplication()
>    File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication
>      self.BackgroundInitialization()
>    File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization
>      self.ImportModules()
>    File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules
>      import BeremizIDE
>    File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>
>      from editors.EditorPanel import EditorPanel
>    File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>
>      from controls import VariablePanel
>    File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>
>      from DebugVariablePanel import DebugVariablePanel
>    File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>
>      from DebugVariablePanel import DebugVariablePanel
>    File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 41, in <module>
>      from DebugVariableTextViewer import DebugVariableTextViewer
>    File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableTextViewer.py", line 29, in <module>
>      from DebugVariableViewer import DebugVariableViewer
>    File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableViewer.py", line 30, in <module>
>      from dialogs.ForceVariableDialog import ForceVariableDialog
>    File "D:\skvorl-beremiz-614396cbffbf\dialogs\__init__.py", line 49, in <module>
>      from DiscoveryDialog import DiscoveryDialog
>    File "D:\skvorl-beremiz-614396cbffbf\dialogs\DiscoveryDialog.py", line 29, in <module>
>      from zeroconf import ServiceBrowser, Zeroconf
>    File "C:\Python27\lib\site-packages\zeroconf.py", line 155, in <module>
>      @enum.unique
> AttributeError: 'module' object has no attribute 'unique'
>
>
> (2) How to build MatIEC on windows? Where can I find the help? Would you send me a release version which can work properly on windows.
>
>
>
> Best regards
> xiao
>
>
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
>
> Mobile: 15899917957
> Email: [hidden email]
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com
>
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from HUAWEI, which
> is intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
>
> -----邮件原件-----
> 发件人: [hidden email] [mailto:[hidden email]]
> 发送时间: 2017年10月20日 14:58
> 抄送: [hidden email]; Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
> 主题: Re: [Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?
>
> On 17-10-19 11:47, xiaolingjian (A) wrote:
>> Hi
>>
>>           I have two problems about build Beremiz in windows:
>>
>> 1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?
> 2.7 is OK. Currently Beremiz is working *only* with 2.7 Python, because of its library dependencies.
>
> If you care about Python 3.x, just for your information we keep in mind Python 3.x and doing some work to make migration smooth, because Python 2.x will be end of life in 2020. This is not that far a way.
>
> The major problem for migration to Python 3.0 currently is wxPython. Latest version of wxPython (4.0) does support Python 3.x, but it's beta now and isn't deployed in any major distribution.
>
>
>> 2. Where can I get all the dependencies for windows? I find it not
>> easy to get all the dependencies for windows(I am a beginner for
>> python) and some dependencies(such as lxml, matplotlib,bison,pyro,
>> autoconf) are easy to install, but all the other dependencies(such as
>> nevow, zeroconf, wxgtk,mercurial)cannot be installed successfully.
> As I (and Sergey in his last answer) said before the easiest way would be just use ready Windows installer. It does contains all python dependencies already.
>
>
>

--
Best regards, Sergey Surkov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
Hi Xiao,

On 17-10-23 11:29, [hidden email] wrote:

> Hi
>
> I have two question needing your help:
> (1) Now I can build the version from http://www.beremiz.org on window successfully , but cannot build the latest version from https://bitbucket.org/skvorl/beremiz on windows. it prompted hints as follow(which dependency should be installed?):
> C:\Python27\python.exe D:/skvorl-beremiz-614396cbffbf/Beremiz.py
> main
> Traceback (most recent call last):
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 200, in <module>
>     beremiz.Start()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 193, in Start
>     self.PreStart()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 187, in PreStart
>     self.CreateApplication()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 127, in CreateApplication
>     self.BackgroundInitialization()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 133, in BackgroundInitialization
>     self.ImportModules()
>   File "D:/skvorl-beremiz-614396cbffbf/Beremiz.py", line 172, in ImportModules
>     import BeremizIDE
>   File "D:\skvorl-beremiz-614396cbffbf\BeremizIDE.py", line 44, in <module>
>     from editors.EditorPanel import EditorPanel
>   File "D:\skvorl-beremiz-614396cbffbf\editors\EditorPanel.py", line 27, in <module>
>     from controls import VariablePanel
>   File "D:\skvorl-beremiz-614396cbffbf\controls\__init__.py", line 32, in <module>
>     from DebugVariablePanel import DebugVariablePanel
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\__init__.py", line 26, in <module>
>     from DebugVariablePanel import DebugVariablePanel
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariablePanel.py", line 41, in <module>
>     from DebugVariableTextViewer import DebugVariableTextViewer
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableTextViewer.py", line 29, in <module>
>     from DebugVariableViewer import DebugVariableViewer
>   File "D:\skvorl-beremiz-614396cbffbf\controls\DebugVariablePanel\DebugVariableViewer.py", line 30, in <module>
>     from dialogs.ForceVariableDialog import ForceVariableDialog
>   File "D:\skvorl-beremiz-614396cbffbf\dialogs\__init__.py", line 49, in <module>
>     from DiscoveryDialog import DiscoveryDialog
>   File "D:\skvorl-beremiz-614396cbffbf\dialogs\DiscoveryDialog.py", line 29, in <module>
>     from zeroconf import ServiceBrowser, Zeroconf
>   File "C:\Python27\lib\site-packages\zeroconf.py", line 155, in <module>
>     @enum.unique
> AttributeError: 'module' object has no attribute 'unique'
most likely you are missing some of zeroconf dependencies.
Pip should install all necessary dependencies for zeroconf
automatically. Have you used pip to install zeroconf like Sergey
recommended you last time?
By the way instructions for that are in Beremiz wiki [1].

If you installed zeroconf by hand, then you need additional packages like:
 - six
 - netifaces
 - enum34.
See changes in commit [2].


> (2) How to build MatIEC on windows? Where can I find the help? Would you send me a release version which can work properly on windows.
IMHO the easiest way to get MatIEC executables for Windows is
cross-compilation under GNU/Linux. There are instructions for that in Beremiz wiki [3].

If you just need working version of matiec for Windows, you can use
one from installer available on www.beremiz.org. See C:\Program
files\Beremiz\matiec. It's not the latest, but it's working properly
on Windows.


I see it's not that easy for you to start working with latest Beremiz.
I've created for you Windows installer that contains all python
dependencies needed for latest Beremiz (added zeroconf and all
necessary dependencies) and more recent version of matiec. Try it. [4]

1. https://bitbucket.org/skvorl/beremiz/wiki/How%20to%20install%20Zeroconf%20on%20Windows%20using%20pip
2. https://bitbucket.org/skvorl/beremiz_public_dist/commits/5c0a6affeafaf7483e1a0f88fedd67f8bf21be5c
3. https://bitbucket.org/skvorl/beremiz/wiki/matiec%20build%20instructions
4. https://cloud.woelkli.com/s/Wa7G5uvmqArkyoI


> Best regards
> xiao
>
>
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
>
> Mobile: 15899917957
> Email: [hidden email]
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com 
>
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from HUAWEI, which
> is intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
>
> -----邮件原件-----
> 发件人: [hidden email] [mailto:[hidden email]]
> 发送时间: 2017年10月20日 14:58
> 抄送: [hidden email]; Wuyongjie (Test & ATE); Tanshenglong (tangshenglong, 2012Labs)
> 主题: Re: [Beremiz-devel] 答复: 答复: How to build Beremiz on Windows?
>
> On 17-10-19 11:47, xiaolingjian (A) wrote:
> > Hi
> >
> >          I have two problems about build Beremiz in windows:
> >
> > 1. What version of python is required for building Beremiz in windows? Must be greater than 3.0 or 2.7 is ok?
> 2.7 is OK. Currently Beremiz is working *only* with 2.7 Python, because of its library dependencies.
>
> If you care about Python 3.x, just for your information we keep in mind Python 3.x and doing some work to make migration smooth, because Python 2.x will be end of life in 2020. This is not that far a way.
>
> The major problem for migration to Python 3.0 currently is wxPython. Latest version of wxPython (4.0) does support Python 3.x, but it's beta now and isn't deployed in any major distribution.
>
>
> > 2. Where can I get all the dependencies for windows? I find it not
> > easy to get all the dependencies for windows(I am a beginner for
> > python) and some dependencies(such as lxml, matplotlib,bison,pyro,
> > autoconf) are easy to install, but all the other dependencies(such as
> > nevow, zeroconf, wxgtk,mercurial)cannot be installed successfully.
> As I (and Sergey in his last answer) said before the easiest way would be just use ready Windows installer. It does contains all python dependencies already.
>
>
>
> --
> Best regards,
> Andrey Skvortsov
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Beremiz-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/beremiz-devel
--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
On 17-10-23 12:26, [hidden email] wrote:
> Dear Andrey Skvortsov,
>
> I uninstall 'enum'  dependency, and built it successfully.  Thank you for your help.

Congratulations. :-)

--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list

 Hi Xiao,


On Monday 23 October 2017 12:29:58 [hidden email] wrote:
>
> (2) How to build MatIEC on windows? Where can I find the help? Would you
> send me a release version which can work properly on windows.
>

 I believe that all matiec executables for windows were created on Linux using
a cross-compiler. At least that is how I have always done it.

 I believe it should be possible to compile it on windows using cygwin, but I
have never tried it myself. However, I have had some feedback from other
people that came across difficulties while trying it.


  Why do you need to compile it yourself? Why can't you use the matiec version
that is distributed with the Windows installer of Beremiz?



  Cheers,

        Mario.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
Hi Mario,

        I am  really appreciated  for your detailed reply.

       
        By the way, where can I get the matiec installer for windows(64bit)?


Best regards
Xiao


华为技术有限公司 Huawei Technologies Co., Ltd.

Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com 

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!



-----邮件原件-----
发件人: [hidden email] [mailto:[hidden email]]
发送时间: 2017年10月23日 20:55
收件人: [hidden email]
主题: Re: [Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?


 Hi Xiao,


On Monday 23 October 2017 12:29:58 [hidden email] wrote:
>
> (2) How to build MatIEC on windows? Where can I find the help? Would you
> send me a release version which can work properly on windows.
>

 I believe that all matiec executables for windows were created on Linux using a cross-compiler. At least that is how I have always done it.

 I believe it should be possible to compile it on windows using cygwin, but I have never tried it myself. However, I have had some feedback from other people that came across difficulties while trying it.


  Why do you need to compile it yourself? Why can't you use the matiec version that is distributed with the Windows installer of Beremiz?



  Cheers,

        Mario.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
On 17-10-24 01:24, [hidden email] wrote:
> Hi Mario,
>
> I am  really appreciated  for your detailed reply.
>
>
> By the way, where can I get the matiec installer for windows(64bit)?

Hi, Xiao,

So far there is no installer for 64 Windows platform for Beremiz
(matiec is a part of Beremiz installer).
The main question is why do you need this?
I don't think matiec would gain much from being compiled for 64-bit Windows platform.

If you need support for 64-bit target platform (PLC), then I'd say it's
already there. Just compile generated by matiec C code with 64-bit
compiler for your target.

If you really need 64-bit Windows installer,
you most likely can create version for 64-bit version of Windows.


> Best regards
> Xiao
>
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
>
> Mobile: 15899917957
> Email: [hidden email]
> 地址:深圳市龙岗区坂田华为基地 邮编:518129
> Huawei Technologies Co., Ltd.
> Bantian, Longgang District,Shenzhen 518129, P.R.China
> http://www.huawei.com 
>
> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from HUAWEI, which
> is intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
> phone or email immediately and delete it!
>
>
>
> -----邮件原件-----
> 发件人: [hidden email] [mailto:[hidden email]]
> 发送时间: 2017年10月23日 20:55
> 收件人: [hidden email]
> 主题: Re: [Beremiz-devel] 答复: 答复: 答复: How to build Beremiz on Windows?
>
>
>  Hi Xiao,
>
>
> On Monday 23 October 2017 12:29:58 [hidden email] wrote:
> >
> > (2) How to build MatIEC on windows? Where can I find the help? Would you
> > send me a release version which can work properly on windows.
> >
>
>  I believe that all matiec executables for windows were created on Linux using a cross-compiler. At least that is how I have always done it.
>
>  I believe it should be possible to compile it on windows using cygwin, but I have never tried it myself. However, I have had some feedback from other people that came across difficulties while trying it.
>
>
>   Why do you need to compile it yourself? Why can't you use the matiec version that is distributed with the Windows installer of Beremiz?
>
>
>
>   Cheers,
>
>         Mario.
>
--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list

Hi Xiao!

I've written small guide in Andrey's wiki about running Beremiz on Windows . If you have something to add, or have another experience about this, feel free to improve that guide.


23.10.2017 15:26, [hidden email] пишет:
Dear Andrey Skvortsov,

	I uninstall 'enum'  dependency, and built it successfully.  Thank you for your help.

	So would you answer the question 2 about MatIEC?

Best regards
Xiao

--
Best regards, Sergey Surkov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list

Dear Sergey Surkov

 

    I install Beremiz-1.1_RC5.exe  run/build bemeriz successfully like below( I have one question, why the final file is dll file rather than exe file?)

 

cid:image002.png@01D35304.53F731C0

 

 

    But if I copy the newest version skvorl-beremiz-614396cbffbf in the same folder and build the same project, it prompt error as below(by the way, how to change language version, I want to use English version ):

 

 

Best regards
Xiao

 

华为技术有限公司 Huawei Technologies Co., Ltd.
cid:image001.png@01D1FB14.F1C96380
Mobile: 15899917957
Email:
[hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com


本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

 

发件人: [hidden email] [[hidden email]]
发送时间: 20171030 18:02
收件人: [hidden email]
主题: Re: [Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

 

Hi Xiao!

I've written small guide in Andrey's wiki about running Beremiz on Windows . If you have something to add, or have another experience about this, feel free to improve that guide.


23.10.2017 15:26, [hidden email]
пишет:

Dear Andrey Skvortsov,
 
  I uninstall 'enum'  dependency, and built it successfully.  Thank you for your help.
 
  So would you answer the question 2 about MatIEC?
 
Best regards
Xiao

 

--
Best regards, Sergey Surkov


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] 答复: 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list

 

Dear Sergey Surkov

 

    I install Beremiz-1.1_RC5.exe  run/build bemeriz successfully like below( I have one question, why the final file is dll file rather than exe file?)

 

cid:image002.png@01D35304.53F731C0

 

 

    But if I copy the newest version skvorl-beremiz-614396cbffbf in the same folder and build the same project, it prompt error as below(by the way, how to change language version, I want to use English version ):

cid:image003.png@01D35329.864D1700

 

 

Best regards
Xiao

 

华为技术有限公司 Huawei Technologies Co., Ltd.
cid:image001.png@01D1FB14.F1C96380
Mobile: 15899917957
Email:
[hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com


本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

 

发件人: [hidden email] [[hidden email]]
发送时间: 20171030 18:02
收件人: [hidden email]
主题: Re: [Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

 

Hi Xiao!

I've written small guide in Andrey's wiki about running Beremiz on Windows . If you have something to add, or have another experience about this, feel free to improve that guide.


23.10.2017 15:26, [hidden email]
пишет:

Dear Andrey Skvortsov,
 
  I uninstall 'enum'  dependency, and built it successfully.  Thank you for your help.
 
  So would you answer the question 2 about MatIEC?
 
Best regards
Xiao

 

--
Best regards, Sergey Surkov


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] How to use GUI

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list

Dear Sergey Surkov

 

    How to add my GUI in Bemeriz. I add one but don’t know how to use it. Would you give me a GUI sample? By the way, what is the difference of “WxGlade GUI” and “SVGUI”?

 

    What is the source file structure of Beremiz Editor? Where can we find any explanation.

 

 

Best regards
Xiao

 

 

   

 

华为技术有限公司 Huawei Technologies Co., Ltd.
cid:image001.png@01D1FB14.F1C96380
Mobile: 15899917957
Email: [hidden email]
地址:深圳市龙岗区坂田华为基地 邮编:518129
Huawei Technologies Co., Ltd.
Bantian, Longgang District,Shenzhen 518129, P.R.China
http://www.huawei.com


本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
This e-mail and its attachments contain confidential information from HUAWEI, which
is intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

 

发件人: [hidden email] [mailto:[hidden email]]
发送时间: 20171030 18:02
收件人: [hidden email]
主题: Re: [Beremiz-devel] 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

 

Hi Xiao!

I've written small guide in Andrey's wiki about running Beremiz on Windows . If you have something to add, or have another experience about this, feel free to improve that guide.


23.10.2017 15:26, [hidden email] пишет:

Dear Andrey Skvortsov,
 
  I uninstall 'enum'  dependency, and built it successfully.  Thank you for your help.
 
  So would you answer the question 2 about MatIEC?
 
Best regards
Xiao

 

--
Best regards, Sergey Surkov


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] 答复: 答复: 答复: 答复: 答复: How to build Beremiz on Windows?

Beremiz-Devel mailing list
In reply to this post by Beremiz-Devel mailing list
Hi Xiao,

On 17-11-01 07:54, [hidden email] wrote:
>
> Dear Sergey Surkov
>
>     I install Beremiz-1.1_RC5.exe  run/build bemeriz successfully
>     like below( I have one question, why the final file is dll file
>     rather than exe file?)
Why do you use such an old version (1.1-RC5)? It's not supported for a
long long time. Use at least 1.2-RC1 or better use latest version from [1].

DLL is loaded and then executed by runtime.
In case of Win32 target, it's Beremiz_service that is started and
running in background on your computer.


> [cid:image002.png@01D35304.53F731C0]
>
>
>     But if I copy the newest version ‘skvorl-beremiz-614396cbffbf”
>     in the same folder and build the same project, it prompt error
>     as below(by the way,
Most likely the problem is your very old matiec from 1.1-RC5. Some C
headers have changed in matiec library and C code generated by Beremiz
extensions (py_ext, svgui, wxhmi) depend on matiec's headers.
Therefore py_ext from latest Beremiz generates C code compatible with
the latest matiec, but not with the old you have. As a result you get
C compilation error.


> how to change language version, I want to use English version ):
> [cid:image003.png@01D35329.864D1700]
To change language, you need to change language settings for your
Windows account (Control Panel - Region and Language).


1. https://bitbucket.org/skvorl/beremiz


--
Best regards,
Andrey Skvortsov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
12