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 |
![]() ![]() ![]() |
| keenblade |
Nov 14 2006, 02:57 AM
Post
#2
|
|
Newbie ![]() Group: Members Posts: 9 Joined: 14-November 06 Member No.: 526 |
QUOTE(frozen @ Sep 22 2006, 10:28 AM) ... 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.. I hope someone can give me a hint.. I guess it's rather my fault.. frozen Hi, This is the same for me. I can't build VCF with the nightly Code:Blocks. Actually, I use svn builds and don't want to revert back to a rc2 build. Could someone tell me how to build VCF with the nightly Code::Blocks? Because they recommends to use the nightly builds instead of old rc2 build at the Code::Blocks home site. I use: VCF: 0.9.0 Code::Blocks : svn build 1.0 revision 3211 Gcc : 3.4.5 & 4.1.1 Operating system : xp |
| vortic |
Nov 15 2006, 04:29 AM
Post
#3
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 1026 Joined: 13-April 04 Member No.: 42 |
QUOTE(keenblade @ Nov 13 2006, 09:57 PM) Hi, I feel your pain! I just tried with the Nov. 9 build of Code::Blocks and am having path problems. Code::Blocks does not appear to be reading the OS environment variables anymore. I have VCF_INCLUDE variable set up correctly. I noticed in the IDE that they have done some work around environment variables, as there is now an environment variable plugin. Perhaps C::B is temporarily broken in this regard, or they have changed the behavior to someting I do not understand right now. For now, try setting the environment variables VCF_INCLUDE, VCF_BIN, and VCF_LIB in the ide environment variable facility: 1. From menu, Plugins->ManagePlugins and make sure environment variables plugin is enabled. 2. Settings->Environment->EnvironmentVariables, and enter the 3 VCF-specific environment variables. Try building. Let us know if this works. It worked for me. If this is the problem, perhaps someone can post to code blocks forum to see what is up with environment variables (it will be a couple of days before I can really get into this stuff). |
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
Fraggle Yeah, the docs encourage you to use a nightly rath... Sep 22 2006, 05:35 PM
frozen
:D That's what I thought...
My very first... Sep 24 2006, 12:47 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
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 | : 19th May 2013 - 11:50 AM |