Make error line 301: problem compiling: src/ui/dialog/xyz.cpp:31:1: error: 'XYZ' does not name a type.
It's very difficult to debug this if we can't see the source code!!!
Check that you've declared the XYZ class properly and that you've included the header in which it's defined.
AV
On 12 April 2013 15:06, Arshdeep Singh <moduli16@...400...> wrote:
An attached file foe detailed errors.
On Fri, Apr 12, 2013 at 7:31 PM, Arshdeep Singh <moduli16@...400...> wrote:
Hi all, I added a new .cpp file in the ' ...\inkscape\src\ui\dialog ' directory.
For reference I was using the fill-and-stroke.cpp for creating a GUI for my code. I named the tool say 'XYZ'. Upon compiling XYZ.cpp along with inkscape the following errors cropped up:
Make error line 301: problem compiling: src/ui/dialog/xyz.cpp:31:1: error: 'XYZ' does not name a type.
Can someone help me in understanding why this cropped up ? I am deriving a class of the name XYZ under the UI->Inkscape->Dialog namespace.
Also, in fill-and-stroke.cpp:
FillAndStroke::FillAndStroke() : UI::Widget::Panel ("", "/dialogs/fillstroke", SP_VERB_DIALOG_FILL_STROKE), _page_fill(Gtk::manage(new UI::Widget::NotebookPage(1, 1, true, true))), _page_stroke_paint(Gtk::manage(new UI::Widget::NotebookPage(1, 1, true, true))), _page_stroke_style(Gtk::manage(new UI::Widget::NotebookPage(1, 1, true, true))), _composite_settings(SP_VERB_DIALOG_FILL_STROKE, "fillstroke", UI::Widget::SimpleFilterModifier::BLUR), deskTrack(), targetDesktop(0), fillWdgt(0), strokeWdgt(0), desktopChangeConn()
What do the highlighted text accomplish ?
demicoder
-- Arshdeep Singh Third Year, Computer Engineering Delhi Technological University Ph: +91-9654115614 https://sites.google.com/site/adsingh1729/home
Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel