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
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
Ahh that's perfect. I had a look through the makefiles, and tweaked the options there, but they kept getting overwritten. Thanks!
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
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>
liikos like this filine is the real culprit in the phoenix.pro file
INCLUDEPATH += /usr/include/quazip /usr/include/minizip
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
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
thanks johnathan, the release script pointed out another unmet dependancy libboost-dev . im adding it right now
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
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
Post a Reply
Please login to post a reply.
