Do a grep for where the code defines dllimport vs dllexport. It's quite likely that a -D option needs to be passed to the compiler for it to know that the symbol should be dllexported in that particular case.
Btw: when building in one space and deploying in another, the two tools that I know that help are: 1) Continuous integration/testing. You have a buildbot that checks out and builds the Linux version on each commit to the source tree, and mails people if something breaks. This works best if you also have a bunch of automated unit, functional and integration tests. 2) Virtual machines. You can download Windows Virtual PC for Windows 7 or Sun Virtual Box, or buy something like VMWare Workstation, and run a Linux box inside your Windows box. Share the source directory, and you can edit in Windows, but make/run in Linux. Sincerely, jw -- Americans might object: there is no way we would sacrifice our living standards for the benefit of people in the rest of the world. Nevertheless, whether we get there willingly or not, we shall soon have lower consumption rates, because our present rates are unsustainable. On Mon, Jan 11, 2010 at 10:20 AM, Rajith Attapattu <[email protected]>wrote: > I have built the c++ code in eclipse successfully in Fedora 6,10,11 > My motivation was to see if I could leverage the eclipse façade over > gdb to get a better debugging experience. > It was ok, but wasn't enough for me to really continue. > I have gone back to using command line again. > > On Mon, Jan 11, 2010 at 11:30 AM, Andrew L <[email protected]> wrote: > > > > Is anyone familiar with proper Eclipse set up for Qpid development? I > have been using Visual Studio (which was simple since I copied the > configuration in the qpid examples), but now must change to development in > Eclipse. > > > > > > > > When I try to build in Eclipse, I get errors regarding definitions being > marked as dllimport : > > > > Description Resource Path Location Type > > function `void qpid::framing::ProtocolVersion::setMajor(uint8_t)' > definition is marked dllimport. line 43, external location: > C:\qpid-0.5\cpp\src\qpid\framing\ProtocolVersion.h C/C++ Problem > > > > > > > > I am using MinGW5.1.6 to compile on WinXP. > > > > > > > > Anyone have any experience with qpid C++ dev in eclipse? > > > > > > > > Thanks. > > > > _________________________________________________________________ > > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. > > http://clk.atdmt.com/GBL/go/196390709/direct/01/ > > > > -- > Regards, > > Rajith Attapattu > Red Hat > http://rajith.2rlabs.com/ > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > >
