FLTK logo

Re: [fltk.general] MSVC 2019 cmake issue?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: MSVC 2019 cmake issue? Albrecht Schlosser Oct 01, 2022  
 
On 9/30/22 19:09 imm wrote:
On Fri, 30 Sept 2022 at 16:43, Albrecht Schlosser wrote:
I'm always using the default build w/o `-A ...` because I can never remember the allowed attribute values (same as for `-T ...`, BTW). But this has nothing to do with the build failure.

FWIW, in the "standard"development shell, then "-A x64" seems to give
me a 64-bit sln.
In the "x86 Native" shell, then "-A Win32" seems to yield a 32-bit sln.

Yes, something like that, thanks. But I'll forget this again since it's Windows stuff ... ;-)

Maybe the MSYS build finds doxygen?
AFAICT, both shells have DOXYGEN in the path.

OK ...

For a (32-bit) mingw run, I get:

$ grep DOXYGEN CMakeCache.txt
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
DOXYGEN_EXECUTABLE:FILEPATH=D:/Programs/doxygen/bin/doxygen.exe
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1


For a (32-bit) VS2019 run I get:

DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
DOXYGEN_EXECUTABLE:FILEPATH=D:/Programs/doxygen/bin/doxygen.exe
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1

Basically the same for both (equivalent 64-bit runs also match this...)
This result seems about right, since I do not have dot installed, only doxygen.

OK, that looks fine.

HOWEVER:
The MSVC (VS2019) developer shell does not have a valid path that
finds doxygen though, e.g.:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>doxygen
'doxygen' is not recognized as an internal or external command,
operable program or batch file.

Whereas the Msys shell does.

So cmake must be "finding" my doxygen "somehow" in the msvc runs,
using cmake magic (I sometimes wish it would not do that...).

I believe it depends on how you invoke CMake and (maybe) what shell and path are active at that time. Unless CMake uses yet another "magic" somehow. It's also (IMHO, maybe, ?) noteworthy that the CMake generator should use the correct {backward | forward} slash type.

If I invoke doxygen with the path cmake finds, within the msvc dev
shell, it does work (forward slashes notwithstanding):

C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community>D:/Programs/doxygen/bin/doxygen.exe -v
1.9.4 (5d15657a55555e6181a7830a5c723af75e7577e2)

So the build should be able to invoke doxygen OK I think.

Yes, I agree, it should. I'm working on a fix and let you know when it's ready.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c0380ca6-dc57-1884-49ac-239fa0c69ada%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.