⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

[Solved] Migrating project to Mac OS

  • Hi guys,

    I have a project that is 100% working on Windows 7 - build with qt 5.2 Msvc2012
    I am trying to port this project to MacOS, I have a working Maverick version with Qt5.2 installed and Xcode. So far I changed a bit of code that was not cross-platform and got rid of the compiling error. But now i'm facing a wall with this error : The process "/usr/bin/make" exited with code 2.
    I don't know what to make of this error, it doesn't specify any file in error or missing libraries? what does it mean? Thanks a lot !

    [Edit: nevermind I still had some hard-code library pointing to windows library in one of my .pri file, sorry!]

    Error log :
    /bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -o PowerVelo2.app/Contents/MacOS/PowerVelo2 workoutcombobox.o languagecombobox.o delegaterowhover.o mytableview.o shapefactory.o myinfobox.o powercurvecombobox.o plancombobox.o intervalcombobox.o steptypecombobox.o edittargetpowerwidget.o intervalwidget.o proxystyledrag.o mydialbox.o workoutplot.o myqwtdial.o workoutplotpower.o workoutplotlist.o workoutplotcadence.o markeritem.o iconitem.o zoneitem.o main.o util.o interval.o workout.o sortfilterproxymodel.o workouttablemodel.o sensor.o sensorenum.o intervallistmodel.o user.o mainwindow.o workoutdialog.o main_workoutpage.o main_antgearpage.o main_profilepage.o dialogconfig.o dialoglogin.o z_stylesheet.o xmlutil.o heartrate_controller.o cadence_controller.o speed_controller.o combinedsc_controller.o power_controller.o hub.o utilpowercurve.o playerwidget.o qrc_ResourceVideoPlayer.o qrc_MyResources.o moc_workoutcombobox.o moc_languagecombobox.o moc_delegaterowhover.o moc_mytableview.o moc_myinfobox.o moc_powercurvecombobox.o moc_plancombobox.o moc_intervalcombobox.o moc_steptypecombobox.o moc_edittargetpowerwidget.o moc_intervalwidget.o moc_mydialbox.o moc_workoutplot.o moc_myqwtdial.o moc_workoutplotpower.o moc_workoutplotlist.o moc_workoutplotcadence.o moc_sortfilterproxymodel.o moc_workouttablemodel.o moc_intervallistmodel.o moc_mainwindow.o moc_workoutdialog.o moc_main_workoutpage.o moc_main_antgearpage.o moc_main_profilepage.o moc_dialogconfig.o moc_dialoglogin.o moc_z_stylesheet.o moc_xmlutil.o moc_heartrate_controller.o moc_cadence_controller.o moc_speed_controller.o moc_combinedsc_controller.o moc_power_controller.o moc_hub.o moc_playerwidget.o -F/Users/tourlou2/Qt5.2.1/5.2.1/clang_64/lib -F/usr/local/qwt-6.1.0/lib -framework qwt /Users/tourlou2/Dropbox/libANT.dylib C:\Program\ Files\ (x86)\Windows\ Kits\8.0\Lib\win8\um\x86\User32.lib C:\Program\ Files\ (x86)\Windows\ Kits\8.0\Lib\win8\um\x86\AdvAPI32.lib -lvlc-qt -lvlc-qt-widgets -framework QtMultimediaWidgets -framework QtMultimedia -framework QtGui -framework QtCore -framework QtNetwork -framework QtWidgets -framework QtSvg -framework QtSql -framework OpenGL -framework AGL '
    make: *** [PowerVelo2.app/Contents/MacOS/PowerVelo2] Error 2
    19:57:12: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project PowerVelo2 (kit: Desktop Qt 5.2.1 clang 64bit)
    When executing step 'Make'
    19:57:12: Elapsed time: 01:17.

Log in to reply