dabelknap / VMEStream

0 stars 1 forks source link

Using CAEN VME libraries #5

Closed dabelknap closed 11 years ago

dabelknap commented 11 years ago

@ekfriis - It looks like the caen vme stuff is written in C++: https://svnweb.cern.ch/trac/cactus/browser/trunk/cactusprojects/rct/VME/caen.cc. Should I just write a C wrapper for the functions I need? http://stackoverflow.com/questions/199418/using-c-library-in-c-code

ekfriis commented 11 years ago

Hi Austin,

I'm back at CERN now - did you figure this out? If not lets chat in my office later this afternoon. I don't think there is any reason you can't compile VMEStream using the g++ compiler, so I don't think a wrapper is needed. FWIW you can compile C++ for the Microblaze architecture as well. The main reason I chose to write the other packages in C was (besides for fun) was to be very explicit on memory management (which you can of course do in C++ as well) and force myself not to use templates etc.

Evan

dabelknap commented 11 years ago

I haven't messed with it much lately. When is a good time to come by this afternoon?

ekfriis commented 11 years ago

2pm?

On Mon, Sep 2, 2013 at 11:07 AM, Austin Belknap notifications@github.comwrote:

I haven't messed with it much lately. When is a good time to come by this afternoon?

— Reply to this email directly or view it on GitHubhttps://github.com/dabelknap/VMEStream/issues/5#issuecomment-23648566 .

dabelknap commented 11 years ago

Sure

On Sep 2, 2013, at 11:08 AM, "Evan K. Friis" notifications@github.com wrote:

2pm?

On Mon, Sep 2, 2013 at 11:07 AM, Austin Belknap notifications@github.comwrote:

I haven't messed with it much lately. When is a good time to come by this afternoon?

— Reply to this email directly or view it on GitHubhttps://github.com/dabelknap/VMEStream/issues/5#issuecomment-23648566 .

— Reply to this email directly or view it on GitHub.