- Index
- » Users
- » LIWenhui
- » Profile
Posts
Posts
After re-git the OM source from GitHub, I could build OM success by omdev. But It's crashed and caused blue-screen when I tried run OM built in 64bit! After a rebuild in mingw32 and there's an error of too many heap sections when loading modelica library.
The attachment is a screen copy of oml loading error.
adrpo wrote:
Hi,
Can you do in the mingw64_shell.bat terminal?Code:
> export OPENMODELICAHOME="d:\\Workplace\\Modelica\\OpenModelica\\build\\"
> make -f Makefile.omdev.mingw qtclients > trace.txt 2>&1and paste trace.txt file here.
Do you follow this readme?
https://github.com/OpenModelica/OMCompi … v-MINGW.md
Cheers,
Adrian Pop/
No.2 undefined reference to `SystemImpl_tmpTick'
build/System.o: In function `omc_System_tmpTick':
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\boot/build/System.c:1029: undefined reference to `SystemImpl_tmpTick'
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\boot/build/System.c:1029: undefined reference to `SystemImpl_tmpTick'
build/ErrorExt.o: In function `omc_ErrorExt_addMessage':
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\boot/build/ErrorExt.c:240: undefined reference to `Error_addMessage'
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\boot/build/ErrorExt.c:240: undefined reference to `Error_addMessage'
build/ErrorExt.o: In function `omc_ErrorExt_updateCurrentComponent':
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\boot/build/ErrorExt.c:262: undefined reference to `ErrorImpl__updateCurrentComponent'
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\boot/build/ErrorExt.c:262: undefined reference to `ErrorImpl__updateCurrentComponent'
D:/Workplace/Modelica/OpenModelica/OMCompiler/Compiler/runtime/libomcruntime-boot.a(Error_omc.boot.o): In function `c_add_message':
D:\Workplace\Modelica\OpenModelica\OMCompiler\Compiler\runtime/errorext.cpp:393: undefined reference to `omc_Error_getCurrentComponent'
collect2.exe: error: ld returned 1 exit status
Makefile.common:184: recipe for target '/d/Workplace/Modelica/OpenModelica/build/lib/omc/libOpenModelicaCompiler.dll' failed
make[5]: *** [/d/Workplace/Modelica/OpenModelica/build/lib/omc/libOpenModelicaCompiler.dll] Error 1
make[5]: Leaving directory '/d/Workplace/Modelica/OpenModelica/OMCompiler/Compiler/boot'
Makefile.common:57: recipe for target 'bootstrap-from-tarball' failed
make[4]: *** [bootstrap-from-tarball] Error 2
make[4]: Leaving directory '/d/Workplace/Modelica/OpenModelica/OMCompiler/Compiler/boot'
Makefile.common:14: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/d/Workplace/Modelica/OpenModelica/OMCompiler/Compiler/boot'
Makefile.omdev.mingw:520: recipe for target 'omc-bootstrapped' failed
make[2]: *** [omc-bootstrapped] Error 2
make[2]: Leaving directory '/d/Workplace/Modelica/OpenModelica/OMCompiler'
real 5m6.478s
user 0m5.657s
sys 0m11.012s
Makefile.omdev.mingw:322: recipe for target 'omc' failed
make[1]: *** [omc] Error 2
make[1]: Leaving directory '/d/Workplace/Modelica/OpenModelica/OMCompiler'
Makefile.omdev.mingw:37: recipe for target 'omc' failed
make: *** [omc] Error 2
Where could I find the shipped qwt vserion? GitHub or OM website?
When I try to build OM with OMDEV package, there are many errors! I'll paste the error messages and try to fixed those errors step by step, and also hope get your help.
NO.1 OM's OMPlot application use qwt library but it's not included in omdev package, so it's should be installed with pacman:
$ pacman -S mingw-w64-i686-qwt-qt5 mingw-w64-x86_64-qwt-qt5
This command will install qwt include file into msys/mingw32/include/qwt and msys/mingw64/include/qwt. the include path of qwt should be changed from build/include/omplot/qwt to the right path or just copy the whole qwt folder from msys subfolder to omplot.
And also the link library parameters -lomqwt and -lomqwtd should be changed to -llibqwt and -llibqwtd
trace.txt
nothing about util
======================================================
OpenModelica Compiler 1.9.1+dev (r21519) (RML version)
Copyright © 2013 Open Source Modelica Consortium (OSMC)
Distributed under OMSC-PL and GPL, see www.openmodelica.org
Usage: omc [-runtimeOptions +omcOptions] (Model.mo | Script.mos) [Libraries | .mo-files]
* Libraries: Fully qualified names of libraries to load before processing Model or Script.
The libraries should be separated by spaces: Lib1 Lib2 ... LibN.
* runtimeOptions: call omc -help to see runtime options
* +omcOptions:
+d, +debug Sets debug flags. Use +help=debug to see available
flags.
+h, +help Displays the help text. Use +help=topics for more
information.
++v, +version Print the version and exit.
+target Sets the target compiler to use.
Valid options: gcc, msvc
+g, +grammar Sets the grammar and semantics to accept.
Valid options: Modelica, MetaModelica, ParModelica, Optimica
+annotationVersion Sets the annotation version that should be used.
Valid options: 1.x, 2.x, 3.x
+std Sets the language standard that should be used.
Valid options: 1.x, 2.x, 3.1, 3.2, 3.3
+showErrorMessages Show error messages immediately when they happen.
+showAnnotations Show annotations in the flattened code.
+noSimplify Do not simplify expressions if set.
+preOptModules Sets the pre optimization modules to use in the
back end. See +help=optmodules for more info.
Valid options:
* removeSimpleEquations
* removeAllSimpleEquations
* inlineArrayEqn
* evaluateFinalParameters
* evaluateEvaluateParameters
* evaluateFinalEvaluateParameters
* evaluateReplaceFinalParameters
* evaluateReplaceEvaluateParameters
* evaluateReplaceFinalEvaluateParameters
* evaluateReplaceProtectedFinalEvaluateParameters
* removeEqualFunctionCalls
* removeProtectedParameters
* removeUnusedParameter
* removeUnusedVariables
* clockPartitioning
* expandDerOperator
* simplifyIfEquations
* replaceEdgeChange
* residualForm
* addInitialStmtsToAlgorithms
* resolveLoops
* evalFunc
+cheapmatchingAlgorithm Sets the cheap matching algorithm to use. A cheap
matching algorithm gives a jump start matching by
heuristics.
Valid options:
* 0
* 1
* 3
+matchingAlgorithm Sets the matching algorithm to use. See
+help=optmodules for more info.
Valid options:
* BFSB
* DFSB
* MC21A
* PF
* PFPlus
* HK
* HKDW
* ABMP
* PR
* DFSBExt
* BFSBExt
* MC21AExt
* PFExt
* PFPlusExt
* HKExt
* HKDWExt
* ABMPExt
* PRExt
+indexReductionMethod Sets the index reduction method to use. See
+help=optmodules for more info.
Valid options:
* uode
* dynamicStateSelection
+postOptModules Sets the post optimization modules to use in the
back end. See +help=optmodules for more info.
Valid options:
* encapsulateWhenConditions
* lateInlineFunction
* removeSimpleEquationsFast
* removeSimpleEquations
* evaluateFinalParameters
* evaluateEvaluateParameters
* evaluateFinalEvaluateParameters
* evaluateReplaceFinalParameters
* evaluateReplaceEvaluateParameters
* evaluateReplaceFinalEvaluateParameters
* removeEqualFunctionCalls
* inlineArrayEqn
* removeUnusedParameter
* constantLinearSystem
* tearingSystem
* relaxSystem
* countOperations
* dumpComponentsGraphStr
* generateSymbolicJacobian
* generateSymbolicLinearization
* removeUnusedFunctions
* simplifyTimeIndepFuncCalls
* inputDerivativesUsed
* simplifysemiLinear
* removeConstants
* optimizeInitialSystem
* detectJacobianSparsePattern
* calculateStrongComponentJacobians
* calculateStateSetsJacobians
* addInitialStmtsToAlgorithms
+simCodeTarget Sets the target language for the code generation.
Valid options: C, CSharp, Cpp, Adevs, QSS, XML, Java, JavaScript, None
+orderConnections Orders connect equations alphabetically if set.
+t, +typeinfo Prints out extra type information if set.
+a, +keepArrays Sets whether to split arrays or not.
+m, +modelicaOutput Enables valid modelica output for flat modelica.
+q, +silent Turns on silent mode.
+c, +corbaSessionName Sets the name of the corba session if
+d=interactiveCorba is used.
+n, +numProcs Sets the number of processors to use
(0=default=auto).
+l, +latency Sets the latency for parallel execution.
+b, +bandwidth Sets the bandwidth for parallel execution.
+i, +instClass Instantiate the class given by the fully qualified
path.
+v, +vectorizationLimit Sets the vectorization limit, arrays and matrices
larger than this will not be vectorized.
+s, +simulationCg Turns on simulation code generation.
+evalAnnotationParams Sets whether to evaluate parameters in annotations
or not.
+generateLabeledSimCode Turns on labeled SimCode generation for reduction
algorithms.
+reduceTerms Turns on reducing terms for reduction algorithms.
+reductionMethod Sets the reduction method to be used.
Valid options: deletion, substitution, linearization
+plotSilent Defines whether plot commands should open OMPlot
or show the list of arguments that would have
been sent to OMPlot.
+locale Override the locale from the environment.
+o, +defaultOCLDevice Sets the default OpenCL device to be used for
parallel execution.
+maxTraversals Maximal traversals to find simple equations in the
acausal system.
+dumpTarget Redirect the dump to file. If the file ends with
.html HTML code is generated.
+delayBreakLoop Enables (very) experimental code to break
algebraic loops using the delay() operator.
Probably messes with initialization.
+tearingMethod Sets the tearing method to use. Select no tearing
or choose tearing method.
Valid options:
* noTearing
* omcTearing
* cellier
+scalarizeMinMax Scalarizes the builtin min/max reduction operators
if true.
+scalarizeBindings Always scalarizes bindings if set.
+corbaObjectReferenceFilePath Sets the path for corba object reference
file if +d=interactiveCorba is used.
+hpcomScheduler Sets the scheduler for task graph scheduling (list
| listr | level | ext | mcp | taskdep | tds |
none). Default: list.
+tearingHeuristic Sets the tearing heuristic to use for
Cellier-tearing.
Valid options:
* MC1
* MC2
* MC11
* MC21
* MC12
* MC22
* MC13
* MC23
* MC231
* MC3
* MC4
+hpcomCode Sets the code-type produced by hpcom (openmp |
pthreads | pthreads_spin | mixed). Default:
openmp.
+rewriteRulesFile Activates user given rewrite rules for Absyn
expressions. The rules are read from the given
file and are of the form rewrite(fromExp, toExp);
+replaceHomotopy Replaces homotopy(actual, simplified) with the
actual expression or the simplified expression.
Good for debugging models which use homotopy. The
default is to not replace homotopy.
Valid options:
* none
* actual
* simplified
+generateSymbolicJacobian Generates symbolic jacobian matrix, where
der(x) is differentiated w.r.t. x. This matrix
can be used to simulate with dasslColorSymJac.
+generateSymbolicLinearization Generates symbolic linearization matrixes
A,B,C,D for linear model:
\dot x = Ax + Bu
y = Cx +Du
+intEnumConversion Allow Integer to enumeration conversion.
+profiling Sets the profiling level to use. Profiled
equations and functions record execution time and
count for each time step taken by the integrator.
Valid options:
* none
* blocks
* blocks+html
* all
For more details on a specific topic, use +help=topics or help("topics")
* Examples:
omc Model.mo will produce flattened Model on standard output.
omc +s Model.mo will produce simulation code for the model:
* Model.c The model C code.
* Model_functions.c The model functions C code.
* Model.makefile The makefile to compile the model.
* Model_init.xml The initial values.
omc Script.mos will run the commands from Script.mos.
omc Model.mo Modelica will first load the Modelica library and then produce
flattened Model on standard output.
omc Model1.mo Model2.mo will load both Model1.mo and Model2.mo, and produce
flattened Model1 on standard output.
*.mo (Modelica files)
*.mos (Modelica Script files)
For available simulation flags, use +help=simulation.
Documentation is available in the built-in package OpenModelica.Scripting or
online <https://build.openmodelica.org/Documentation/OpenModelica.Scripting.html>.
I'm not sure about Util means, in OMEdit->Simulation->Simulation Setup->Simulation Flags, Who would like to give me a detailed explaination about it? THKS
Thank you! Would you like give me the email please? Is it Adrian.pop@liu.se?
I noticed that the OMEdit_zh_CN.ts was unfinished, I want to translate it into Chinese, how can I get svn committing right?
Sanjay_Kamath wrote:
Check out Appendix E in the Modelica specification 3.3. A detailed information has been presented there
THKU
sjoelund.se wrote:
Which of the revisions of each specification? We have 3.2 3.2r1 3.3 3.2r2 and soon 3.3r1. https://modelica.org/documents has versions with changemarks.
Thank you.
I've downloaded both 3.2r2 and 3.3 documents, but if there was a summary of the changes would be better.
Where can I get the document of the difference between ModelicaSpec33 and ModelicaSpec32 besides synchronous and annotations
After I deleted some files generated before and rebuild the project, there's no error anymore. thank you adeas and sjoelund.se
adeas wrote:
I think its not. Our build servers are showing the compilation is fine https://test.openmodelica.org/hudson/. TryCode:
make -f Makefile.omdev.mingw clean-qtclientsand then,
Code:
make -f Makefile.omdev.mingw qtclientsAdeel.
OK, thank you, I'll try again.
sjoelund.se wrote:
Is this on a clean checkout with the latest OMDev version?
Yes, I think so.
g++ -enable-auto-import -Wl,-s -mthreads -Wl,-subsystem,windows -o ../bin/OMOptim.exe release/generatedfiles/main.o release/generatedfiles/qrc_OMOptim.o -L'c:/Prgfiles/Qt/4.8.0/lib' -lmingw32 -lqtmain release/generatedfiles/rc_omoptim_res.o -L../bin -lOMOptim -Lc:/OMDev/lib/omniORB-4.1.6-mingw/lib/x86_win32 -lomniORB416_rt -lomnithread34_rt -lomniDynamic416_rt -L../../build/lib/omc -lOMOptimBasis -lomqwt -Lc:/OMDev/lib/paradiseo-mingw/paradiseo-eo/lib -leo -leoutils -Lc:/OMDev/lib/paradiseo-mingw/paradiseo-moeo/lib -lmoeo -lQtSvg4 -lQtXml4 -lQtGui4 -lQtCore4
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0x5f): undefined reference to `_imp___ZN13QwtPlotPickerD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0x7f): undefined reference to `_imp___ZN13QwtPlotPickerD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0xac): undefined reference to `_imp___ZN13QwtPlotPickerD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0xd6): undefined reference to `_imp___ZN13QwtPlotPickerC2EP7QWidget'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0x10a): undefined reference to `_imp___ZN13QwtPlotPickerC2EP7QWidget'
collect2: ld returned 1 exit status
Makefile.Release:74: recipe for target `../bin/OMOptim.exe' failed
make[3]: *** [../bin/OMOptim.exe] Error 1
make[3]: Leaving directory `/f/Softwares/Modelica/OpenModelica/OMOptim/build'
Makefile:34: recipe for target `release' failed
make[2]: *** [release] Error 2
make[2]: Leaving directory `/f/Softwares/Modelica/OpenModelica/OMOptim/build'
Makefile.omdev.mingw:39: recipe for target `OMOptim' failed
make[1]: *** [OMOptim] Error 2
make[1]: Leaving directory `/f/Softwares/Modelica/OpenModelica/OMOptim/build'
Makefile.omdev.mingw:227: recipe for target `qtclients' failed
make: *** [qtclients] Error 2
Thank you.
Nightly builds error!
... ....
Last committed at revision 20750
Updated to revision 20781
Local modifications found
Unversioned items found
g++ -enable-auto-import -Wl,-s -mthreads -Wl,-subsystem,windows -o ../bin/OMOptim.exe release/generatedfiles/main.o release/generatedfiles/qrc_OMOptim.o -L'c:/Prgfiles/Qt/4.8.0/lib' -lmingw32 -lqtmain release/generatedfiles/rc_omoptim_res.o -L../bin -lOMOptim -LC:\OMDev/lib/omniORB-4.1.6-mingw/lib/x86_win32 -lomniORB416_rt -lomnithread34_rt -lomniDynamic416_rt -L../../build/lib/omc -lOMOptimBasis -lomqwt -LC:\OMDev/lib/paradiseo-mingw/paradiseo-eo/lib -leo -leoutils -LC:\OMDev/lib/paradiseo-mingw/paradiseo-moeo/lib -lmoeo -lQtSvg4 -lQtXml4 -lQtGui4 -lQtCore4
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x1426): undefined reference to `_imp___ZN7QwtTextC1ERK7QStringNS_10TextFormatE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x144e): undefined reference to `_imp___ZN7QwtText7setFontERK5QFont'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x1465): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x1492): undefined reference to `_imp___ZN7QwtText7setTextERK7QStringNS_10TextFormatE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x149d): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x1526): undefined reference to `_imp___ZN7QwtPlot12setAxisTitleEiRK7QwtText'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x161d): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x17df): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x18f0): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text+0x1972): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x1c): undefined reference to `_imp___ZN7QwtPlotC2EP7QWidget'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xce): undefined reference to `_imp___ZN12QwtPlotCurveC1ERK7QString'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xfe): undefined reference to `_imp___ZN9QwtSymbolC1ENS_5StyleE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x11a): undefined reference to `_imp___ZN9QwtSymbol8setStyleENS_5StyleE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x126): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x144): undefined reference to `_imp___ZN9QwtSymbol7setSizeEii'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x150): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x175): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x198): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x1ad): undefined reference to `_imp___ZN9QwtSymbol6setPenERK4QPen'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x1cd): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x1f7): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x20b): undefined reference to `_imp___ZN9QwtSymbol8setBrushERK6QBrush'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x22b): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x240): undefined reference to `_imp___ZN12QwtPlotCurve9setSymbolEP9QwtSymbol'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x24c): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x261): undefined reference to `_imp___ZN12QwtPlotCurve8setStyleENS_10CurveStyleE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x26d): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x28b): undefined reference to `_imp___ZN11QwtPlotItem16setItemAttributeENS_13ItemAttributeEb'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x297): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x2a8): undefined reference to `_imp___ZN11QwtPlotItem6attachEP7QwtPlot'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x2b4): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x30b): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x4e1): undefined reference to `_imp___ZN7QwtPlot6canvasEv'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x517): undefined reference to `_imp___ZN7QwtPlot11setAxisFontEiRK5QFont'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x614): undefined reference to `_imp___ZN7QwtPlot19setCanvasBackgroundERK6QBrush'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x64b): undefined reference to `_imp___ZN13QwtPlotZoomerC1EP7QWidgetb'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x678): undefined reference to `_imp___ZN15QwtEventPattern15setMousePatternENS_16MousePatternCodeEN2Qt11MouseButtonE6QFlagsINS1_16KeyboardModifierEE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x705): undefined reference to `_imp___ZN9QwtPicker14setTrackerModeENS_11DisplayModeE'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x93d): undefined reference to `_imp___ZN11QwtPlotGridC1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x94e): undefined reference to `_imp___ZN11QwtPlotGrid10enableXMinEb'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x95f): undefined reference to `_imp___ZN11QwtPlotGrid10enableYMinEb'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0x9ca): undefined reference to `_imp___ZN11QwtPlotGrid11setMajorPenERK4QPen'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xa43): undefined reference to `_imp___ZN11QwtPlotGrid11setMinorPenERK4QPen'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xab8): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xb28): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xb9f): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xc35): undefined reference to `_imp___ZN7QwtPlotD2Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xd81): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xdac): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlotC1Ev[MOOptPlot::MOOptPlot()]+0xdd2): undefined reference to `_imp___ZN9QwtSymbolD1Ev'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlot7refreshEi[MOOptPlot::refresh(int)]+0x52): undefined reference to `_imp___ZN12QwtPlotCurve10setSamplesEPKdS1_i'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlot7refreshEi[MOOptPlot::refresh(int)]+0x6e): undefined reference to `_imp___ZN11QwtPlotItem16setItemAttributeENS_13ItemAttributeEb'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlot7refreshEi[MOOptPlot::refresh(int)]+0x2b9): undefined reference to `_imp___ZN12QwtPlotCurve10setSamplesEPKdS1_i'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlot7refreshEi[MOOptPlot::refresh(int)]+0x2d5): undefined reference to `_imp___ZN11QwtPlotItem16setItemAttributeENS_13ItemAttributeEb'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlot7refreshEi[MOOptPlot::refresh(int)]+0x2e1): undefined reference to `_imp___ZN11QwtPlotItem4showEv'
../bin/libOMOptim.a(WidgetMooPlot.o):WidgetMooPlot.cpp:(.text$_ZN9MOOptPlot7refreshEi[MOOptPlot::refresh(int)]+0x381): undefined reference to `_imp___ZN11QwtPlotItem4hideEv'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0x53): undefined reference to `_imp___ZN7QwtPlot11qt_metacastEPKc'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0x929): undefined reference to `_imp___ZN7QwtPlot16staticMetaObjectE'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0xb67): undefined reference to `_imp___ZN12QwtPlotCurve10setSamplesEPKdS1_i'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0xb83): undefined reference to `_imp___ZN11QwtPlotItem16setItemAttributeENS_13ItemAttributeEb'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0xb8f): undefined reference to `_imp___ZN11QwtPlotItem4showEv'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0xc6c): undefined reference to `_imp___ZN11QwtPlotItem4hideEv'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0xe75): undefined reference to `_imp___ZN13QwtPlotPicker16staticMetaObjectE'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0xe9b): undefined reference to `_imp___ZNK7QwtPlot9transformEid'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text+0x12da): undefined reference to `_imp___ZN7QwtPlot11qt_metacallEN11QMetaObject4CallEiPPv'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot10paintEventEP11QPaintEvent[MOOptPlot::paintEvent(QPaintEvent*)]+0x11b): undefined reference to `_imp___ZN10QwtPainter8drawRectEP8QPainterRK6QRectF'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x28): undefined reference to `_imp___ZN15QwtPlotRendererC1EP7QObject'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x42): undefined reference to `_imp___ZNK15QwtPlotRenderer8renderToEP7QwtPlotR12QPaintDevice'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x141): undefined reference to `_imp___ZNK7QwtPlot9axisTitleEi'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x154): undefined reference to `_imp___ZNK7QwtText4textEv'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x169): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x186): undefined reference to `_imp___ZNK7QwtPlot9axisTitleEi'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x5ec): undefined reference to `_imp___ZN15QwtPlotRendererD1Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x70d): undefined reference to `_imp___ZN15QwtPlotRendererD1Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlot11onCopyAskedEv[MOOptPlot::onCopyAsked()]+0x812): undefined reference to `_imp___ZN7QwtTextD1Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlotD0Ev[MOOptPlot::~MOOptPlot()]+0x72): undefined reference to `_imp___ZN7QwtPlotD2Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlotD0Ev[MOOptPlot::~MOOptPlot()]+0xb4): undefined reference to `_imp___ZN7QwtPlotD2Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlotD1Ev[MOOptPlot::~MOOptPlot()]+0x71): undefined reference to `_imp___ZN7QwtPlotD2Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlotD1Ev[MOOptPlot::~MOOptPlot()]+0xa0): undefined reference to `_imp___ZN7QwtPlotD2Ev'
../bin/libOMOptim.a(moc_MOOptPlot.o):moc_MOOptPlot.cpp:(.text$_ZN9MOOptPlotD1Ev[MOOptPlot::~MOOptPlot()]+0xbe): undefined reference to `_imp___ZN7QwtPlotD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0x5f): undefined reference to `_imp___ZN13QwtPlotPickerD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0x7f): undefined reference to `_imp___ZN13QwtPlotPickerD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0xac): undefined reference to `_imp___ZN13QwtPlotPickerD2Ev'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0xd6): undefined reference to `_imp___ZN13QwtPlotPickerC2EP7QWidget'
../../build/lib/omc/libOMOptimBasis.a(MyQwtPlotPicker.o):MyQwtPlotPicker.cpp:(.text+0x10a): undefined reference to `_imp___ZN13QwtPlotPickerC2EP7QWidget'
collect2: ld returned 1 exit status
Makefile.Release:74: recipe for target `../bin/OMOptim.exe' failed
make[3]: Leaving directory `/f/Softwares/Modelica/OpenModelica/OMOptim/build'
make[3]: *** [../bin/OMOptim.exe] Error 1
make[2]: *** [release] Error 2
make[1]: *** [OMOptim] Error 2
make: *** [qtclients] Error 2
Makefile:34: recipe for target `release' failed
make[2]: Leaving directory `/f/Softwares/Modelica/OpenModelica/OMOptim/build'
Makefile.omdev.mingw:32: recipe for target `OMOptim' failed
make[1]: Leaving directory `/f/Softwares/Modelica/OpenModelica/OMOptim/build'
Makefile.omdev.mingw:227: recipe for target `qtclients' failed
adrpo wrote:
OMCppSimulation.exe is not longer used. Was left by mistake in the installation since a long time. It won't be present in the next nightly build.
Thank you adrpo.
Thank you Adeel.
Yes, I had builden the project with make -f Makefile.omdev.mingw runtimeCPPinstall, It seemed everything was OK but still no OMCppSimulation.exe.
adeas wrote:
fmigenerator.exe is old. It is no more supported. I have fixed it in the setup https://trac.openmodelica.org/OpenModel … et/20667/.
I am not sure about OMCppSimulation.exe. Have you done,Code:
make -f 'Makefile.omdev.mingw' runtimeCPPinstallAdeel.
I tried to build OpenModelica setup package with OpenModelicaSetup, everything seemed OK except two exe files OMCppSimulation.exe and fmigenerator.exe, which should be in build/bin folder, but I couldn't find them in my whole disk! What's the problem? How can I fix it?
- Index
- » Users
- » LIWenhui
- » Profile