Comments (3)
They might not. You'll probably need to build them using the musl libraries.
from libplctag.net.
Indeed we solved by building the native library in an Alpine VM. Here are the commands if anyone is interested:
apk update
apk add build-base gcc git cmake
git clone https://github.com/libplctag/libplctag.git
cd libplctag
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
Please note that:
- The output
libplctag.so
that you will find in the output directory is just a 0 byte symbolic link. You will need to find the file it is pointing to (for examplelibplctag.so.2.5
) and rename it tolibplctag.so
, then include it in your .NET solution with the "Copy always" action set. - To avoid the unwanted overwriting of the file at the program startup, the following line of code is required in your app (before any use of the libplctag library), as explained HERE
plctag.ForceExtractLibrary = false;
from libplctag.net.
Do the libplctag core binaries work by themself for this setup?
from libplctag.net.
Related Issues (20)
- Get ITag object from TagInfo c# .NET framework HOT 4
- Writing to custom length string HOT 5
- Exception Handling HOT 4
- Try Notification value changed HOT 1
- Performance issues - cpu usage HOT 35
- Custom UDT mapper with string HOT 3
- ReadAsync() not handling exception when wrong IP Address is provided. HOT 4
- Issue timeout on first read HOT 6
- CompactLogix Plc Communicate C# this code not working on compactlogix HOT 1
- Writing sting value from C# to AB compactlogix string_50 tag. HOT 9
- Can I read descriptions from tags HOT 2
- What does error not allowed mean? HOT 2
- Try to decouple NotifyValueChangedTag from application
- Performance Issue - AutoRead HOT 9
- Should (some specific) tag parameters be able to be modified after initialization? HOT 3
- Timeout Micro850 (2080-LC50-24QBB) HOT 4
- BoolPlcMapper not returning properly HOT 1
- Connecting to a topic name HOT 2
- ReadAsync + Dispose HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libplctag.net.