User forums > Using Code::Blocks
DLL compile error: no resources
tiwag:
--- Quote from: Sebastian Roll on January 31, 2006, 02:24:08 pm ---I have added the directory to Project->Build options->Directories->Resource compiler
--- End quote ---
you may need to edit your resource file in order to get out all the VS crap
post your project (only sorce code and project files) as zip-file here
Sebastian Roll:
You are very kind, tiwag. I will do that in aprox. 5 hours (my boss gets around).
Michael:
--- Quote from: Sebastian Roll on January 31, 2006, 02:06:38 pm ---I get same error on compiling after using the Import-Wizard for Visula Studio 6.0 and .Net projects, which are provided by raknet.
--- End quote ---
I have imported in C::B the .NET solution and with some small modifications of some projects got it to work. You can search for my posts (two I think), by using advanced search with "Import solution" and my name "Michael".
Best wishes,
Michael
Sebastian Roll:
Ok, I managed to compile the raknet DLL.
Like tiwag said, You have to throw some Visual Studio generated crap in file "resource.rc" away.
Here is the new file content:
--- Code: ---
#include "resource.h"
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
--- End code ---
Problem is solved.
Error message "Windres.exe: no resources" no longer exists.
Thank You all.
Navigation
[0] Message Index
[*] Previous page
Go to full version