|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
15 Apr 2019, Konstantin Olchanski, Info, switch of MIDAS to C++
|
15 Apr 2019, Konstantin Olchanski, Info, switch of MIDAS to C++, which C++?
|
15 Apr 2019, Konstantin Olchanski, Info, switch of MIDAS to C++, how much C++?
|
16 Apr 2019, Pintaudi Giorgio, Info, switch of MIDAS to C++, how much C++?
|
17 Apr 2019, John M O'Donnell, Info, switch of MIDAS to C++, how much C++?
|
22 Apr 2019, Pintaudi Giorgio, Info, switch of MIDAS to C++, how much C++?
|
23 Apr 2019, Konstantin Olchanski, Info, switch of MIDAS to C++, how much C++?
|
11 May 2019, Konstantin Olchanski, Info, switch of MIDAS to C++, which C++?
|
22 May 2019, Konstantin Olchanski, Info, switch of MIDAS to C++
|
05 Jun 2019, Konstantin Olchanski, Info, MIDAS switched to C++
|
17 May 2022, Razvan Stefan Gornea, Info, MIDAS switched to C++
|
17 May 2022, Konstantin Olchanski, Info, MIDAS switched to C++
|
17 May 2022, Ben Smith, Info, MIDAS switched to C++
|
|
Message ID: 2407
Entry time: 17 May 2022
In reply to: 1540
Reply to this: 2408
2409
|
Author: |
Razvan Stefan Gornea |
Topic: |
Info |
Subject: |
MIDAS switched to C++ |
|
|
Hi, I have three naive questions about this:
- have you posted somewhere this guide about converting C frontends to C++?
- it was mentioned previously that there will be a 'tag the last "C" midas', which version is it?
- it means that even a simple example like odb_test.c cannot be compile anymore? Even when using g++?
Something like
g++ -I $HOME/daq/packages/midas/include/ -L $HOME/daq/packages/midas/lib/ odb_test.c -l midas
is expected to fail or is just me glitching? Is it because of thread library differences?
Thanks!
> The last bits of code to switch MIDAS to C++ have been committed, see tag midas-2019-05-cxx.
>
> Since the cmake conversion is still in progress, for now, I recommend using the old "make" build for trying this update.
>
> From the switch to C++, the biggest change is the requirement that frontend programs be build and linked
> using the C++ compiler. Since mfe.o and the rest of MIDAS are built with C++, building frontends
> with C is no longer possible.
>
> To help with this, I will post a short guide for converting C frontends to C++.
>
> K.O. |