Error while make on fltk

More
23 Oct 2013 20:13 #14906 by kreidler
Error while make on fltk was created by kreidler
I tried to get my own environment. Unfortunately I was very long out of the business (Borland C under DOS programming framegrabbers and serial I/O B)) . Now getting problems while using sh to compile fltk (1.3.2 and 1.3.0). Please see the Screenshot.

I only found two matches for _stricmp and tried to remove the match in fl_utf8.h without sucess. Must I set any complier switch or is any dev missing?

Thanks Matthias

P.S. Portaudio was installed without problems.
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Oct 2013 08:21 - 25 Oct 2013 08:22 #14944 by RandMental
Replied by RandMental on topic Error while make on fltk
Which environment are you using, Linux or windows? I only have experience of the Windows/Mingw environment and if you follow the instructions on bitbicket 100% it should work and you will have no errors from flk or the sound sound system modules.

>> bitbucket.org/PhracturedBlue/deviation
Last edit: 25 Oct 2013 08:22 by RandMental.

Please Log in or Create an account to join the conversation.

More
25 Oct 2013 16:40 #14969 by kreidler
Replied by kreidler on topic Error while make on fltk
Windows environment on XP with latest downloads.
It looks that there is something wrong in the config of the latest MinGW. Tried on two different XP installations.

For fault finding I used RugWarriors DeviationTX1.1 from the sticky thread. Works perfectly and I did some Emu files of rbe2012's betas yet.

Findings fo far:
1. After my install (latest versions) I had to modify the path in the profile because no compiler was found.
2. I did two installations with the mingw installation manager on two different days. On one day I had to add gcc by hand on the second day it was included in the package....
3. RW do have Perl and Phyton in his environment. But as far as I understood this is only necessary for ARM builds.

I will try to isolate the issue. Could anybody post a screenshoot of the latest mingw installation manager which option must be hooked.

Please Log in or Create an account to join the conversation.

More
26 Oct 2013 09:56 #14989 by kreidler
Replied by kreidler on topic Error while make on fltk
Meanwhile I did some additional tests with start from scratch on both XP machines with a different outcome :ohmy: .

Machine 1:
New install - mingw-get-setup does run two js files. JS files have not correctly assigned on this machine fixed now and installed as shown.

did the normal mkdir, tar etc. and configure with following result.
PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/WINDOWS/system32
PATH: /c/WINDOWS
PATH: /c/WINDOWS/System32/Wbem
On my first attempts I added "/C/" to mingw/bin which enabled the gcc but RugWarriors environment is running without?!

I think I have to fix this issue first before doing makefiles. Can anybody help?

Machine 2:
Will continue after machine 1 is running as desired.
Attachments:

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
26 Oct 2013 11:05 - 26 Oct 2013 11:06 #14990 by rbe2012
Replied by rbe2012 on topic Error while make on fltk
On my working Win7-64 machine I have much more componentes in the path variable:
/MinGW/stm32/bin:
/MinGW/Python27:
/MinGW/Python27/Scripts:
.:
/usr/local/bin:
/mingw/bin:
/bin:
/c/Perl64/site/bin:
/c/Perl64/bin:
/c/Program Files (x86)/PC Connectivity Solution/:
/c/Programme/WinAVR-20100110/bin:
/c/Programme/WinAVR-20100110/utils/bin:
/c/Windows/system32:
/c/Windows:
/c/Windows/System32/Wbem:
/c/Program Files (x86)/EgisTec/MyWinLocker 3/x86:
/c/Program Files (x86)/EgisTec/MyWinLocker 3/x64:
/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:
/c/Program Files (x86)/Calibre2/:
/c/Program Files/TortoiseGit/bin:
/mingw/stm32/bin:
/c/CooCox/CoIDE/gcc/bin:
/c/Program Files/doxygen/bin:
/c/Program Files (x86)/Java/jre7/bin/:
/c/Windows/System32/WindowsPowerShell/v1.0/:
/c/Windows/System32/WindowsPowerShell/v1.0/:
/c/Program Files/Mercurial/:
/c/Program Files (x86)/SSH Communications Security/SSH Secure Shell:
/c/Program Files (x86)/GNU Tools ARM Embedded/4.6 2012q2/bin
I did never care about reducing the PATH, I am sure it can be optimized (I just saw a doubled line...).
But in my environment I have fltk and portaudio installed and can build dfu files and emulators (and run them).

But most of the mingw path parts don't have a preceeding "/c/".
Last edit: 26 Oct 2013 11:06 by rbe2012.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
26 Oct 2013 11:12 #14991 by rbe2012
Replied by rbe2012 on topic Error while make on fltk
In a MinGW session the "/" is located in "C:\MinGW\msys\1.0".

Maybe I had a similar issue at the beginning (I needed many experiments to get my environment running and it was never so easy as PBs instruction seem to tell me). I have installed the MinGW in "C:\Program Files\MinGW" or similar did not get all working. I needed to reinstall in "C:\MinGW".

Please Log in or Create an account to join the conversation.

More
26 Oct 2013 14:56 - 26 Oct 2013 14:59 #15001 by RandMental
Replied by RandMental on topic Error while make on fltk
You should not (must not) have any spaces in the paths when you work with Mingw or the compilers.

This is my WiN7 64bit path content related to this build environment:

C:\MinGW\bin;
C:\MinGW\msys\1.0\bin;
c:\mingw\stm32\bin;
c:\Python2.7\;
C:\Program Files\TortoiseHg;
Last edit: 26 Oct 2013 14:59 by RandMental.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
26 Oct 2013 16:25 #15010 by rbe2012
Replied by rbe2012 on topic Error while make on fltk

kreidler wrote: 3. RW do have Perl and Phyton in his environment. But as far as I understood this is only necessary for ARM builds.


BTW: STM32 is ARM architecture (ARM®Cortex™-M3 32-bit RISC core).

Please Log in or Create an account to join the conversation.

More
27 Oct 2013 20:14 #15055 by kreidler
Replied by kreidler on topic Error while make on fltk
Just one step further :)

1. After my install (latest versions) I had to modify the path in the profile because no compiler was found.

Solved: difference between RugWarrior and clean install from sourceforge: file C:\MinGW\msys\1.0\etc\fstab needs "C:\MinGW\ /mingw" entry or adjusted if installed somewhere else. Ok, my first version with adding the /c/ to the profile file will also work.

Now getting problems while using sh to compile fltk (1.3.2 and 1.3.0). Please see the Screenshot.

Still same problems while doing make on clean install.
Test 1: Upgrading running RW environment using mingw-get-setup to latest versions. Ending with same failure while doing make!
Test 2: Switched path to TDM package (gcc 4.8.1): works fine. But for building deviation cc is missing :(
So, you do not need to install python or stm32 (arm) for the windows build but some dependencies in the /bin directory seems to be different. Will do further checks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum