... #include <Vega3/OptionImage.h> #include <Vega3/TwoCtrl.h> #define IMAGECLASS Vega3Img #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml.h> ...
... #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml_header.h> ...
#include "VegaMain.h" ... #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml_source.h> ...
... #define IMAGECLASS Vega3Img #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml_header.h> ...
... #define IMAGECLASS Vega3Img #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml_source.h>
... //#define IMAGECLASS Vega3Img // with it I got error #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml_source.h> ...
C:\Vega\Vega3\VegaTab1.cpp: In function `void Avail3(One<Ctrl>&)': C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgYes' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears in.) C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgNo' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgMaybe' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp: In constructor `VegaTab1::VegaTab1()': C:\Vega\Vega3\VegaTab1.cpp:89: error: `imgYes' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:128: error: `female' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:128: error: `male' undeclared (first use this function) Vega3: 1 file(s) built in (0:08.07), 8078 msecs / file, duration = 8094 msecs
... #define IMAGEFILE <Vega3/Vega.iml> #include <Draw/iml_source.h> ...
... //#define IMAGEFILE <Vega3/Vega.iml> //#include <Draw/iml_source.h> ...
C:\Vega\Vega3\VegaTab1.cpp: In function `void Avail3(One<Ctrl>&)': C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgYes' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears in.) C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgNo' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgMaybe' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp: In constructor `VegaTab1::VegaTab1()': C:\Vega\Vega3\VegaTab1.cpp:89: error: `imgYes' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:128: error: `female' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:128: error: `male' undeclared (first use this function)
luzr wrote on Thu, 25 May 2006 22:54 |
Only single ".h" and single ".cpp" placement is needed - as long as .cpp include that ".h" (it is in fact same as declaring (in .h) / defining (in .cpp) class and its methods). Means you can most likely delete .iml include from vegatab1.cpp and vegatab4.cpp. Mirek |
C:\Vega\Vega3\VegaTab1.cpp: In function `void Avail3(One<Ctrl>&)': C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgYes' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:49: error: (Each undeclared identifier is reported only once for each function it appears in.) C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgNo' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:49: error: `imgMaybe' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp: In constructor `VegaTab1::VegaTab1()': C:\Vega\Vega3\VegaTab1.cpp:89: error: `imgYes' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:128: error: `female' undeclared (first use this function) C:\Vega\Vega3\VegaTab1.cpp:128: error: `male' undeclared (first use this function)
luzr wrote on Thu, 25 May 2006 23:44 |
Do you include "vegamain.h" there? Mirek |
forlano wrote on Thu, 25 May 2006 18:01 | ||
Yew, I do. |