Skip to content

Compiling linc_sdl on latest Haxe+HXCpp #8

@PDeveloper

Description

@PDeveloper
Error: While running :cl.exe -Iinclude -DLINC_SDL -IC:/HaxeToolkit/haxe/lib/linc_sdl/git//linc/ -IC:/HaxeToolkit/haxe/lib/linc_sdl/git//lib/sdl/include/ -IC:/HaxeToolkit/haxe/lib/linc_sdl/git//lib/sdl/include/configs/windows/ -DHAVE_LIBC -DNATIVE_TOOLKIT_SDL -nologo -O2 /WX- /fp:precise -DHX_WINDOWS -D_USING_V120_SDK71_ -GR -FS -Oy- -c -EHs -GS- -arch:SSE -IC:/Projects/hxcpp/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=330 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT ./src/Main.cpp -FoC:/Projects/Flow-Basic-Test-01/bin/windows.build/cpp/obj/msvc18-ncxp/2159692e_Main.obj
Main.cpp
C:/Projects/hxcpp/include\cpp/Pointer.h(150) : error C2027: use of undefined type 'SDL_Window'
        c:\haxetoolkit\haxe\lib\linc_sdl\git\lib\sdl\include\SDL_video.h(89) : see declaration of 'SDL_Window'
        ./src/Main.cpp(39) : see reference to class template instantiation 'cpp::Pointer<SDL_Window>' being compiled

Getting this error with the latest Haxe and HXCpp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions