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

Error importing pyiec61850 in v1.6 #523

Open
caiobacode opened this issue Sep 9, 2024 · 1 comment
Open

Error importing pyiec61850 in v1.6 #523

caiobacode opened this issue Sep 9, 2024 · 1 comment

Comments

@caiobacode
Copy link

I followed the instructions at /pyiec61850/README.md. It builds and installs the library, but when i run the tests i get this error:

pyiec61850$ python3.10 test_pyiec61850.py 
Traceback (most recent call last):
  File "/home/softwares/libiec61850/pyiec61850/test_pyiec61850.py", line 9, in <module>
    import pyiec61850 as iec61850
  File "/usr/local/lib/python3.10/dist-packages/pyiec61850.py", line 15, in <module>
    import _pyiec61850
ImportError: /usr/local/lib/python3.10/dist-packages/_pyiec61850.so: undefined symbol: GoosePublisher_createRemote
@rahatN-tech
Copy link

similar problem is happening with me as well..i am getting the following error
D:\python\comm\build\pyiec61850\_iec61850.vcxproj] iec61850PYTHON_wrap.obj : error LNK2019: unresolved external symbol MmsGooseControlBlock_getFixedOffs referenced in function _wrap_MmsGooseControlBlock_getFixedO ffs [D:\python\comm\build\pyiec61850\_iec61850.vcxproj] iec61850PYTHON_wrap.obj : error LNK2019: unresolved external symbol MmsGooseControlBlock_getNdsCom referenced in function _wrap_MmsGooseControlBlock_getNdsCom [D :\python\comm\build\pyiec61850\_iec61850.vcxproj] D:\python\comm\build\pyiec61850\Release\_iec61850.pyd : fatal error LNK1120: 9 unresolved externals [D:\python\comm\build\pyiec61850\_iec61850.vcxproj]

even though in build..i dont want to use GOOSE..So in CMakeLists.txt file i am setting it as cmake -DBUILD_PYTHON_BINDINGS=ON -DCONFIG_INCLUDE_GOOSE_SUPPORT=OFF..still i am unable to link the bindings with my project...also removed goose related files from swig interfacing files with .i extension....please resolve the issue ..badly stuck it it

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