Hello Ultimaker team
Great job on the new CuraEngine, it works great on Ubuntu. I am having issues with the build on windows with either the make or the g++ main.cpp modelFile/modelFile.cpp clipper/clipper.cpp -o CuraEngine
The error is:
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe: C:UsersDAppDataLocalTempccmRqjeG.o: bad reloc address 0x0 in section `.pdata$_ZnwyPv'
I have the mingw32-gcc-g++ 4.8.1-4 installed and the MinGW Installation Manager. Am I missing a library or package?
Thanks,
Dave
Full error:
g++ main.cpp modelFile/modelFile.cpp clipper/clipper.cpp -o CuraEngine
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x61d): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x63b): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x686): undefined reference to `ConfigSettings::ConfigSettings()'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x6ac): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x6b8): undefined reference to `ConfigSettings::readSettings()'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x6d2): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x70a): undefined reference to `_log(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x7c1): undefined reference to `increaseVerboseLevel()'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x7cb): undefined reference to `enableProgressLogging()'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x8b7): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x8f6): undefined reference to `ConfigSettings::readSettings(char const*)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x929): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x9bc): undefined reference to `ConfigSettings::setSetting(char const*, char const*)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0x9f9): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0xada): undefined reference to `logError(char const*, ...)'
C:UsersDAppDataLocalTempccmRqjeG.o:main.cpp:(.text+0xb8b): undefined reference to `logError(char const*, ...)'
c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe: C:UsersDAppDataLocalTempccmRqjeG.o: bad reloc address 0x0 in section `.pdata$_ZnwyPv'
collect2.exe: error: ld returned 1 exit status