<div dir="ltr"><div>I could compile my python code.</div><div><br></div><div>I commented out winuser.h around line 4383, previous error gone out.</div><div><br></div><div>Then, linking the program I met missing fci.lib error in Makefile.release.</div><div>I replaced fci.lib in a Makefile.release to cabinet.lib, linking was succeed, I could get an exe file.</div><div><br></div><div><div>Michiaki ENDO</div><div>Sapporo, Hokkaido</div></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2020年1月31日(金) 11:51 Mamoru Inugami <<a href="mailto:inugami.mamoru@gmail.com">inugami.mamoru@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear list.</div><div><br></div><div>I am still encountering build errors.</div><div>Now I could run pyqt-build and qmake, but nmake failed error as shown below<br></div><div>.<br></div><div>xmlparse.c</div><div>C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\winuser.h(4383): error C2146: 構文エラー: ')' が、識別子 'lpwcx' の前に必要です。</div><div>.</div><div>(Sorry, Japanese error message is included)</div><div><br></div><div>I have updated pyqtdeploy-2.4.1.dev2001291106 and pip list shows this.</div><div><a href="http://byqt-build.pyqt-demo.py" target="_blank">byqt-build.pyqt-demo.py</a> works perfectly and I could execute pyqt-demo.exe.</div><div>I add my python code for help.</div><div><br></div><div><br></div><div># -*- coding: utf-8 -*-<br><br>from PyQt5 import QtCore, QtGui, QtWidgets<br>import time <br>import random<br>from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas<br>from matplotlib.figure import Figure<br><br>class Ui_MainWindow(object):<br> def setupUi(self, MainWindow):<br> MainWindow.setObjectName("MainWindow")<br> MainWindow.resize(500, 300)<br> MainWindow.setMaximumSize(QtCore.QSize(500, 300))<br> self.centralwidget = QtWidgets.QWidget(MainWindow)<br> self.centralwidget.setObjectName("centralwidget")<br> self.pushButton = QtWidgets.QPushButton(self.centralwidget)<br> self.pushButton.setGeometry(QtCore.QRect(60, 110, 75, 23))<br> self.pushButton.setObjectName("pushButton")<br> self.graphicsView = QtWidgets.QGraphicsView(self.centralwidget)<br> self.graphicsView.setGeometry(QtCore.QRect(190, 20, 300, 250))<br> self.graphicsView.setObjectName("graphicsView")<br> self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)<br> self.pushButton_2.setGeometry(QtCore.QRect(60, 170, 75, 23))<br> self.pushButton_2.setObjectName("pushButton_2")<br> MainWindow.setCentralWidget(self.centralwidget)<br> self.menubar = QtWidgets.QMenuBar(MainWindow)<br> self.menubar.setGeometry(QtCore.QRect(0, 0, 500, 21))<br> self.menubar.setObjectName("menubar")<br> MainWindow.setMenuBar(self.menubar)<br> self.statusbar = QtWidgets.QStatusBar(MainWindow)<br> self.statusbar.setObjectName("statusbar")<br> MainWindow.setStatusBar(self.statusbar)<br><br> self.graphicsView = QtWidgets.QVBoxLayout(self.graphicsView)<br> self.canvas = FigureCanvas(Figure())<br> self.graphicsView.addWidget(self.canvas)<br> <a href="http://self.ax" target="_blank">self.ax</a> = self.canvas.figure.subplots()<br> self.canvas.figure.subplots_adjust(0.15,0.15)<br><br> self.retranslateUi(MainWindow)<br> QtCore.QMetaObject.connectSlotsByName(MainWindow)<br><br> def retranslateUi(self, MainWindow):<br> _translate = QtCore.QCoreApplication.translate<br> MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))<br> self.pushButton.setText(_translate("MainWindow", "ON"))<br> self.pushButton_2.setText(_translate("MainWindow", "OFF"))<br><br> self.pushButton.pressed.connect(start)<br> self.pushButton_2.pressed.connect(stop)<br><br><br>class Thread(QtCore.QThread):<br> def __init__(self):<br> QtCore.QThread.__init__(self)<br><br> def run(self):<br> ptime = []<br> value = []<br> ui.ax.clear()<br> now = time.time()<br> <br> while True:<br> time.sleep(1)<br> data = str(random.random())<br> process_time = time.time()-now<br><br> ptime.append(process_time)<br> value.append(float(data))<br><br> ui.ax.plot(ptime, value, color = 'black')<br> ui.ax.figure.canvas.draw()<br><br>def start():<br> <a href="http://ui.th" target="_blank">ui.th</a>=Thread()<br> ui.th.start()<br><br>def stop():<br> ui.th.terminate()<br><br><br>if __name__ == "__main__":<br> import sys<br> app = QtWidgets.QApplication(sys.argv)<br> MainWindow = QtWidgets.QMainWindow()<br> ui = Ui_MainWindow()<br> ui.setupUi(MainWindow)<br> MainWindow.show()<br> sys.exit(app.exec_())</div><div><br></div><div>Michiaki ENDO</div><div>Sapporo, Hokkaido<br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div>