To build the library Shared Object using makefile under linux?

0 like 0 dislike
Need help! Tell me, please

You need to gather the dll under Linux.
Code is written in C++ in visual studio. Create two files, text and binary, yet the data populate itself.
The following is the code:
#include struct Station { std::string station_name; std::string rec_dew; std::string year; }; struct InfaboutChanell { int chanellcount; int analogChanell; int discretChanell; }; struct InfAnalogChanel { int id; std::string chanell_id; std:: string ph; std::string ccmb; std::string UU; long float a; double b; double skew; double min; double max; double Primery; double Secondary; std::string SP; }; struct InfDiscretChanel { int DN; std::string ch_id; std::string ph; std::string ccmb; int y; }; struct GeneralInf { ifone int; int nrates; int samp; int ensamp; };

// Struct.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include "struct.h" using namespace std; int main() { //The first string struct Station station; station.station_name="251 Strathmore kV"; station.rec_dew = "1"; station.year="2001"; ofstream file("fileConfiguration.cfg"); file< s; InfAnalogChanel a; InfAnalogChanel b; InfAnalogChanel c; InfAnalogChanel d; InfAnalogChanel e; InfAnalogChanel f;; a.chanell_id="current f";"; a.ccmb="; a.UU="A"; a.a=1.290489 E-01; a.b=0; a.skew=0; a.min=-32767; a.max=32767; a.Primery=3000.00000000; a.Secondary=1.00000000; a.SP="P";; b.chanell_id="current";"; b.ccmb="; b.UU="A"; b.a=5.139708 E-02; b.b=0; b.skew=0; b.min=-32767; b.max=32767; b.Primery=3000.00000000; b.Secondary=1.00000000; b.SP="P";; c.chanell_id="current phase C";"; c.ccmb="; c.UU="A"; c.a=7.745668 E-02; c.b=0; c.skew=0; c.min=-32767; c.max=32767; c.Primery=3000.00000000; c.Secondary=1.00000000; c.SP="P";; e.chanell_id="rascit zero";"; e.ccmb="; e.UU="A"; e.a=4.860763 E-02; e.b=0; e.skew=0; e.min=-32767; e.max=32767; e.Primery=3000.00000000; e.Secondary=1.00000000; e.SP="P";; d.chanell_id="eg";"; d.ccmb="; d.UU="V"; d.a=2.611292 E+00; d.b=0; d.skew=0; d.min=-32767; d.max=32767; d.Primery=60000.00000000; d.Secondary=57.00000000; d.SP="P";; f.chanell_id="eg";"; f.ccmb="; f.UU="V"; f.a=2.621923 E+00; f.b=0; f.skew=0; f.min=-32767; f.max=32767; f.Primery=60000.00000000; f.Secondary=57.00000000; f.SP="P"; s.push_back(a); s.push_back(b); s.push_back(c); s.push_back(e); s.push_back(d); s.push_back(f); for(int i=0;i discret; InfDiscretChanel first; InfDiscretChanel sec; InfDiscretChanel thre; InfDiscretChanel four; InfDiscretChanel five; InfDiscretChanel six; InfDiscretChanel seven; InfDiscretChanel eight; first.DN=1; first.ch_id = "Slave MTW";"; first.ccmb="; first.y=0; sec.DN=2; sec.ch_id = "3_3";"; sec.ccmb="; sec.y=0; thre.DN=3; thre.ch_id = "8_8";"; thre.ccmb="; thre.y=0; four.DN=4; four.ch_id = "8_100";"; four.ccmb="; four.y=0; five.DN=5; five.ch_id = "3_8";"; five.ccmb="; five.y=0; six.DN=6; six.ch_id = "3_8";"; six.ccmb="; six.y=0; seven.DN=7; seven.ch_id = "29";"; seven.ccmb="; seven.y=0; eight.DN=8; eight.ch_id = "41";"; eight.ccmb="; eight.y=0; discret.push_back(first); discret.push_back(sec); discret.push_back(thre); discret.push_back(four); discret.push_back(five); discret.push_back(six); discret.push_back(seven); discret.push_back(eight); for(int i=0;i time; DateTime samp; DateTime endsamp; samp.dd = 24;; samp.yyyy=2017; samp.hh=10; samp.min=55; samp.sec=14.546459; endsamp.dd = 24;; endsamp.yyyy=2017; endsamp.hh=10; endsamp.min =55; endsamp.sec =14.647162; time.push_back(samp); time.push_back(endsamp); for(int i=0;i

Please explain what to do. Can't find the right available examples( I Really want to understand
by | 6 views

1 Answer

0 like 0 dislike
dll under Linux to collect nepoluchitsya.
You can collect only so (Shared Object) library.

And well, it's very easy to Google

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
33,806 users