Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling linc_sdl on latest Haxe+HXCpp #8

Open
PDeveloper opened this issue Apr 25, 2016 · 1 comment
Open

Compiling linc_sdl on latest Haxe+HXCpp #8

PDeveloper opened this issue Apr 25, 2016 · 1 comment

Comments

@PDeveloper
Copy link

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.

@PDeveloper
Copy link
Author

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 C:/HaxeToolkit/haxe/lib/linc_sdl/git//linc/linc_sdl.cpp -FoC:/Projects/Flow-Basic-Test-01/bin/windows.build/cpp/obj/msvc18-ncxp/c385f33e_linc_sdl.obj
linc_sdl.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'
        C:/HaxeToolkit/haxe/lib/linc_sdl/git//linc/linc_sdl.cpp(45) : see reference to class template instantiation 'cpp::Pointer<SDL_Window>' being compiled
C:/Projects/hxcpp/include\cpp/Pointer.h(150) : error C2027: use of undefined type 'SDL_Renderer'
        c:\haxetoolkit\haxe\lib\linc_sdl\git\lib\sdl\include\SDL_render.h(121) : see declaration of 'SDL_Renderer'
        C:/HaxeToolkit/haxe/lib/linc_sdl/git//linc/linc_sdl.cpp(46) : see reference to class template instantiation 'cpp::Pointer<SDL_Renderer>' being compiled

haxe version: commit #e340bb7
hxcpp version: commit #a06286b

jeremyfa pushed a commit to ceramic-engine/linc_sdl that referenced this issue Sep 15, 2019
CHANGES: enables libudev and changes X11 to RPI video driver for Rasp…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant