Hi Hans,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
<br>
</div></div>Perhaps Eclipse sets CFLAGS or LDFLAGS, which is overriding things in<br>
the Makefile?<br></blockquote><div><br>I double check my eclipse configuration and this doesn&#39;t seem to be the case.<br><br>I must admit that I&#39;m working with my development box which is rather confused, at the moment, and probably my environment is not so plain and simple as I have a lot of stuff on it, I should try with a fresh installation may be on a virtual machine if I have time to do it ...<br>
<br>Eclipse is really doing some strange things:<br><br>when I build the clean target this is the result:<br><br><span style="font-family: courier new,monospace;">**** Build of configuration Default for project mycobject ****</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mingw32-make clean </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">del  ./mycobject.o  ./mycobject.d  mycobject</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">process_begin: CreateProcess(NULL, del ./mycobject.o ./mycobject.d mycobject, ...) failed.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make (e=2): Impossibile trovare il file specificato.</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mingw32-make: [clean] Error 2 (ignored)</span><br><br>first, the del command tries to delete mycobject.d in place of mycobject.dll ?????<br>
second the CreateProcess call fails issueing a &#39;file not found&#39; and this is right as i tried to issue the same command on the command prompt and I get almost the same result:<br><br><span style="font-family: courier new,monospace;">C:\dev\c++\pd-externals\mycobject&gt;del  ./mycobject.o  ./mycobject.d  mycobject</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Opzione non valida - &quot;mycobject.o&quot;.</span><br><br>the previous command returns a not valid option message due to the fact that the forward slash is interpreted a switch selector for the command.<br>
<br>try then this<br><br><span style="font-family: courier new,monospace;">C:\dev\c++\pd-externals\mycobject&gt;del  &quot;./mycobject.o  ./mycobject.d  mycobject&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Impossibile trovare il percorso specificato.</span><br><br>--&gt; file not found<br><br>If i run the same command as:<br><br><span style="font-family: courier new,monospace;">C:\dev\c++\pd-externals\mycobject&gt;del  &quot;./mycobject.o&quot;  &quot;./mycobject.d&quot;  &quot;mycobject&quot;</span><br>
<br>now myobject.o is deleted, the other two file do not exist.<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
About this template, it is oriented around making libraries, so that<br>
includes the meta file for marking the folder as a library.  Setting it<br>
up is simple:<br>
<br>
- rename the template folder to the name of your library<br>
- rename template-meta.pd replacing &#39;template&#39; with the name you just<br>
used for the folder<br>
- edit Makefile and put the library/folder/meta name in the first<br>
variable, LIBRARY_NAME<br>
<br>
Now you can set library meta data in the meta file, things like version,<br>
authors, etc.<br>
<font color="#888888"><br>
.hc<br>
</font></blockquote></div><br>To test it I have made minimal changes i.e. folder name, LIBRARY_NAME, and template-meta (all = mycobject) and it is working from mingw shell.<br>