User forums > General (but related to Code::Blocks)
Converting Visual C++ project to CB/MinGW (NEED HELP)
stahta01:
`DrawArc' is part of the Library you are compiling; you have something wrong.
See file drawing-wand.c did you compile it? If so, did you put it in a library? If so, what is the library name? Link to it.
Info based on ImageMagick-6.3.6 files; don't have Code::Blocks at school so can not help you compile it.
I just looked at the workspace file; it has 124 project files, this is more complex than I have time for.
CORE_wand_mt_dll.cbp contains drawing-wand.c and looks like it should produce an Static Library called CORE_wand
I don't see any mention of it in CORE_Magick++_mt_dll.cbp make sure that project depends on CORE_wand_mt_dll.cbp and add the library created by CORE_wand_mt_dll.cbp to it.
Back to school work, bye.
Tim S
dannyyy:
Hi, Tim S !
In my workspace file, CORE_Magick++ comes after CORE_wand, so the library containing the file drawing-wand.c was not compiled yet.
How can I change the order the projects are compiled in a workspace ?
EDIT: Found it: Ctrl-Shift-UP :)
Oh, and thanks for helping me to investigate this !
MortenMacFly:
--- Quote from: dannyyy on October 29, 2007, 07:51:13 pm ---How can I change the order the projects are compiled in a workspace ?
EDIT: Found it: Ctrl-Shift-UP :)
--- End quote ---
Another possibility: Project dependencies (within a workspace). This is much better and safer. ;-)
dannyyy:
My library compiled successfully, thanks for the help !
But I have a new problem. I updated all dependencies, and now it stops compiling when it reaches the Freetype library. Some files have code like this:
--- Code: ---#include <ft2build.h>
#include FT_INTERNAL_CALC_H
#include FT_INTERNAL_DEBUG_H
#include FT_INTERNAL_OBJECTS_H
--- End code ---
The compiler doesn't recognize this, and returns the following message:
--- Code: ---Compiling: ..\..\ttf\src\base\ftbase.c
In file included from E:\ImageMagick\ttf\src\base\ftbase.c:23:
E:\ImageMagick\ttf\src\base\ftcalc.c:36:10: #include expects "FILENAME" or <FILENAME>
E:\ImageMagick\ttf\src\base\ftcalc.c:37:10: #include expects "FILENAME" or <FILENAME>
E:\ImageMagick\ttf\src\base\ftcalc.c:38:10: #include expects "FILENAME" or <FILENAME>
--- End code ---
Is there some way to make it work, without changing this code to .h files ?
stahta01:
What is the name of the files?
How and where is FT_INTERNAL_CALC_H defined?
Tim S
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version