SOLVED, RE INTALLED LIBRARIES CAREFULLY AND NOW WORK PROPERLY, sorry u.u
Hello, as the title says im having problems compiling on Windows, everything goes great till i need to compile the project whit CodeBlocks, i followed the compiling instruccions step by step and still get this error does anyone have an idea of what might i be doing wrong? help is apreciated and ty for eading.
Hello, as the title says im having problems compiling on Windows, everything goes great till i need to compile the project whit CodeBlocks, i followed the compiling instruccions step by step and still get this error does anyone have an idea of what might i be doing wrong? help is apreciated and ty for eading.
Code:
-------------- Build: all in otclient (compiler: GNU GCC Compiler)---------------
Running command: C:/MinGW/bin/mingw32-make.exe -f "C:/otclient-master/dev-cdb/Makefile" VERBOSE=1 all
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -HC:\otclient-master -BC:\otclient-master\dev-cdb --check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_start C:\otclient-master\dev-cdb\CMakeFiles C:\otclient-master\dev-cdb\CMakeFiles\progress.marks
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\Makefile2 all
mingw32-make.exe[1]: Entering directory 'C:/otclient-master/dev-cdb'
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\otclient.dir\build.make CMakeFiles/otclient.dir/depend
mingw32-make.exe[2]: Entering directory 'C:/otclient-master/dev-cdb'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\otclient-master\dev-cdb\CMakeFiles
[ 0%]
Generating otcicon.o
C:\strawberry\c\bin\windres.exe -IC:/otclient-master/src -iC:/otclient-master/src/otcicon.rc -o C:/otclient-master/dev-cdb/otcicon.o
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_depends "MinGW Makefiles" C:\otclient-master C:\otclient-master C:\otclient-master\dev-cdb C:\otclient-master\dev-cdb C:\otclient-master\dev-cdb\CMakeFiles\otclient.dir\DependInfo.cmake --color=
Dependee "C:\otclient-master\dev-cdb\CMakeFiles\otclient.dir\DependInfo.cmake" is newer than depender "C:/otclient-master/dev-cdb/CMakeFiles/otclient.dir/depend.internal".
Dependee "C:/otclient-master/dev-cdb/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "C:/otclient-master/dev-cdb/CMakeFiles/otclient.dir/depend.internal".
Scanning dependencies of target otclient
mingw32-make.exe[2]: Leaving directory 'C:/otclient-master/dev-cdb'
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\otclient.dir\build.make CMakeFiles/otclient.dir/build
mingw32-make.exe[2]: Entering directory 'C:/otclient-master/dev-cdb'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\otclient-master\dev-cdb\CMakeFiles 1
[ 1%]
Building CXX object CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.obj
C:\strawberry\c\bin\g++.exe -DBOOST_THREAD_USE_LIB -DBOT_PROTECTION -DCLIENT -DCRASH_HANDLER -DFW_GRAPHICS -DFW_NET -DFW_SOUND -DFW_XML -D_WIN32_WINNT=0x0501 -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-unused-result -std=gnu++0x -pipe -mthreads -O1 -g -fno-omit-frame-pointer @CMakeFiles/otclient.dir/includes_CXX.rsp -D"BUILD_TYPE=\"RelWithDebInfo\"" -D"BUILD_COMMIT=\"devel\"" -D"BUILD_REVISION=\"0\"" -D"VERSION=\"0.6.2\"" -g0 -Os -o CMakeFiles\otclient.dir\src\framework\luafunctions.cpp.obj -c C:\otclient-master\src\framework\luafunctions.cpp
In file included from C:/MinGW/include/windef.h:253:0,
from C:/MinGW/include/windows.h:48,
from C:/MinGW/include/winsock2.h:22,
from C:/MinGW/include/boost/asio/detail/socket_types.hpp:31,
from C:/MinGW/include/boost/asio/detail/impl/winsock_init.ipp:22,
from C:/MinGW/include/boost/asio/detail/winsock_init.hpp:87,
from C:/MinGW/include/boost/asio/io_service.hpp:34,
from C:/MinGW/include/boost/asio/basic_io_object.hpp:19,
from C:/MinGW/include/boost/asio/basic_socket.hpp:19,
from C:/MinGW/include/boost/asio/basic_datagram_socket.hpp:20,
from C:/MinGW/include/boost/asio.hpp:20,
from C:/otclient-master/src/framework/../framework/net/declarations.h:27,
from C:/otclient-master/src/framework/../framework/net/server.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:54:
C:/MinGW/include/winnt.h:2399:2: error: #error "undefined processor type"
In file included from c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/stddef.h:1:0,
from C:/MinGW/include/stdio.h:26,
from c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdio:44,
from C:/otclient-master/src/framework/../framework/pch.h:27,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stddef.h:20:3: error: 'errno_t' does not name a type
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stddef.h:21:3: error: 'errno_t' does not name a type
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stddef.h:26:18: error: 'uintptr_t' does not name a type
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/include/stddef.h:218:1: error: '__MINGW_EXTENSION' does not name a type
In file included from c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdio:44:0,
from C:/otclient-master/src/framework/../framework/pch.h:27,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
C:/MinGW/include/stdio.h:191:65: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:207:54: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:211:55: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:319:55: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:320:56: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:331:47: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:332:48: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:412:9: error: 'size_t' does not name a type
C:/MinGW/include/stdio.h:413:9: error: 'size_t' does not name a type
In file included from c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdio:44:0,
from C:/otclient-master/src/framework/../framework/pch.h:27,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
C:/MinGW/include/stdio.h:565:59: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:568:60: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:605:52: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:606:53: error: 'size_t' has not been declared
C:/MinGW/include/stdio.h:609:25: error: 'size_t' has not been declared
In file included from C:/otclient-master/src/framework/../framework/pch.h:27:0,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdio:109:11: error: '::fread' has not been declared
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdio:115:11: error: '::fwrite' has not been declared
In file included from c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdlib:66:0,
from C:/otclient-master/src/framework/../framework/pch.h:28,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
C:/MinGW/include/stdlib.h:340:82: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:345:9: error: 'size_t' does not name a type
C:/MinGW/include/stdlib.h:348:58: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:349:9: error: 'size_t' does not name a type
C:/MinGW/include/stdlib.h:350:69: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:355:47: error: 'size_t' was not declared in this scope
C:/MinGW/include/stdlib.h:355:47: note: suggested alternative:
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/x86_64-w64-mingw32/bits/c++config.h:155:26: note: 'std::size_t'
C:/MinGW/include/stdlib.h:355:55: error: 'size_t' was not declared in this scope
C:/MinGW/include/stdlib.h:355:55: note: suggested alternative:
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/x86_64-w64-mingw32/bits/c++config.h:155:26: note: 'std::size_t'
C:/MinGW/include/stdlib.h:355:63: error: expression list treated as compound expression in initializer [-fpermissive]
C:/MinGW/include/stdlib.h:356:47: error: 'size_t' was not declared in this scope
C:/MinGW/include/stdlib.h:356:47: note: suggested alternative:
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/x86_64-w64-mingw32/bits/c++config.h:155:26: note: 'std::size_t'
C:/MinGW/include/stdlib.h:357:55: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:369:58: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:369:66: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:371:35: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:371:43: error: 'size_t' has not been declared
C:/MinGW/include/stdlib.h:418:70: error: 'size_t' has not been declared
In file included from C:/otclient-master/src/framework/../framework/pch.h:28:0,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdlib:122:11: error: '::mbstowcs' has not been declared
c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstdlib:134:11: error: '::wcstombs' has not been declared
In file included from c:\strawberry\c\bin\../lib/gcc/x86_64-w64-mingw32/4.6.3/include/c++/cstring:44:0,
from C:/otclient-master/src/framework/../framework/pch.h:30,
from C:/otclient-master/src/framework/../framework/global.h:29,
from C:/otclient-master/src/framework/../framework/core/application.h:26,
from C:\otclient-master\src\framework\luafunctions.cpp:23:
C:/MinGW/include/string.h:36:65: error: 'size_t' has not been declared
C:/MinGW/include/string.h:37:72: error: 'size_t' has not been declared
C:/MinGW/include/string.h:38:68: error: 'size_t' has not been declared
C:/MinGW/include/string.h:39:68: error: 'size_t' has not been declared
C:/MinGW/include/string.h:40:59: error: 'size_t' has not been declared
C:/MinGW/include/string.h:46:9: error: 'size_t' does not name a type
C:/MinGW/include/string.h:49:9: error: 'size_t' does not name a type
C:/MinGW/include/string.h:50:68: error: 'size_t' has not been declared
C:/MinGW/include/string.h:51:72: error: 'size_t' has not been declared
C:/MinGW/include/string.h:52:68: error: 'size_t' has not been declared
C:/MinGW/include/string.h:55:9: error: 'size_t' does not name a type
C:/MinGW/include/string.h:58:9: error: 'size_t' does not name a type
Process terminated with status 2 (0 minutes, 12 seconds)
50 errors, 0 warnings (0 minutes, 12 seconds)
Last edited: