[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Clanlib-devel] Error when compiling ClanLib



Hello list,

Today I decided to try out ClanLib 0.7.3, and downloaded ClanLib-0.7.3-1.zip. After installing all necessary libraries using MingW/MSYS (zlib, libpng, libjpeg and Hermes) I tried compiling ClanLib itself, after building configure.exe (having fixed eol chars in configure.mingw) and creating the other makefiles with it.

I issued make and things went on normally (except for -fvtable-thunks warnings, but I read you already know about that), until the following error occured:

..
Sources/Core/System/Win32/cl_library.cpp: In member function `void*
CL_LibraryLoader::resolve(const std::string&)':
Sources/Core/System/Win32/cl_library.cpp:60: invalid conversion from `int (*)()
' to `void*'
make[1]: *** [Sources/Core/System/Win32/cl_library.o] Error 1
make[1]: Leaving directory `/d/libs/ClanLib-0.7.3'
make: *** [all] Error 2




For some more information, here are my gcc specs:


$ gcc -v
Reading specs from c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c++,f77,objc --disable-win32-registry --disable-shared --enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)



I hope somebody can help me get ClanLib compiled.

Thanks,
Bjørn


_______________________________________________ Clanlib-devel mailing list Clanlib-devel@clanlib.org http://clanlib.org/mailman/listinfo/clanlib-devel