New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation under ubuntu 18.04 or 20.04 #275
Comments
Hi @dubois34, our documentation on how to build the OpenStudioApplication is at: This might be slightly out of date. The code to build OpenStudioApplication by CI is at: This code configures the environment and builds OpenStudioApplication from a base image so it is a good guide if you can follow it. It appears that (aqtinstall)[https://github.com/miurahr/aqtinstall] is used to install Qt on Linux: |
Hi Dan,
Thanks for the help.
The CI link was helpful and using aqt was a solution to compile OpenStudioApplication.
It means that my problem is coming from the way I compiled Qt5.
By the way I have to copy files manually form Qt-Install/.../lib to Products to make it works: libQt5QmlModels.* and libicu*
Currently I still have problems with locales.
Now I have to check it works. By the way do you provide some basic tests ?
Kind regards
… De: "Dan Macumber" ***@***.***>
À: "openstudiocoalition/OpenStudioApplication"
***@***.***>
Cc: "Frederic Dubois" ***@***.***>, "Mention"
***@***.***>
Envoyé: Jeudi 19 Novembre 2020 04:39:40
Objet: Re: [openstudiocoalition/OpenStudioApplication] compilation under ubuntu
18.04 or 20.04 (#275)
Hi [ https://github.com/dubois34 | @dubois34 ] , our documentation on how to
build the OpenStudioApplication is at:
[
https://github.com/openstudiocoalition/OpenStudioApplication/wiki/Configuring-OpenStudio-Application-Build-Environments
|
https://github.com/openstudiocoalition/OpenStudioApplication/wiki/Configuring-OpenStudio-Application-Build-Environments
]
This might be slightly out of date. The code to build OpenStudioApplication by
CI is at:
[
https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/.github/workflows/app_build.yml
|
https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/.github/workflows/app_build.yml
]
This code configures the environment and builds OpenStudioApplication from a
base image so it is a good guide if you can follow it. It appears that
(aqtinstall)[https://github.com/miurahr/aqtinstall] is used to install Qt on
Linux:
[
https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/.github/workflows/app_build.yml#L396
|
https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/.github/workflows/app_build.yml#L396
]
—
You are receiving this because you were mentioned.
Reply to this email directly, [
#275 (comment)
| view it on GitHub ] , or [
https://github.com/notifications/unsubscribe-auth/AFCBFIYV7JD3SWZTL5BXXNTSQSHPZANCNFSM4TYGK3QA
| unsubscribe ] .
--
Frédéric Dubois, PhD, Eng.
---
Directeur adjoint du LMGC.
Laboratoire de Mécanique et Génie Civil - CNRS/UM
cc 048, 163 rue Auguste Broussonnet, 34090 Montpellier
http://www.lmgc.univ-montp2.fr/~dubois
Tel: 33/0 467144984
Mobile: 33/0 635490843
|
Yes, there are some additional steps which stage the binaries to run in the installer. As far as testing the Application, I would suggest working through some of the tutorials: https://openstudiocoalition.org/getting_started/getting_started/ The fastest way to get a running model is to run one of the model articulation measures: |
Ok to close this @dubois34 ? |
yes thanks !
… De: "Dan Macumber" ***@***.***>
À: "openstudiocoalition" ***@***.***>
Cc: "Frederic Dubois" ***@***.***>, "Mention"
***@***.***>
Envoyé: Mardi 24 Novembre 2020 18:52:09
Objet: Re: [openstudiocoalition/OpenStudioApplication] compilation under ubuntu
18.04 or 20.04 (#275)
Ok to close this [ https://github.com/dubois34 | @dubois34 ] ?
—
You are receiving this because you were mentioned.
Reply to this email directly, [
#275 (comment)
| view it on GitHub ] , or [
https://github.com/notifications/unsubscribe-auth/AFCBFI5EO3TNETCGZ7L7JCLSRPXETANCNFSM4TYGK3QA
| unsubscribe ] .
--
Frédéric Dubois, PhD, Eng.
---
Directeur adjoint du LMGC.
Laboratoire de Mécanique et Génie Civil - CNRS/UM
cc 048, 163 rue Auguste Broussonnet, 34090 Montpellier
http://www.lmgc.univ-montp2.fr/~dubois
Tel: 33/0 467144984
Mobile: 33/0 635490843
|
Hi there,
I'am trying to compile OpenStudioApplication and it doesn't work.
Here is my problem:
Building CXX object src/openstudio_lib/CMakeFiles/openstudio_lib.dir/PlanarSurfaceWidget.cpp.o
/home/dubois/WORK/CODES/OpenStudioApplication/OpenStudioApplication/src/openstudio_lib/OSDocument.cpp: In constructor ‘openstudio::OSDocument::OSDocument(const openstudio::model::Model&, const path&, openstudio::model::OptionalModel, QString, bool, int, int)’:
/home/dubois/WORK/CODES/OpenStudioApplication/OpenStudioApplication/src/openstudio_lib/OSDocument.cpp:153:26: error: variable ‘QTextStream styleIn’ has initializer but incomplete type
153 | QTextStream styleIn(&data);
| ^
make[2]: *** [src/openstudio_lib/CMakeFiles/openstudio_lib.dir/build.make:2710 : src/openstudio_lib/CMakeFiles/openstudio_lib.dir/OSDocument.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [CMakeFiles/Makefile2:369 : src/openstudio_lib/CMakeFiles/openstudio_lib.dir/all] Erreur 2
make: *** [Makefile:152 : all] Erreur 2
I tried to compile either on Ubuntu 18.04 LTS or Ubuntu 20.04 LTS (my CmakeCache.txt is attached).
By the way I had to compile part of QT5 (qtbase, qtquickcontrols2 and qtwebengine) since I didn't succeed to cmake with ubuntu packages.
Can you tell me if it exists somewhere instructions to compile the code (like prerequisites, cmake options etc)
Regards
CMakeCache.txt
The text was updated successfully, but these errors were encountered: