Comments (9)
Maybe I run the qmake command in the wrong way.
This is my command:
qmake "CASCADE_INC_DIR=C:\Users\susim\Desktop\Tirocinio\OpenCascadeTechnology_OCCT\opencascade-7.5.0\inc" "CASCADE_LIB_DIR=C:\Users\susim\Desktop\Tirocinio\OpenCascadeTechnology_OCCT\opencascade-7.5.0\win64\vc14\lib"
Are there the correct folders in opencascade?
from mayo.
Hello,
"(n)make" is a name to refer to the make utility the developer is using. It should be nmake
with Visual C++ and make
for UNIX-like toolchains.
Maybe there's a problem with the compiler identification of qmake. Can you give more details about your build environment ? What compiler are you using, version of Qt and OpenCascade.
from mayo.
Have a look at appveyor.yml file, it might help figure out how to build.
I recommend running OpenCascade's env.bat
script before compiling Mayo.
If you are using Visual C++ also make sure you run the "x64 Native Tools Command Prompt" so the Visual C++ tools are in the PATH.
from mayo.
- I'm on Windows 10.
- Open cascade 7.5.0
- qt5.11.2-vc14-64 (that it is inside open cascade technology) --> qmake
(C:\Users\susim\Desktop\Tirocinio\OpenCascadeTechnology_OCCT\qt5.11.2-vc14-64\bin\qmake.exe) - Microsoft Visual Studio 2019 --> nmake
(C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\Hostx86\x86\nmake.exe) - MingGw --> make
"C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\mingw32-make.exe"
from mayo.
Now build correctly.
There is an error during run
from mayo.
Hello,
that's clever to reuse Qt binaries packaged with OpenCascade (then you don't need to get Qt installer).
I tried your approach and reproduced the problem.
After qmake type "nmake release"
Then in ...\OpenCascadeTechnology_OCCT\qt5.11.2-vc14-64
copy the folders plugins\imageformats
and plugins\platforms
and paste them into the folder where is located mayo.exe
You should have :
...\release\
mayo.exe
platforms\
DLL files
imageformats\
DLL files
Finally you should run Mayo without further problems !
PS: the error you got may be caused by the fact Qt packaged with OpenCascade is not relocatable (see this doc)
from mayo.
Uff, I don't know why but now on build there is this error: "LINK : fatal error LNK1104: cannot open file 'C:\Users\susim\Desktop\Tirocinio\OpenCascadeTechnology_OCCT\qt5.11.2-vc14-64\lib\Qt5WinExtrasd.lib'".
This file doesn't exist, there is one similar in this repository named "Qt5WinExtras.lib" so without "d"
from mayo.
Yes OpenCascade seems to have forgotten to package this Qt5WinExtrasd.lib
file, so with the Qt bundled in OpenCascade avoid debug builds and stick to release builds instead : nmake release
Or preferrably install Qt5 latest version if you want also debug builds (see https://www.qt.io/download-qt-installer)
from mayo.
It was my fault now it works
What a great 3d visualizer! It is very similar to cad assistant of open cascade
The only feature is missing is to color the objects
Thanks
from mayo.
Related Issues (20)
- Extend CI to build also for Linux ARM HOT 1
- Build should use pkg-config (or CMake?) HOT 9
- Some OFF files fail to open HOT 2
- Unit test `TestBase::DoubleToString_test()` fails on macOS
- Only cli usage HOT 3
- Segmentation Fault on Image Export HOT 7
- Export each part as separate STL and STEP file from console HOT 11
- Error during export to '*.gltf' File write problem HOT 6
- Crash when selecting "User Defined" mesh quality in Options
- Installation forces restart of computer without confirmation! HOT 2
- Avoid usage of Visual C++ redistributable with InnoSetup installer
- Problem opening WRL/VRML file HOT 1
- Display error messages reported by OpenCascade importers/exporters
- Units combo box disappear in the Measure panel
- how to get glb's node info HOT 2
- Some TGA files are not supported in "Inspect XDE" dialog
- Support reading of DirectX files HOT 1
- CLI not working properly HOT 4
- Why did the release version not use 'cmakelists. txt' to organize code (I am a novice) HOT 2
- mayo vs mayo-conv different export HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mayo.