LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIo

sh.PNG

Hi everyone ... I am new to labview and I am using myRIO 1900
i wanted to use a C++ program in myRIO project, but I got this (in the photo).
I know that there is something related to shared libraries ... but I dont have much experience
can anyone help ...!
Thanks

0 Kudos
Message 1 of 6
(2,422 Views)

Hi mohlq,

 

the myRIO uses Linux OS - this does not like (Windows) DLL files…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,414 Views)

thanks for answering...
you mean I cant use DLL files ... I didnt get it ...
I used a DLL file with "visual studio " ...
can you explain more please ...
thank you

0 Kudos
Message 3 of 6
(2,389 Views)

@mohlq007 wrote:
you mean I cant use DLL files ... I didnt get it ...
I used a DLL file with "visual studio " ...
can you explain more please ...

Is that Visual Studio running in Linux?  

 

No a binary built for a specific target and platform cannot run on a target and platform not compatible with that binary without various emulators, or translations.  Build the binary into something compatible with your target and platform and you can use it.

0 Kudos
Message 4 of 6
(2,337 Views)

no ..  I used visual studio in windows 10
but you are saying that I would not have this probleme if I used visual in linux ??

0 Kudos
Message 5 of 6
(2,325 Views)

Hi mohlq,

 

you are saying that I would not have this probleme if I used visual in linux ??

We are saying you would have much less problems if you would use a compiler dedicated to support Linux-style OS and your source code would not use any WindowsOS features…

 

You cannot move an executable made for one specific OS to a completely different OS and expect it to run…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,308 Views)