I am using xeus-cling on Windows Subsystem for Linux, which is currently the most popular/best known alternative to the no-windows-support-related "problem".
I often use the magic %%file to write .cpp scripts to a Windows directory as follows ...
%%file /mnt/c/Users//path/to/project/.cpp
/
cpp code here
/
I sometimes compile files using the following syntax in a code cell ...
I am using xeus-cling on Windows Subsystem for Linux, which is currently the most popular/best known alternative to the no-windows-support-related "problem".
I often use the magic %%file to write .cpp scripts to a Windows directory as follows ...
%%file /mnt/c/Users//path/to/project/.cpp
/
cpp code here
/
I sometimes compile files using the following syntax in a code cell ...
It is also possible for me to create .dll and .dir files using a similar command as the above with the -shared flag.
The problem that I experience is to import .dll and .dir using the #pragma directive like so ...
I have also tried it like this ...
which does not really seem what's causing the problem.
However, running the below in a code cell ...
gives this error ...
input_line_147:1:29: error: expected.dll to be a library, but it is not. If this is a source file, use
#include "<libraryname>.dll"
pragma cling load(".dll")
Interpreter Error:
Is there a fix for this or does anyone have an idea of how to work around this, or will this just be classified as a no-windows-support-related error?