Skip to content
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

DGtal on MS Windows with QGLViewer activated #1106

Merged
merged 27 commits into from
Jan 15, 2016

Conversation

kerautret
Copy link
Member

This PR focus on remaining errors when QGLviewer is installed and activated.
It is not yet finished:

  • Install QGLViewer with appveyor
  • main DGtal with QGLviewer activated
  • Check Examples section :
    • fix gl errors (add #include<windows.h>)
    • fix CATCH error (from exampleCatch.h)
  • Check Tests section

@dcoeurjo
Copy link
Member

Excellent..

@dcoeurjo
Copy link
Member

the problem on appveyor is that we usually have timeout while compiling the tests...

@kerautret
Copy link
Member Author

yes.... I got it on Windows 10: (win32)
capture d ecran 2016-01-14 a 14 05 26

@kerautret
Copy link
Member Author

for the errors on catch, I have the same errors on real device ;(

@kerautret
Copy link
Member Author

@dcoeurjo If you want here is error:
C:\projets\DGtal\examples\doc-examples\exampleCatch.cpp(52): error C2448: 'TEST_CASE' : l'initialiseur de style fonction semble être une définition de fonction [C:\projets\DGtal\build\examples\doc-examples\exampleCatch.vcxproj]
C:\projets\DGtal\examples\doc-examples\exampleCatch.cpp(97): error C2065: 'T' : identificateur non déclaré [C:\projets\DGtal\build\examples\doc-examples\exampleCatch.vcxproj]
C:\projets\DGtal\examples\doc-examples\exampleCatch.cpp(98): error C2275: 'std::list<int,std::allocator<_Ty>>' : utilisation non conforme de ce type comme expression [C:\projets\DGtal\build\examples\doc-examples\exampleCatch.vcxproj]

If you have an idea...

@kerautret
Copy link
Member Author

I fix it, it was simply the symbolic link which was not taken into account from the git of windows...
I replace it by a copy of the source file.

@kerautret
Copy link
Member Author

all done ! thats compile and run on windows...

@dcoeurjo
Copy link
Member

Nice snapshot, congrats !

@kerautret
Copy link
Member Author

thanks,;)
There are some bug on reading some vol/pgm3d I particular by using some tools of DGtalTools or in other example (perhaps due to type when reading input file).

@@ -40,7 +40,11 @@

using namespace DGtal;
using namespace DGtal::functions;
using namespace DGtal::functions::setops;
//using DGtal::functions::setops::operator|;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's wrong with "|" operator ?

@dcoeurjo
Copy link
Member

thanks for the PR.Merging
(but please tell me for "|" operator)

@dcoeurjo
Copy link
Member

Can I reactivate appevayor on DGtal master ?

@dcoeurjo
Copy link
Member

(if the build is too long and timeout, at least it would be great to have the example compiled).

dcoeurjo added a commit that referenced this pull request Jan 15, 2016
DGtal on MS Windows with QGLViewer activated
@dcoeurjo dcoeurjo merged commit be6a7e0 into DGtal-team:master Jan 15, 2016
@kerautret
Copy link
Member Author

For the "|" operator it looks strange, but when using we have:
testSetFunctions.cpp
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qmetatype.h(907): error C2057: expression constante attendue
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qmetatype.h(917): note: voir la référence à l'instanciation de la classe modèle 'QtMetaTypePrivate::CapabilitiesImpl<QList,std::random_access_iterator_tag>' en cours de compilation
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qmetatype.h(988): note: voir la référence à l'instanciation de la classe modèle 'QtMetaTypePrivate::ContainerAPI' en cours de compilation
with
[
T=QVariantList
]
C:\Qt\5.4\msvc2013_opengl\include\QtCore/qvariant.h(714): note: voir la référence à l'instanciation de la fonction modèle 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T *)' en cours de compilation
with
[
T=QVariantList
]

@kerautret
Copy link
Member Author

I add an issue on that.
Yes of course for appveyor, it should work you can just set the example.

@JacquesOlivierLachaud
Copy link
Member

Le 14/01/2016 14:07, Bertrand Kerautret a écrit :

yes.... I got it on Windows 10: (win32)
capture d ecran 2016-01-14 a 14 05 26
https://cloud.githubusercontent.com/assets/772865/12325088/094f2086-bac8-11e5-9905-ebbea7b3079f.png


Reply to this email directly or view it on GitHub
#1106 (comment).

Congrats Bertrand !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants