problems building wxd using dsss

wxD
kflb
2008-07-07
2013-05-22
  • kflb

    kflb - 2008-07-07

    Hi,

    i am having problems trying to build wxd using dsss on a windows machine.

    I am using
      wxWidgets 2.8.3,
      dmd 1.030,
      dsss 0.75 and
      MinGw with make 3.80.

    The call of "dsss net install wxd" leads to following errors:

    ... imagine lots of similar error messages here ...
    wx\Panel.d(23): Error: object.string at c:\Programme\D\dmd.1.030\dmd\bin\..\src\phobos\object.d(13) conflicts with wx.common.string at wx\common.d(67)
    wx\Panel.d(24): Error: object.string at c:\Programme\D\dmd.1.030\dmd\bin\..\src\phobos\object.d(13) conflicts with wx.common.string at wx\common.d(67)
    wx\Panel.d(46): Error: object.string at c:\Programme\D\dmd.1.030\dmd\bin\..\src\phobos\object.d(13) conflicts with wx.common.string at wx\common.d(67)
    wx\Panel.d(52): Error: object.string at c:\Programme\D\dmd.1.030\dmd\bin\..\src\phobos\object.d(13) conflicts with wx.common.string at wx\common.d(67)
    wx\Panel.d(57): Error: object.string at c:\Programme\D\dmd.1.030\dmd\bin\..\src\phobos\object.d(13) conflicts with wx.common.string at wx\common.d(67)
    Error: Command failed, aborting.

    I tried to remove the "alias char[] string;" in "src/phobos/object.d" (line 13) which didn't help at all.
    Any ideas?

    Thanks
    kflb

     
    • kflb

      kflb - 2008-07-08

      Alright ...

      I think I managed to build the wcd lib, at last.
      At least I can find a "DD-wx.lib" inside my "dsss\lib" folder.

      So, what did i do:

      At first, I downloaded the wxd sources using "dsss net install wxd". I interrupted the build process
      to apply a change to "dsss\tmp\DSSS_wxd\wxd\wx\common.d". On a failed build dsss deletes all temporary files,
      so this was a way to keep the sources.

      I added a comment in line 67 of "common.d":
          alias char[] string;  ->   //alias char[] string;

      After changing to directory "dsss\tmp\DSSS_wxd\wxd\wx" and calling "dsss build" rebuild stopped with an error
      message. It seems that the command "-lib" could not be recognised by rebuild at the position determined by the build process:

      c:/Programme/D/dsss/bin/rebuild.exe -Idsss_imports/ -I. -S./ -Ic:/Programme/D/dsss/include/d -Sc:/Programme/D/dsss/lib/  -Ic:/Programme/D/dsss/include/d -Sc:/Programme/D/dsss/lib  -oqdsss_objs/D  -explicit -lib wx/Accelerator.d wx/ActivateEvent.d wx/App.d wx/ArrayInt.d wx/ArrayString.d wx/ArtProvider.d wx/aui/aui.d wx/aui/DockArt.d wx/aui/FrameManager.d wx/Bitmap.d wx/BitmapButton.d wx/BoxSizer.d wx/Brush.d wx/Button.d wx/CalendarCtrl.d wx/Caret.d wx/CheckBox.d wx/ChildFocusEvent.d wx/Choice.d wx/ChoiceDialog.d wx/ClientData.d wx/Clipboard.d wx/CloseEvent.d wx/Colour.d wx/ColourDialog.d wx/ComboBox.d wx/CommandEvent.d wx/common.d wx/Config.d wx/ContextMenuEvent.d wx/Control.d wx/Cursor.d wx/DataFormat.d wx/DataObject.d wx/DC.d wx/Defs.d wx/Dialog.d wx/DirDialog.d wx/Display.d wx/DisplayChangedEvent.d wx/DND.d wx/DocManager.d wx/DocTemplate.d wx/Document.d wx/EraseEvent.d wx/Event.d wx/EvtHandler.d wx/FileDialog.d wx/FindReplaceDialog.d wx/FlexGridSizer.d wx/FocusEvent.d wx/Font.d wx/FontDialog.d wx/FontMisc.d wx/Frame.d wx/Gauge.d wx/GdiCommon.d wx/GDIObject.d wx/GLCanvas.d wx/Grid.d wx/GridBagSizer.d wx/GridCtrl.d wx/GridSizer.d wx/HelpEvent.d wx/HTML.d wx/HtmlHelpController.d wx/HtmlListBox.d wx/Icon.d wx/IconizeEvent.d wx/IControlWithItems.d wx/IdleEvent.d wx/Image.d wx/ImageHandlers.d wx/ImageList.d wx/InitDialogEvent.d wx/KeyEvent.d wx/LayoutWin.d wx/libs.d wx/Listbook.d wx/ListBox.d wx/ListCtrl.d wx/Locale.d wx/Log.d wx/MaximizeEvent.d wx/MDI.d wx/MemoryDC.d wx/Menu.d wx/MenuBar.d wx/MenuItem.d wx/MessageDialog.d wx/MiniFrame.d wx/MouseCaptureChangedEvent.d wx/MouseEvent.d wx/MoveEvent.d wx/NavigationKeyEvent.d wx/NcPaintEvent.d wx/Notebook.d wx/NotebookSizer.d wx/NotifyEvent.d wx/NumberDialog.d wx/ogl/ogl.d wx/PaintEvent.d wx/Palette.d wx/PaletteChangedEvent.d wx/Panel.d wx/Pen.d wx/PrintData.d wx/PrintDialog.d wx/Printer.d wx/PrintPreview.d wx/ProgressDialog.d wx/QueryNewPaletteEvent.d wx/RadioBox.d wx/RadioButton.d wx/Region.d wx/SashWindow.d wx/ScrollBar.d wx/ScrolledWindow.d wx/SetCursorEvent.d wx/ShowEvent.d wx/SizeEvent.d wx/Sizer.d wx/SizerItem.d wx/Slider.d wx/Sound.d wx/SpinButton.d wx/SpinCtrl.d wx/SplashScreen.d wx/SplitterWindow.d wx/StaticBitmap.d wx/StaticBox.d wx/StaticBoxSizer.d wx/StaticLine.d wx/StaticText.d wx/StatusBar.d wx/StyledTextCtrl.d wx/SysColourChangedEvent.d wx/SystemSettings.d wx/TabCtrl.d wx/TextCtrl.d wx/TextDialog.d wx/TipDialog.d wx/TipWindow.d wx/ToggleButton.d wx/ToolBar.d wx/ToolTip.d wx/TreeCtrl.d wx/UpdateUIEvent.d wx/Utils.d wx/Validator.d wx/VideoMode.d wx/View.d wx/VLBox.d wx/VScroll.d wx/Window.d wx/WindowCreateEvent.d wx/WindowDestroyEvent.d wx/Wizard.d wx/WizardPage.d wx/WizardPageSimple.d wx/wx.d wx/wxDateTime.d wx/wxObject.d wx/wxPlatform.d wx/wxString.d wx/wxVersion.d wx/XmlResource.d -ofDD-wx.lib

      I then changed the order of the commands by putting "-lib" right after the call to rebuild.exe:

      c:/Programme/D/dsss/bin/rebuild.exe -lib -Idsss_imports/ -I. -S./ -Ic:/Programme/D/dsss/include/d -Sc:/Programme/D/dsss/lib/  -Ic:/Programme/D/dsss/include/d -Sc:/Programme/D/dsss/lib  -oqdsss_objs/D  -explicit wx/Accelerator.d wx/ActivateEvent.d wx/App.d wx/ArrayInt.d wx/ArrayString.d wx/ArtProvider.d wx/aui/aui.d wx/aui/DockArt.d wx/aui/FrameManager.d wx/Bitmap.d wx/BitmapButton.d wx/BoxSizer.d wx/Brush.d wx/Button.d wx/CalendarCtrl.d wx/Caret.d wx/CheckBox.d wx/ChildFocusEvent.d wx/Choice.d wx/ChoiceDialog.d wx/ClientData.d wx/Clipboard.d wx/CloseEvent.d wx/Colour.d wx/ColourDialog.d wx/ComboBox.d wx/CommandEvent.d wx/common.d wx/Config.d wx/ContextMenuEvent.d wx/Control.d wx/Cursor.d wx/DataFormat.d wx/DataObject.d wx/DC.d wx/Defs.d wx/Dialog.d wx/DirDialog.d wx/Display.d wx/DisplayChangedEvent.d wx/DND.d wx/DocManager.d wx/DocTemplate.d wx/Document.d wx/EraseEvent.d wx/Event.d wx/EvtHandler.d wx/FileDialog.d wx/FindReplaceDialog.d wx/FlexGridSizer.d wx/FocusEvent.d wx/Font.d wx/FontDialog.d wx/FontMisc.d wx/Frame.d wx/Gauge.d wx/GdiCommon.d wx/GDIObject.d wx/GLCanvas.d wx/Grid.d wx/GridBagSizer.d wx/GridCtrl.d wx/GridSizer.d wx/HelpEvent.d wx/HTML.d wx/HtmlHelpController.d wx/HtmlListBox.d wx/Icon.d wx/IconizeEvent.d wx/IControlWithItems.d wx/IdleEvent.d wx/Image.d wx/ImageHandlers.d wx/ImageList.d wx/InitDialogEvent.d wx/KeyEvent.d wx/LayoutWin.d wx/libs.d wx/Listbook.d wx/ListBox.d wx/ListCtrl.d wx/Locale.d wx/Log.d wx/MaximizeEvent.d wx/MDI.d wx/MemoryDC.d wx/Menu.d wx/MenuBar.d wx/MenuItem.d wx/MessageDialog.d wx/MiniFrame.d wx/MouseCaptureChangedEvent.d wx/MouseEvent.d wx/MoveEvent.d wx/NavigationKeyEvent.d wx/NcPaintEvent.d wx/Notebook.d wx/NotebookSizer.d wx/NotifyEvent.d wx/NumberDialog.d wx/ogl/ogl.d wx/PaintEvent.d wx/Palette.d wx/PaletteChangedEvent.d wx/Panel.d wx/Pen.d wx/PrintData.d wx/PrintDialog.d wx/Printer.d wx/PrintPreview.d wx/ProgressDialog.d wx/QueryNewPaletteEvent.d wx/RadioBox.d wx/RadioButton.d wx/Region.d wx/SashWindow.d wx/ScrollBar.d wx/ScrolledWindow.d wx/SetCursorEvent.d wx/ShowEvent.d wx/SizeEvent.d wx/Sizer.d wx/SizerItem.d wx/Slider.d wx/Sound.d wx/SpinButton.d wx/SpinCtrl.d wx/SplashScreen.d wx/SplitterWindow.d wx/StaticBitmap.d wx/StaticBox.d wx/StaticBoxSizer.d wx/StaticLine.d wx/StaticText.d wx/StatusBar.d wx/StyledTextCtrl.d wx/SysColourChangedEvent.d wx/SystemSettings.d wx/TabCtrl.d wx/TextCtrl.d wx/TextDialog.d wx/TipDialog.d wx/TipWindow.d wx/ToggleButton.d wx/ToolBar.d wx/ToolTip.d wx/TreeCtrl.d wx/UpdateUIEvent.d wx/Utils.d wx/Validator.d wx/VideoMode.d wx/View.d wx/VLBox.d wx/VScroll.d wx/Window.d wx/WindowCreateEvent.d wx/WindowDestroyEvent.d wx/Wizard.d wx/WizardPage.d wx/WizardPageSimple.d wx/wx.d wx/wxDateTime.d wx/wxObject.d wx/wxPlatform.d wx/wxString.d wx/wxVersion.d wx/XmlResource.d -ofDD-wx.lib

      Finally, the lib was built.
      Using the call "dsss install" the library and header files were copied to the standard dsss directories
      (e.g: dsss/lib, dsss/include).

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks