nurupo / ProjectTox-Qt-GUI

A cross-platform front end for ProjectTox Core library, written in C++11 with use of Qt5
GNU General Public License v3.0
342 stars 116 forks source link

Doesn't compile on Windows #21

Closed zovt closed 11 years ago

zovt commented 11 years ago

Error message reads: D:\Github\ProjectTox-Qt-GUI\ProjectTox-Qt-GUI\src\core.cpp:20: error : Messenger.h: No such file or directory

This is due to the unresolved #include in core.cpp

nurupo commented 11 years ago

Does \submodules\ProjectTox-Core\core\Messenger.h file exist?

zovt commented 11 years ago

Nope, doesn't look like it. When I cloned your repository, I don't think it cloned the ProjectTox-Core submodule properly.

nurupo commented 11 years ago

The --recursive part in git clone --recursive git://github.com/nurupo/ProjectTox-Qt-GUI.git should have cloned the submodule properly. May be you cloned it without the --recursive?

zovt commented 11 years ago

could be, let me re-run it when I get back to my desk

zovt commented 11 years ago

Ok, the dependency was resolved, but now I'm getting: \projectfiles\build-TOX-Qt-GUI-Desktop_Qt_5_1_0_MinGW_32bit-Release\release\abstractsettingspage.o:-1: error : file not recognized: File truncated

collect2.exe:-1: error : error: ld returned 1 exit status

nurupo commented 11 years ago

Just clean, rerun qmake and rebuild. It's most likely that the previous build was interrupted and object file was not generated completely.