Hi all,
On windows 10, I am no longer able to load externs compiled from c++ sources. When I try, the pd console reports that the extern in question is not found. It is not a path problem.The extern’s setup method is not called.
These c++ externs used to load and run before on windows 7, a few years ago.
I tried running an older version of pd from that time, but the problem remains.
I tried recompiling the externs on my windows 10 machine, but no luck. I even tried using the pd-lib-builder makefile utility, but no luck either.
The problem: In windows 10, with the latest pd vanilla, I can compile and load the C version of the extern, helloworld.c . I can also compile the c++ version of the same extern, helloworld.cpp (with setup() wrapped as extern C). However PD is unable to load the resulting helloworld.dll extern.
Has anyone had any dealings with this kind of trouble recently ? cheers.
On 10/06/2017 06:51 PM, Settel Zack wrote:
Hi all,
On windows 10, I am no longer able to load externs compiled from c++ sources.
so you say that you cannot use Gem? or is this just a problem of your own C++ externals? or is it related to externals you *compiled* with a certain C++compiler? if so, which one?
gfmrdsa IOhannes
I have not used Gem in a while so I can not say. So far I have encountered the problem with my own C++ externals.
I am using the MinGW 32 compiler (windows 10), with g++ (-dumpversion = 5.3.0)
cheers
Zack
On Oct 7, 2017, at 2:54 AM, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 10/06/2017 06:51 PM, Settel Zack wrote:
Hi all,
On windows 10, I am no longer able to load externs compiled from c++ sources.
so you say that you cannot use Gem? or is this just a problem of your own C++ externals? or is it related to externals you *compiled* with a certain C++compiler? if so, which one?
gfmrdsa IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 2017-10-09 14:30, Settel Zack wrote:
I have not used Gem in a while so I can not say. So far I have encountered the problem with my own C++ externals.
given the bug-reports i receive about Win10 + Gem, i'm pretty sure it *does* work for most people.
I am using the MinGW 32 compiler (windows 10), with g++ (-dumpversion = 5.3.0)
hmm, one problem might be, that you are actually compiling 64bit binaries, which a 32bit Pd cannot load (i'm not sure whether MinGW32 can produce 64bit binaries in the first place; afaik, MinGW-W64 is easier to setup and use and generally "much better" than MinGW32; however this can produce 64bit binaries for sure, so you must tell the compiler/linker to build 32bit binaries using the "-m32" flag or similar)
fgasrmd IOhannes