Building Plugins in Windows

Hi Jon
I am new to breve and am a windows user.I am interested in linking some genetic algorithm code written in C++ using MSVC 6.0 to breve so that I can evolve robotic behaviour using GA and simulate the same with breve.

I download the cygwin and tried to compile the sample programs using gcc but I am encoutering some problems. Digging into the forum appears that this particular issue had been dealt with ,in the 2.5 release,however there is no particular solution appearing to be offered and since I have 2.7.2, I am stuck on what to do. The error is as below

jm ~/Desktop/breveIDE_2.7.2/plugins/samples
$ ld -shared -o cSample_Plugin.o cSample.o breveIDEPlugin.lib -lm
cSample.o:cSample.cc:(.text+0x3d): undefined reference to `brNewBreveCall'
cSample.o:cSample.cc:(.text+0x68): undefined reference to `brNewBreveCall'
cSample.o:cSample.cc:(.text+0x9b): undefined reference to `brNewBreveCall'
cSample.o:cSample.cc:(.text+0xda): undefined reference to `printf'
cSample.o:cSample.cc:(.text+0x151): undefined reference to `printf'
cSample.o:cSample.cc:(.text+0x184): undefined reference to `printf'
cSample.o:cSample.cc:(.text+0x1b7): undefined reference to `printf'

Looking forward to hear from you
Thanks