I'm trying to compile SimulIDE under Windows using QT-Creator with gcc.
I always run into one Error:
"g++: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated."
You can try to replace SOURCES and HEADERS in simulide.pro with this:
- Code:
SOURCES += $$files( $$PWD/src/*.cpp, true ) \
$$files( $$PWD/src/gpsim/*.cc, true )
HEADERS = $$files( $$PWD/src/*.h, true )
If you are compiling any version prior to 0.5.16, then use:
- Code:
SOURCES += $$files( $$PWD/src/*.cpp, true ) \
$$files( $$PWD/src/gpsim/*.cc, true ) \
$$files( $$PWD/src/simavr/*.c, true )
HEADERS = $$files( $$PWD/src/*.h, true )