• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling error

Eventide

Member
Joined
Sep 16, 2008
Messages
79
Reaction score
6
Location
Brasil
I followed the compiling tutorial and got that error:
Generating otcicon.o
D:\CodeBlocks\MinGW\bin\windres.exe "-IK:/code/OtClient 6.2.1/luna/src" "-iK:/code/OtClient 6.2.1/luna/src/otcicon.rc" -o "K:/code/OtClient 6.2.1/otcicon.o"
gcc: error: 6.2.1/luna/src: No such file or directory
D:\CodeBlocks\MinGW\bin\windres.exe: preprocessing failed.
mingw32-make.exe[2]: *** [otcicon.o] Error 1
mingw32-make.exe[1]: *** [CMakeFiles/otclient.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
CMakeFiles\otclient.dir\build.make:55: recipe for target 'otcicon.o' failed
mingw32-make.exe[2]: Leaving directory 'K:/code/OtClient 6.2.1'
CMakeFiles\Makefile2:62: recipe for target 'CMakeFiles/otclient.dir/all' failed
mingw32-make.exe[1]: Leaving directory 'K:/code/OtClient 6.2.1'
K:/code/OtClient 6.2.1/Makefile:115: recipe for target 'all' failed

How can i fix it?
 
D:\CodeBlocks\MinGW\bin\windres.exe "-IK:/code/OtClient 6.2.1/luna/src" "-iK:/code/OtClient 6.2.1/luna/src/otcicon.rc" -o "K:/code/OtClient 6.2.1/otcicon.o"
gcc: error: 6.2.1/luna/src: No such file or directory

Change your carpet name OtClient 6.2.1 to OtClient_6.2.1
 
I changed the folder name but it isn't changed in codeblocks and i can't find where to change it, should i delete the projects files and do the cmake again or there is another way?
 
Here it is:
untitled.jpg


Just another doubt, how can i compile in release version?
 
On CMAKE_BUILD_TYPE option, type Release and press CONFIGURE again before GENERATE.
 
Back
Top