FreeCAD-LibPack icon indicating copy to clipboard operation
FreeCAD-LibPack copied to clipboard

two problems:fmt and .pdb

Open zhouji963 opened this issue 2 years ago • 3 comments

1.When debugging, fmt has an error. After checking, it is found that the debug configuration file is missing under the folder “LibPack-0.21-V2.10\lib\cmake\fmt” 2.Unable to perform Python/Native Debugging in VS,because .pdb files are missing in the following location,: LibPack-0.21-V2.10\bin
LibPack-0.21-V2.10\DLLs
LibPack-0.21-V2.10\bin\Lib\vebv\scripts\nt

Could you improve these two problems ? Thank you!

My English is not good, please forgive me!

zhouji963 avatar Sep 11 '23 12:09 zhouji963

I also observed an issue with libfmt in debug mode. In Visual Studio for debug configuration I got following error:

fmt.lib(format.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in cxx_extensions.obj
fmt.lib(format.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in cxx_extensions.obj

However release build works as expected.

tmksw avatar Nov 05 '23 20:11 tmksw

same for me! miss fmtd.lib which is fmt's debug library. compile fmt by myself and replace the fmt.lib in debug mode , this will fix the problem

DamonsJ avatar Dec 03 '23 06:12 DamonsJ

is this still a problem in the latest libpack? @zhouji963

adrianinsaval avatar May 09 '24 22:05 adrianinsaval

At present LibPack 3 only supports compiling in Release and RelWithDebInfo modes. We plan to add debug support in the future, pending getting a working debug build of numpy. I'm going to close this ticket since it related to LibPack 2, which is no longer supported.

chennes avatar Sep 04 '24 13:09 chennes