BUILD_SHARED_LIBS=OFF
with OCCT plugin on Windows fails to build because of name conflict
#1322
Labels
Milestone
Describe the bug
BUILD_SHARED_LIBS=OFF
with OCCT plugin on Windows fails to build because of name conflictIndeed, with OCCT plugin and static build, there are exported symbols for some reason, which causes MSVC to created a
f3d.lib
file for thef3d.exe
. This is an automatic mechanism that cannot be disabled in MSVC.This file conflicts with the actual
f3d.lib
from the libf3d, causing a build issue.To Reproduce
Steps to reproduce the behavior:
-DBUILD_SHARED_LIBS=OFF -DF3D_PLUGIN_BUILD_OCCT=ON
Expected behavior
Build complete
System Information:
F3D Information
Paste the content of
f3d --version
: masterAdditional context
Please note
ENABLE_EXPORTS
has no effect here, confirmed by Brad KingThe text was updated successfully, but these errors were encountered: