Skip to content
This repository was archived by the owner on Jun 29, 2020. It is now read-only.
This repository was archived by the owner on Jun 29, 2020. It is now read-only.

Build Instructions #14

@epifanio

Description

@epifanio

Hi @juangburgos,
Thank you so much for this project!
I'm an OS X user, I was wondering if you ever built WtDesigner on a mac, I'd love to give it a try. Do you have any advice/documentation on how to build it?

I tryied the following (from a git clone):

Massimos-MacBook-Pro:WtDesigner epi$ ls
COPYING     TODO.txt    deploy      src
README.md   bin     rec
Massimos-MacBook-Pro:WtDesigner epi$ cd src/
Massimos-MacBook-Pro:src epi$ qmake wtconfig.pri 
Massimos-MacBook-Pro:src epi$ make
clang++ -headerpad_max_install_names -stdlib=libc++ -mmacosx-version-min=10.7 -arch x86_64 -o wtconfig.app/Contents/MacOS/wtconfig    -F/usr/local/Cellar/qt/4.8.7_2/lib -L/usr/local/Cellar/qt/4.8.7_2/lib -LC:/Wt-3.3.5-msvs2013-Windows-x86-SDK/lib -LC:/Wt-3.3.5-msvs2013-Windows-x64-SDK/lib -llibboost_chrono-vc120-mt-1_59 -llibboost_container-vc120-mt-1_59 -llibboost_context-vc120-mt-1_59 -llibboost_coroutine-vc120-mt-1_59 -llibboost_date_time-vc120-mt-1_59 -llibboost_exception-vc120-mt-1_59 -llibboost_filesystem-vc120-mt-1_59 -llibboost_graph-vc120-mt-1_59 -llibboost_iostreams-vc120-mt-1_59 -llibboost_locale-vc120-mt-1_59 -llibboost_log-vc120-mt-1_59 -llibboost_log_setup-vc120-mt-1_59 -llibboost_math_c99-vc120-mt-1_59 -llibboost_math_c99f-vc120-mt-1_59 -llibboost_math_c99l-vc120-mt-1_59 -llibboost_atomic-vc120-mt-1_59 -llibboost_math_tr1f-vc120-mt-1_59 -llibboost_math_tr1l-vc120-mt-1_59 -llibboost_prg_exec_monitor-vc120-mt-1_59 -llibboost_program_options-vc120-mt-1_59 -llibboost_random-vc120-mt-1_59 -llibboost_regex-vc120-mt-1_59 -llibboost_serialization-vc120-mt-1_59 -llibboost_signals-vc120-mt-1_59 -llibboost_system-vc120-mt-1_59 -llibboost_test_exec_monitor-vc120-mt-1_59 -llibboost_thread-vc120-mt-1_59 -llibboost_timer-vc120-mt-1_59 -llibboost_unit_test_framework-vc120-mt-1_59 -llibboost_wave-vc120-mt-1_59 -llibboost_wserialization-vc120-mt-1_59 -llibboost_math_tr1-vc120-mt-1_59 -llibhpdf -lwttest -lwt -lwtdbo -lwtdbofirebird -lwtdbomysql -lwtdbopostgres -lwtdbosqlite3 -lwthttp -lwtisapi -framework QtGui -L/usr/local/opt/openssl/lib -L/usr/local/Cellar/qt/4.8.7_2/lib -F/usr/local/Cellar/qt/4.8.7_2/lib -framework QtCore 
ld: warning: directory not found for option '-LC:/Wt-3.3.5-msvs2013-Windows-x86-SDK/lib'
ld: warning: directory not found for option '-LC:/Wt-3.3.5-msvs2013-Windows-x64-SDK/lib'
ld: library not found for -llibboost_chrono-vc120-mt-1_59
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [wtconfig.app/Contents/MacOS/wtconfig] Error 1

I have boost installed via homebrew:

Massimos-MacBook-Pro:src epi$ brew info boost
boost: stable 1.60.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
/usr/local/Cellar/boost/1.60.0_2 (11,059 files, 123.6M) *
  Built from source on 2016-07-22 at 10:09:58 with: --c++11 --with-icu4c --with-mpi --without-single --without-static
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Optional: icu4c ✔
==> Options
--c++11
    Build using C++11 mode
--universal
    Build a universal binary
--with-icu4c
    Build regexp engine with icu support
--with-mpi
    Build with MPI support
--without-single
    Disable building single-threading variant
--without-static
    Disable building static library variant
--HEAD
    Install HEAD version

It seems to look for windows specific files.

thank a lot for any advice!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions