Comments (13)
You are welcome, there is a commit coming to fix a windows crash and the UI issues. I am testing it, will commit when ready.
from dust3d.
I tried building this on Ubuntu 16.04 today. I added a PPA with qt5.10 because that seems needed.. But the build fails..
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlayout.h:37:0,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qboxlayout.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QVBoxLayout:1,
from src/skeletondocumentwindow.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:285:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:285:13: note: template argument deduction/substitution failed:
src/skeletondocumentwindow.cpp: In substitution of ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2) [with Func1 = void (QWidget::*)(const QPoint&); Func2 = SkeletonDocumentWindow::SkeletonDocumentWindow()::<lambda(const QPoint&)>]’:
src/skeletondocumentwindow.cpp:465:6: required from here
src/skeletondocumentwindow.cpp:465:6: error: template argument for ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’ uses local type ‘SkeletonDocumentWindow::SkeletonDocumentWindow()::<lambda(const QPoint&)>’
});
^
src/skeletondocumentwindow.cpp:465:6: error: trying to instantiate ‘template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlayout.h:37:0,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qboxlayout.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QVBoxLayout:1,
from src/skeletondocumentwindow.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:293:13: note: candidate: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed:
src/skeletondocumentwindow.cpp:465:6: note: cannot convert ‘<lambda closure object>SkeletonDocumentWindow::SkeletonDocumentWindow()::<lambda(const QPoint&)>{graphicsWidget, ((SkeletonDocumentWindow*)this)}’ (type ‘SkeletonDocumentWindow::SkeletonDocumentWindow()::<lambda(const QPoint&)>’) to type ‘const QObject*’
});
^
src/skeletondocumentwindow.cpp: In member function ‘void SkeletonDocumentWindow::saveAll()’:
src/skeletondocumentwindow.cpp:551:10: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
for (auto &window: g_documentWindows) {
^
src/skeletondocumentwindow.cpp:551:16: error: ISO C++ forbids declaration of ‘window’ with no type [-fpermissive]
for (auto &window: g_documentWindows) {
^
src/skeletondocumentwindow.cpp:551:24: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
for (auto &window: g_documentWindows) {
^
src/skeletondocumentwindow.cpp:552:15: error: base operand of ‘->’ is not a pointer
window->save();
^
Makefile:613: recipe for target 'skeletondocumentwindow.o' failed
make: *** [skeletondocumentwindow.o] Error 1
from dust3d.
@dlpatri Yes, ideally, it should work on all the platforms which can run the latest Qt.
@popey Thanks for reporting, I will look into it when my Ubuntu VM ready.
from dust3d.
Hi, I have tested on Ubuntu 16.04.4 LTS, and updated the build steps in docs https://dust3d.readthedocs.io/en/latest/builds.html
Please check the Ubuntu section of the docs, and download the latest code(Have slightly changed Dust3D.pro file).
from dust3d.
I'm running Ubuntu 18.04. Got to the point where I run qmake
then make
. This is what I get:
dlpatri@Bebop:~/thirdParty/dust3d$ qmake -qt=5 -v -makefile
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
dlpatri@Bebop:~/thirdParty/dust3d$ make
make: *** No targets specified and no makefile found. Stop.
from dust3d.
Hi, David, I saw the folder name "thirdParty", is your file structure like this?
~/thirdParty/dust3d/dust3d.pro
If not, please run theqmake -qt=5 -v -makefile
in the path where you can find the dust3d.pro
.
from dust3d.
dlpatri@Bebop:~/thirdParty/dust3d$ pwd
/home/dlpatri/thirdParty/dust3d
dlpatri@Bebop:~/thirdParty/dust3d$ ls -l
total 68
-rw-rw-r-- 1 dlpatri dlpatri 20088 Apr 21 12:48 ACKNOWLEDGEMENTS.html
-rw-rw-r-- 1 dlpatri dlpatri 3511 Apr 21 12:48 appveyor.yml
-rw-rw-r-- 1 dlpatri dlpatri 72 Apr 21 12:48 AUTHORS
drwxrwxr-x 2 dlpatri dlpatri 4096 Apr 21 12:48 ci
drwxrwxr-x 5 dlpatri dlpatri 4096 Apr 21 12:48 docs
-rw-rw-r-- 1 dlpatri dlpatri 4781 Apr 21 12:48 dust3d.pro
-rw-rw-r-- 1 dlpatri dlpatri 1071 Apr 21 12:48 LICENSE
-rw-rw-r-- 1 dlpatri dlpatri 3123 Apr 21 12:48 README.md
drwxrwxr-x 2 dlpatri dlpatri 4096 Apr 21 12:48 resources
-rw-rw-r-- 1 dlpatri dlpatri 151 Apr 21 12:48 resources.qrc
drwxrwxr-x 2 dlpatri dlpatri 4096 Apr 21 12:48 src
drwxrwxr-x 4 dlpatri dlpatri 4096 Apr 21 12:48 thirdparty
dlpatri@Bebop:~/thirdParty/dust3d$ qmake -qt=5 -v -makefile
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
dlpatri@Bebop:~/thirdParty/dust3d$ make
make: *** No targets specified and no makefile found. Stop.
from dust3d.
A difference between what I did (as opposed to what the instructions tell me to do) is that I did not build my own CGAL. But that's because I'm running Ubuntu 18.04; which seems to have the required version in its repositories:
$ sudo apt list libcgal-dev
Listing... Done
libcgal-dev/bionic,now 4.11-2build1 amd64 [installed]
from dust3d.
Sorry, my bad. there is a mistake in the docs.
Should be qmake -qt=5 -makefile
from dust3d.
I assumed -v
was for verbose.... I'm guessing it was for "version"?
from dust3d.
Alright; so that worked. I got Dust3d up and going. The UI is a bit small; but at least it seems to be running. Thanks :)
from dust3d.
I am closing this now, thanks for help. the UI small problem has been fixed in the latest commit.
from dust3d.
Verified that https://dust3d.readthedocs.io/en/latest/builds.html no longer has the -v
option in qmake
. I agree with the closing.
Thanks again.
from dust3d.
Related Issues (20)
- Suddenly app not responding HOT 3
- A short-lived hope... HOT 3
- Mirror won't work HOT 5
- Build fails on arm64: error: use of undeclared identifier '__TBB_machine_fetchadd4' HOT 1
- #not issue Add support for android aarch64 device
- Wireframe is not displayed HOT 3
- Add native Wayland support HOT 1
- Some questions HOT 4
- Model appears black HOT 9
- Please use version number schema within CHANGELOGS
- Tracking dust3d in the package ecosystem HOT 6
- 32 bit work better on 64 bits HOT 3
- flathub package is outdated HOT 1
- GLIBCXX_3.4.29 not found
- Mouse wheel don't size up the node.
- Version 1.0.0-rc.9 cannot open example models from rc.6
- Use data from Anatomy library
- Put example screenshots in the README
- Segmentation fault with Qt6 on aarch64 Raspberry Pi OS "Bookworm"
- Scroll wheel registers scale down or up no matter which way I go.
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 dust3d.