Compiling with CodeBlocks?, Is it my stupidness or a bug? ;)
Compiling with CodeBlocks?, Is it my stupidness or a bug? ;)
| frozen |
Sep 22 2006, 08:28 AM
Post
#1
|
|
Member ![]() ![]() Group: Members Posts: 11 Joined: 22-September 06 Member No.: 428 |
Hi there!
I want to start programming GUI-programs. After a lot of searching I decided to try VCF although it currently doesn't seem to have a linux version available. I saw that this is being worked on, so it's not a showstopper. I just want something free being able to run on windows, linux and mac systems.. Most other available GUI-Toolkits looked very complicated to me.. Downloading and compiling dozens of different libraries seems a pain to me.. So I found VCF and thought: Wow! This looks great! But why the §$%$%& are no binarys available??? Ok, no problem, I'll compile them myself.. Codeblocks seems to be supported, even easily.. It says: "Open AllProjects Workspace and build the workspace".. Great! Thats easy! Thats what I thought... I downloaded VCFSrcOnlyInstaller-0.9.0.exe, started it, disables everything that looked like VC and after short time it was installed.. Great! Changing to this directory, opening the vcfAllProjects.workspace, clicking "Build workspace" - and dozens of errormessages... All complaining about files not found... ..\..\..\src\vcf\FoundationKit\FoundationKit.h:82: vcf/FoundationKit/VCF.h: No such file or directory 49 others follow.. Ok, path not set? Nope, it was set.. Error in the build options? None obvious for me.. I tried adding the path to the include directory myself in case the environment variable might not be resolved but to no avail.. I tried the following path: J:\Programme\VCF-0.9.0\ edit: J:\Programme\VCF-0.9.0\src\ also didn't work.. That's so frustrating... I hope someone can give me a hint.. I guess it's rather my fault.. Additional information: Code::Blocks version is 1.0 revision 2796 Operating system is w2k frozen |
![]() ![]() ![]() |
| Fraggle |
Sep 22 2006, 05:35 PM
Post
#2
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 518 Joined: 6-December 04 Member No.: 112 |
Yeah, the docs encourage you to use a nightly rather than RC2 because, well, the nightlies are just miles better! They work better too...
Feel free to ask stupid questions (especially if you can't find the answer in the docs or don't understand the docs), so the documentation can be improved so the next noob has an easier time! -------------------- |
| frozen |
Sep 24 2006, 12:47 PM
Post
#3
|
|
Member ![]() ![]() Group: Members Posts: 11 Joined: 22-September 06 Member No.: 428 |
QUOTE(Fraggle @ Sep 22 2006, 07:35 PM) Feel free to ask stupid questions (especially if you can't find the answer in the docs or don't understand the docs), so the documentation can be improved so the next noob has an easier time! My very first (stupid?) question: Please look at this code: CODE Panel* panel = new Panel(); panel->setBounds(&mainWindowBounds); Container* container = panel->getContainer(); if ( NULL != container ) { Label* label = new Label(); label->setCaption("Testtext"); container->add( label ); } mainWindow->add(panel, AlignBottom); I took it from the documentation and changed it a little bit. It's listed in the doc in 3.3.8.1 I inserted the shown code below line 88 of helloworld2.cpp but it doesn't show the labeltext.. panel->setBounds(&mainWindowBounds); was inserted, because without this, it would only show small signs that the panel indeed was inserted, but it was very very small, maybe 1 px or so.. Commenting out the if and replacing the container->add( label ); with mainWindow->add( label ); works though, at least the label is shown.. So I suppose something is wrong with the container? BTW, is VCFBuilder available as binary somewhere? It would even compile it, but it seems, Code::Blocks is not supported.. Dev-cpp isn't too.. And thats all IDEs I can use to compile... Thanks for your help! frozen |
frozen Compiling with CodeBlocks? Sep 22 2006, 08:28 AM
frozen This problem seems to be solved.. It's compili... Sep 22 2006, 10:53 AM
vortic
Code::Blocks version is 1.0 revision 2877 (Aug. ... Sep 22 2006, 11:44 AM
frozen
Thats where I am now.. Since it did work now (wh... Sep 22 2006, 12:42 PM
vortic
Thats where I am now..
[/quote]
Yeah, that is... Sep 22 2006, 01:05 PM
vortic
You have not specified a size for your label, th... Sep 24 2006, 03:51 PM
frozen Thanks, this does the job.. Rather not too intuiti... Sep 24 2006, 05:08 PM
vortic
Yes. You need access to a GraphicsContext, and I... Sep 24 2006, 11:36 PM
vortic
Yes. You need access to a GraphicsContext, and I... Sep 25 2006, 12:04 AM

frozen
Thank you very much! This fits best to my in... Sep 25 2006, 10:35 AM

ddiego
Yeah, that would definitely make it easier to fi... Sep 26 2006, 01:39 PM
ddiego What might make sense is to have some optional con... Sep 26 2006, 01:42 PM
frozen
Sounds great! When will this be ready? ;)
I... Sep 26 2006, 02:14 PM
Fraggle
Could you give an example of where that would be... Sep 24 2006, 09:07 PM
keenblade
Hi,
This is the same for me. I can't build V... Nov 14 2006, 02:57 AM
vortic
Hi,
I feel your pain!
I just tried with ... Nov 15 2006, 04:29 AM
vortic
To quote the title of the thread "Compilin... Nov 15 2006, 11:09 PM
frozen
This was what helped me. Environment variables w... Nov 16 2006, 07:14 AM
keenblade
This was what helped me. Environment variables w... Nov 16 2006, 09:35 PM
keenblade ApplicationKit_mgcc.dll
FoundationKit_mgcc.dll
Gra... Nov 20 2006, 01:16 AM
kdmix
I've just built VCF (r2951) with mingw using ... Nov 20 2006, 08:20 PM
vortic
[snapback]7166
kdmix,
Did you build the Diction... Nov 21 2006, 12:24 AM
vortic
Oops. Sorry Fraggle :)
Is the problem in the ... Nov 21 2006, 12:52 AM
keenblade
Yes, the problem is in the Dictionaries example i... Nov 21 2006, 04:09 AM
vortic
HelloWorld works fine for me. The other 2 are br... Nov 21 2006, 05:48 AM
keenblade
I can't build the libs anymore with the VCF s... Nov 21 2006, 07:09 PM
ddiego
I just glanced at the log and it seemed to indic... Nov 21 2006, 07:14 PM

