About Monkey 2 › Forums › Monkey 2 Programming Help › Error when importing SDL2
This topic contains 3 replies, has 3 voices, and was last updated by 
 Cole Chapman
 2 years, 8 months ago.
		Viewing 4 posts - 1 through 4 (of 4 total)
	
	- 
		AuthorPosts
 - 
		
			
				
August 15, 2016 at 4:58 pm #3017
With the new build (1.0.3) whenever I import SDL2, I get an error.
lnkFiles1:
1"C:/Users/Admin/Desktop/Substruct/Substruct.buildv1.0.3/build_cache/desktop_debug_windows/Substruct_0Substruct.cpp.o" "C:/Workbench/Monkey2/modules/sld2/sld2.buildv1.0.3/desktop_debug_windows/sld2.a" "C:/Workbench/Monkey2/modules/mojo/mojo.buildv1.0.3/desktop_debug_windows/mojo.a" "C:/Workbench/Monkey2/modules/std/std.buildv1.0.3/desktop_debug_windows/std.a" "C:/Workbench/Monkey2/modules/stb-vorbis/stb-vorbis.buildv1.0.3/desktop_debug_windows/stb-vorbis.a" "C:/Workbench/Monkey2/modules/stb-image-write/stb-image-write.buildv1.0.3/desktop_debug_windows/stb-image-write.a" "C:/Workbench/Monkey2/modules/stb-image/stb-image.buildv1.0.3/desktop_debug_windows/stb-image.a" "C:/Workbench/Monkey2/modules/miniz/miniz.buildv1.0.3/desktop_debug_windows/miniz.a" "C:/Workbench/Monkey2/modules/sdl2/sdl2.buildv1.0.3/desktop_debug_windows/sdl2.a" "C:/Workbench/Monkey2/modules/openal/openal.buildv1.0.3/desktop_debug_windows/openal.a" "C:/Workbench/Monkey2/modules/gles20/gles20.buildv1.0.3/desktop_debug_windows/gles20.a" "C:/Workbench/Monkey2/modules/libc/libc.buildv1.0.3/desktop_debug_windows/libc.a" "C:/Workbench/Monkey2/modules/freetype/freetype.buildv1.0.3/desktop_debug_windows/freetype.a" "C:/Workbench/Monkey2/modules/emscripten/emscripten.buildv1.0.3/desktop_debug_windows/emscripten.a" "C:/Workbench/Monkey2/modules/monkey/monkey.buildv1.0.3/desktop_debug_windows/monkey.a" -lcomdlg32 "C:/Workbench/Monkey2/modules/openal/openal-soft/lib/OpenAL32.lib" "C:/Workbench/Monkey2/modules/gles20/angle/lib/libEGL.lib" "C:/Workbench/Monkey2/modules/gles20/angle/lib/libGLESv2.lib" -ldsound -lxinput -ldinput -lole32 -loleaut32 -limm32 -lwinmm -lgdi32 -luser32 -lkernel32 -lversionstderr1:
123C:/Workbench/Monkey2/devtools/i686-5.3.0-posix-dwarf-rt_v4-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find C:/Workbench/Monkey2/modules/sld2/sld2.buildv1.0.3/desktop_debug_windows/sld2.a: No such file or directorycollect2.exe: error: ld returned 1 exit statusAugust 15, 2016 at 5:05 pm #3019Nvm… I typed SLD not SDL for the import :/ I am not sure how to delete threads on the forum either.
August 15, 2016 at 7:51 pm #3031This really is an mx2 bug – the error should be reported by mx2, not c++!
Could you post an issue at github? Just copy and paste the above is fine.
August 16, 2016 at 2:36 pm #3086I made a github account and i’ll start posting issues there. I’m also about to become a patreon supporter. I think you are doing a great job Mark
 - 
		AuthorPosts
 
		Viewing 4 posts - 1 through 4 (of 4 total)
	
	You must be logged in to reply to this topic.