owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.39k stars 667 forks source link

The problems on compiling owncloud client for windows #1152

Closed ScottHCL closed 10 years ago

ScottHCL commented 10 years ago
  Hello,everyone!
  As I am a newer of cross compile, I have spent a few days working on building owncloud client for Windows. Yet I have not run it successfully.
  After I run the command
          mingw32-cmake -DCMAKE_BUILD_TYPE="Debug" ../ocsync

in the folder ocsync-build.Some things are can not found:

-- Found CMocka: /usr/i686-w64-mingw32/sys-root/mingw/bin/libcmocka.dll
-- Looking for argp.h -- Looking for argp.h - not found -- Looking for nanosleep in rt -- Looking for nanosleep in rt - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - not found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for asprintf -- Looking for asprintf - not found -- Looking for fnmatch -- Looking for fnmatch - not found -- Looking for timegm -- Looking for timegm - not found -- Looking for strerror_r -- Looking for strerror_r - not found -- Looking for utimes -- Looking for utimes - not found -- Looking for lstat -- Looking for lstat - not found -- Looking for __mingw_asprintf -- Looking for __mingw_asprintf - found -- Copy file from /home/hadoop/ocsync/CTestCustom.cmake to /home/hadoop/ocsync-build/CTestCustom.cmake

Then I run the mingw32-make and no errors came out.So I go the the folder mirall-build with the command :

cmake -DCMAKE_BUILD_TYPE="Debug" ../mirall\ -DCSYNC_BUILD_PATH=/home/hadoop/ocsync-build\ -DCSYNC_INCLUDE_PATH=/home/hadoop/ocsync/src\ -DCMAKE_TOOLCHAIN_FILE=/home/hadoop/mirall/admin/win/Toolchain-mingw32-openSUSE.cmake

This time it can not find inotify.h . As I know inotify is a tool to watch the linux file system. So I ignore it and run later command. At the last I can get a executable file ownCloud-1.4.80-setup.exe.But it only run the process of install, if I want to setup it always tells miss some xx.dll even I put the xx.dll it needs. Any ideas?Waith for your help.Thank you very much.

danimo commented 10 years ago

Please do not ask questions on the issue tracker. Use the Forum or the mailing list instead.

ScottHCL commented 10 years ago

I asked with the mailing list but there is no reply

cs10283001 commented 10 years ago

I have the same problem too. I get through it with new source:http://owncloud.org/sync-clients/ But I got a error when csync: A plug-in cannot load,Please check out the installation. Anyone can help?