keenblade
If you look at the previous 3 lines it says proce... Nov 21 2006, 07:25 PM


ddiego
If you look at the previous 3 lines it says proce... Nov 21 2006, 07:35 PM


keenblade
Is it possible that I have the most recent sdk an... Nov 21 2006, 07:48 PM


ddiego
Is it possible that I have the most recent sdk an... Nov 21 2006, 07:54 PM


keenblade
Thanks for the suggestion. I am a little bit Gnu ... Nov 21 2006, 08:12 PM

kdmix
As I can see the problem looks like this
mgcc... Nov 21 2006, 07:45 PM

vortic
Well crud. I updated to the new api and runtime ... Nov 21 2006, 11:24 PM

keenblade
Since api ver:3.7 works fine and the richole.h i... Nov 24 2006, 02:54 AM
vortic
Well, I don't know what causes the linker er... Dec 19 2006, 02:22 AM
ddiego
Wow! :blink: That's bizzarre - I would ... Dec 19 2006, 01:40 PM

vortic Well, of course, that is the first thing one think... Dec 20 2006, 12:08 AM
vortic
Well, I don't know what causes the linker er... Jan 3 2007, 06:30 AM
the-golem
I encountered this error also. I simply downloade... Feb 26 2007, 04:01 AM
vortic
That is not exactly what the code is in svn. You... Feb 26 2007, 07:29 PM
the-golem
That is not exactly what the code is in svn. You... Feb 26 2007, 09:36 PM
Fraggle Are you using the installer? If not, you will need... Nov 14 2006, 08:02 PM![]() ![]() ![]() |
| Lo-fi Version | : 18th May 2013 - 10:42 PM |