Menu

compile error for Linux

Help
2016-11-12
2019-03-07
  • Yuri Kozlov

    Yuri Kozlov - 2016-11-12

    Hello.
    I trying to compile for Linux 64bit.

    After fixed some trivivial compile build error I stuck on

    g++ -m64 -Wl,-O1 -o release/SimulIDE_0.0.3-Lin64-NO_PIC/SimulIDE_0.0.3 build/main.o build/mainwindow.o build/componentselector.o build/dialwidget.o build/outpaneltext.o build/ramtable.o build/voltwidget.o build/circuit.o build/circuitview.o build/circuitwidget.o build/component.o build/connector.o build/connectorline.o build/itemlibrary.o build/node.o build/package.o build/pin.o build/subcircuit.o build/buffer.o build/capacitor.o build/diode.o build/gate.o build/gate_and.o build/gate_or.o build/gate_xor.o build/ground.o build/hd44780.o build/inductor.o build/led.o build/ledbase.o build/ledsmd.o build/logicinput.o build/op_amp.o build/pcd8544.o build/potentiometer.o build/probe.o build/push.o build/resistor.o build/sevensegment.o build/steeper.o build/switch.o build/switch_base.o build/voltsource.o build/avrboard.o build/avrcomponent.o build/avrcomponentpin.o build/mcucomponent.o build/mcucomponentpin.o build/piccomponent.o build/piccomponentpin.o build/oscopewidget.o build/renderarea.o build/renderoscope.o build/plotterwidget.o build/renderarea.o build/ColorCombo.o build/EnumProperty.o build/Property.o build/QPropertyEditorWidget.o build/QPropertyModel.o build/QVariantDelegate.o build/circmatrix.o build/simulator.o build/e-capacitor.o build/e-diode.o build/e-element.o build/e-gate.o build/e-gate_or.o build/e-gate_xor.o build/e-inductor.o build/e-latch_d.o build/e-led.o build/e-logic_device.o build/e-node.o build/e-op_amp.o build/e-pin.o build/e-resistor.o build/e-shiftreg.o build/e-source.o build/avrprocessor.o build/baseprocessor.o build/gpsimprocessor.o build/qrc_application.o build/moc_connectorline.o build/moc_switch_base.o build/moc_ColorCombo.o build/moc_EnumProperty.o build/moc_Property.o build/moc_QPropertyEditorWidget.o build/moc_QPropertyModel.o build/moc_QVariantDelegate.o   -L/usr/X11R6/lib64 /tmp/simulide-svnrepo/include/simavr/libsimavrL64.a -lQt5Widgets -lQt5Xml -lQt5Concurrent -lQt5Gui -lQt5Core -lGL -lpthread 
    build/renderarea.o: In function `RenderArea::minimumSizeHint() const':
    renderarea.cpp:(.text+0x0): multiple definition of `RenderArea::minimumSizeHint() const'
    build/renderarea.o:renderarea.cpp:(.text+0x0): first defined here
    

    Identical function here.

    src/gui/plotterwidget/renderarea.cpp:94: QSize RenderArea::minimumSizeHint() const  {  return QSize( 100, 150 );  }
    src/gui/oscopewidget/renderarea.cpp:94: QSize RenderArea::minimumSizeHint() const  {  return QSize( 100, 150 );  }
    

    Im not familiar with C++.

    How to compile?

     
  • Santiago

    Santiago - 2016-11-15

    Hi Yuri... sorry for the late reply.

    src/gui/oscopewidget/renderarea.cpp and src/gui/oscopewidget/renderarea.h shouldn't be there, just delete them.

    I don't know why that files are there, i need to have a look to the rest of files...

    Sorry for the inconvenience...

     
  • Anonymous

    Anonymous - 2018-02-06

    heloo, could u help me about tutorial install simulide in ubuntu? thanks

     
  • Santiago

    Santiago - 2018-02-06

    Simulide doesn't need instalation, just run the executable in bin folder.

     
  • Anonymous

    Anonymous - 2018-05-19

    the executable in bin folder, not run. please help

     
  • Anonymous

    Anonymous - 2019-03-06

    Just use the terminal to go to the bin folder and execute the file with:

    $ ./SimulIDE_0.2.9

    This way the terminal will just tell you the errors it finds, and you can fix them. In my case, I just had to add the libQt5Multimedia.