THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/09/2011 at 13:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :
---------
Hello Guys,
I've started C++ some weeks ago and I really like it. I can now successfully complile C++ Plugins.
But I would like to work in Code::Blocks rather than in Visual Studio. I'm having problems with the include directories and lib-linking for the c4d headerfiles.
1. Can you please give me a list of directories I have to include ?
2. Do I have to link a library (.lib) ?
3. Can I compile with GCC or do I have to use the MSVC ?
4. As I'm very new to C++, I would like to know how I compile the Dynamic Library. I mean, I saw that in VC there is the Main.cpp, but I don't understand how VC knows that the Main.cpp should be compiled to a library . Also, the Main.cpp doesn't include the 'AsyncDialog.cpp' for instance, but it can call RegisterAsyncDialog(). Why ?
I'd very appreciate a good explanation or a couple of links if their content is well explained.
Thanks you.
Greetins, Niklas