Re: Cmake path too long

Posted 25 September 2012 - 06:30 PM

Right I have been watching this one for a while,

and really things have gone really badly here...,

all your path variables should have been updated automatically if you had installed the programs correctly sometimes its dangerous to change things like enviroments variables if you dont know what you are doing..

Re: Cmake path too long

Oh sorry I feel pretty stupid for not noticing that. I truly appreciate all your help. Things seems to be right now and I think im on the final roadblock.

I have placed allegro5 into C:\CodeBlocks\MinGW and copied alpatf to C:\Allegro\include\allegro5\platform

So I open up a new source file in codeblocks just to test it out, I add 2 lines, which are

#include <stdio.h>
#include <allegro5/allegro.h>

and two things happen. One I get a huge list of errors

Spoiler

c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\internal\alconfig.h|28|error: allegro5/platform/alplatf.h: No such file or directory|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\internal\alconfig.h|59|error: #error platform not supported|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\platform\astdint.h|70|error: #error I dunno how to get the definitions of fixed-width integer types on your platform. Please report this to your friendly Allegro developer.|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\internal\alconfig.h|320|error: #error endianess not defined|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\base.h|77|error: 'uint32_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|57|error: 'int32_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|58|error: 'int32_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|59|error: 'int32_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|66|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|71|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|93|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|98|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|100|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|134|error: 'int32_t' was not declared in this scope|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|135|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|138|error: 'uint16_t' was not declared in this scope|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|140|error: 'uint16_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|142|error: 'uint16_t' was not declared in this scope|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|142|error: 'int32_t' was not declared in this scope|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\utf8.h|142|error: initializer expression list treated as compound expression|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|27|error: expected identifier before '*' token|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|27|error: 'int64_t' declared as function returning a function|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|28|error: 'int64_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|55|error: 'int64_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|56|error: 'int64_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|61|error: 'int64_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|66|error: 'int16_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|67|error: 'int16_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|68|error: 'int16_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|69|error: 'int16_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|70|error: 'int32_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|71|error: 'int32_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|72|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\file.h|73|error: 'int32_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\altime.h|14|error: 'uint64_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\altime.h|15|error: 'uint64_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|161|error: 'int64_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|194|error: 'intptr_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|195|error: 'intptr_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|196|error: 'intptr_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|197|error: 'intptr_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|236|error: 'intptr_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\events.h|237|error: 'intptr_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\timer.h|55|error: 'int64_t' does not name a type|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\timer.h|56|error: 'int64_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\timer.h|57|error: 'int64_t' has not been declared|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\fshook.h|26|error: conflicting declaration 'typedef unsigned int off_t'|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\sys\types.h|41|error: 'off_t' has a previous declaration as 'typedef _off_t off_t'|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\fshook.h|70|error: expected identifier before '*' token|
c:\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\allegro5\fshook.h|70|error: 'uint32_t' declared as function returning a function|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|

Re: Cmake path too long

Once again nevermind. I got it running. Tomorrow when I'm not tired im going to write you a speech about how much I appreciate you.

Thanks I will look out for it I take it you have the bouncing pink girlie box now, goodnight I am going to get an hours sleep b4 I have to go to work its 6am here, things are tough when you are just learning don't worry it gets easier.