Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
gtkmm
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gtkmm
  • Issues
  • #85

Closed
Open
Opened Jan 19, 2021 by Alexander Neumann@Neumann-A

[gtkmm-4.0.0/windows] Build failure due to definition of dllimport function not allowed

After locally fixing #84 (closed) I ran into:

[315/323] "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe" "-Itests\bitset_iterator_test.exe.p" "-Itests" "-I..\src\gtkmm-4-b1a8913bb2\tests" "-Igtk" "-I..\src\gtkmm-4-b1a8913bb2\gtk" "-I..\src\gtkmm-4-b1a8913bb2\untracked\gtk" "-Igdk" "-I..\src\gtkmm-4-b1a8913bb2\gdk" "-I..\src\gtkmm-4-b1a8913bb2\untracked\gdk" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/giomm-2.68" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/giomm-2.68/include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/glibmm-2.68" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/glibmm-2.68/include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/glib-2.0" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/glib-2.0/include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/sigc++-3.0" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/sigc++-3.0/include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/gtk-4.0" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/cairo" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/pango-1.0" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/harfbuzz" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/fribidi" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/gdk-pixbuf-2.0" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/libpng16" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/pixman-1" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/graphene-1.0" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/graphene-1.0/include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/cairomm-1.16" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/cairomm-1.16/include" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/../include/pangomm-2.48" "-IE:/vcpkg_folders/master/installed/x64-windows/debug/lib/pangomm-2.48/include" "-IE:/vcpkg_folders/master/installed/x64-windows/include" "/MDd" "/nologo" "/showIncludes" "/W2" "/EHs-c-" "/std:c++17" "/permissive-" "/Od" "/Ob0" "/utf-8" "/wd4828" "/W3" "/wd4267" "/wd4530" "/wd4250" "/wd4251" "/wd4273" "/wd4275" "/wd4805" "-nologo" "-DWIN32" "-D_WINDOWS" "-W3" "-utf-8" "-GR" "-EHsc" "-MP" "-D_DEBUG" "-MDd" "-Z7" "-Ob0" "-Od" "-RTC1" "/Fdtests\bitset_iterator_test.exe.p\bitset_iterator_main.cc.pdb" /Fotests/bitset_iterator_test.exe.p/bitset_iterator_main.cc.obj "/c" ../src/gtkmm-4-b1a8913bb2/tests/bitset_iterator/main.cc
FAILED: tests/bitset_iterator_test.exe.p/bitset_iterator_main.cc.obj 
E:\vcpkg_folders\glib_update\buildtrees\gtkmm\src\gtkmm-4-b1a8913bb2\untracked\gtk\gtkmm/expressionwatch.h(100): error C2491: 'Gtk::ExpressionWatch<T>::evaluate': definition of dllimport function not allowed

I assume a macro definition is missing.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gtkmm#85