Home » Community » Newbie corner » Problem in example code (Tried SplitterFrame yet minor problem.)
Re: Problem in example code [message #45789 is a reply to message #45787] |
Mon, 04 January 2016 21:23   |
|
vegaonline wrote on Mon, 04 January 2016 21:10I wanted to make a simple layout like before by adding a new layout. While build is performed, I get an error
In file included from /home/vega/MyApps/honza/Testing/main.cpp:1:0:
/home/vega/MyApps/honza/Testing/Testing.h:15:2: error: 'WithPltLayout1' does
not name a type
WithPltLayout1<ParentCtrl>doGeo;
^
Hard to say without seeing the actual code. Few thigns to check:
- Is there really layout called PltLayout1? Check for typos...
- Is it in the .lay file that is properly included in Testing.h (using #define LAYOUTFILE <Testing/xyz.ly> with #include CtrlCore/lay.h following)?
- Is there some syntax error preceding this line, that would make your compiler report this as an error, while it is actually correct?
Honza
|
|
|
Goto Forum:
Current Time: Sun May 04 22:47:25 CEST 2025
Total time taken to generate the page: 0.01428 seconds
|