Compiling Fritzing on 10.7.4

Hi,

I've previously compiled Fritzing on Snow Leopard, which worked well. Unfortunately though, when trying to on Lion, I get an error: llvm-g++-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin11-llvm-g++-4.2': execvp: No such file or directory. 

It's due to Lion no longer including the PPC SDK, but Qt Creator still tries to compile for PPC as well as Intel, causing this error. I'm not sure though how to make Qt Creator compile for Intel only, anyone have any ideas?

 

Thanks!

-Elijah

Posted 11 months ago by Elijahg

Hi Elijah,

Go to whatever folder you've downloaded the Fritzing source into, and open up the file "phoenix.pro" in a text editor or QtCreator. There's a line in there which reads

"CONFIG += x86_64 x86 ppc".  

Take out the the "ppc".  Possibly also remove either the "x86" or "x86_64".

- j

 

Posted 11 months ago by Jonathan Cohen

Ahh that's perfect. I had a look through the makefiles, and tweaked the options there, but they kept getting overwritten. Thanks! 

Posted 11 months ago by Elijahg

hi i got fritzin running nicely on my desktop pc, but trying to get it running on my netbook is a pain in the brain..  i have linux mintlisa 32bit on my netbook an downloading the pre-built binary doesnt execute...  i installed qtcreator via the software manager. an then did an svn checkout of the source.after that i ran qmake and then make an i get this error:

 

 

In file included from src/utils/../lib/quazip/quazip.h:39:0,

                 from src/utils/folderutils.cpp:42:

src/utils/../lib/quazip/zip.h:54:18: fatal error: zlib.h: No such file or directory

 

please assist id like to have fritzing working on my netbook in 2 weeks time when i do a presentation to our local amateur radio club.....

Posted 4 weeks ago by john de villiers

i too at bit of a walk through the source files and zlib.h is does not exist there is actually a zip.h file which includes the line #ifndef _ZLIB_H #include <zlib.h>

which i guess is causing the problem

Posted 4 weeks ago by john de villiers

liikos like this filine is the real culprit in the phoenix.pro file

 

INCLUDEPATH += /usr/include/quazip /usr/include/minizip

Posted 4 weeks ago by john de villiers

Hi John,

If you go into the tools folder in the fritzing source distribution, you will find a file called release.sh.  You might consider using that script to make your build, or having a look at how the script does it.

Cheers,

- j

Posted 4 weeks ago by Jonathan Cohen

damn.... sorry for hijacking this thread.. but so far ive made a copy of quazip into the folder that the project file expects it in and so far the make is running error free.....

.

.

.

.

.time passes

error

.

ile included from src/utils/../lib/quazip/quazip.h:39:0, from src/utils/folderutils.cpp:42: src/utils/../lib/quazip/zip.h:54:18: fatal error: zlib.h: No such file or directory compilation terminated. make[1]: *** [release/folderutils.o] Error 1


 

 

ideas plz

 


Posted 4 weeks ago by john de villiers

thanks johnathan,  the release script pointed out another unmet dependancy libboost-dev . im adding it right now

Posted 4 weeks ago by john de villiers

at the end of the release script i get this

copying libraries

cp: cannot stat `/usr/local/Trolltech/Qt-4.8.3/lib/libQtCore.so.4': No such file or directory


Posted 4 weeks ago by john de villiers

You will have to figure out where your Qt libraries are installed and point to the right place. You may also have an earlier or later version of Qt installed.

- j

Posted 4 weeks ago by Jonathan Cohen

Post a Reply

Please login to post a reply.

  • RSS
  • Atom
  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam