23.04.2015, 03:19
Oh crap, I didn't post the damn errors.. stupid me!!!
The main.cpp is fine, but the .def file is .. idk..
Using what Pottus said..
using
I can't believe I forgot this.. lol
The main.cpp is fine, but the .def file is .. idk..
Using what Pottus said..
Код:
1>------ Build started: Project: projectname, Configuration: Release Win32 ------ 1> main.cpp 1>src/main.cpp(1): fatal error C1083: Cannot open include file: '../sdk/amx/amx.h': No such file or directory 1> testproject.def 1>testproject.def(1): error C2143: syntax error : missing ';' before 'string' 1>testproject.def(1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Код:
#include "sdk\amx\amx.h" #include "sdk\plugincommon.h"
Код:
------ Build started: Project: projectname, Configuration: Release Win32 ------ 1> main.cpp 1> testproject.def 1>testproject.def(1): error C2143: syntax error : missing ';' before 'string' 1>testproject.def(1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========