Menu

PureData externals

Anonymous
2002-09-23
2012-09-26
  • Anonymous

    Anonymous - 2002-09-23

    hi all,

    as i found Dev-C++ (5beta) i finally got inspired to start experimenting with c/c++ coding (VERY nice prog btw). i tested all the examples and they all work. but now i'm trying to do a simple "helloworld" external (dll) that i found (*http://iem.kug.ac.at/pd/externals-HOWTO/node3.html). its an external to a program called PureData (http://www-crca.ucsd.edu/~msp/software.html)

    ok, this is what i did (dev-c++ 5beta):
    -new project (dll, c)
    -new sourcefile, cutnpaste the code from the link*
    -added the include/library/resource path of PD sources to project-properties & compiler options
    - *compiled*

    and i get these errors:
    [Linker error] undefined reference to 'post'
    [Linker error] undefined reference to 'pd_new'
    [Linker error] undefined reference to 'gensym'
    [Linker error] undefined reference to 'class_new'
    [Linker error] undefined reference to 'class_addbang'
    [Build Error] [helloworld.dll] Error 1

    so it seems (to my newbie eyes) it doesnt find the "classes" that are definied in 'm_pd.h'. i also tried to copy that file to the same dir where the project is but i still get the same errors... i must be doing something very newbish wrong, so any help would be lovely!

    thnx
    -andre
    ps. if some knows how i compile PD with Dev-C++, let me know

     
    • Anonymous

      Anonymous - 2002-09-23

      ok, got my answer... gotta change back to MSVC or i got TOO much work...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.