GithubHelp home page GithubHelp logo

Comments (8)

pirx08 avatar pirx08 commented on August 26, 2024 1

I've been using WtDesigner on my Ubuntu16.04 for a few months now. Apart from a few hickups it works great for me (thanks Juan).
Here's how I installed it (also guided by Juan's personal installation notes):

  • install required packages:
sudo aptitude install libboost-all-dev postgresql libpq-dev libpango1.0-dev libssl-dev build-essential cmake libqt5webkit5-dev
cd <projects/wt-x.x.x>
mkdir build
cd build
cmake ../
make
sudo make install
sudo ldconfig
  • get ​WtDesigner sources, configure, build & install (on Ubuntu desktop):
cd <projects>
git clone https://github.com/juangburgos/WtDesigner.git
cd WtDesigner/src/main
qmake -qt=5 -spec linux-g++
make all
ln -sv ../../bin/WtDesigner/WtDesigner WtDesigner
ln -sv ../linux_extras/WtDesigner.sh WtDesigner.sh
WTDESIGNER_PATH=`realpath ../../`
sed -r "s,\{UNKNOWN_PATH\}/WtDesigner.sh,${WTDESIGNER_PATH}/src/main/WtDesigner.sh," ../linux_extras/WtDesigner.desktop | sed -r "s,\{UNKNOWN_PATH\}/WtDesigner_logo_linux.xpm,${WTDESIGNER_PATH}/rec/WtDesigner_logo_linux.xpm," > ~/Desktop/WtDesigner.desktop
chmod +x ~/Desktop/WtDesigner.desktop

from wtdesigner.

juangburgos avatar juangburgos commented on August 26, 2024

Hi,
I personally have not tested WtDesigner in Ubuntu 16.04, but form the error you are getting it would seem that you are having some library clashes. WtDesigner, or more specifically Wt, has boost as a dependency. It requires an specific version of boost to run. It would seem that your system is trying to load a different version to what Wt requires.

WtDesigner ships with the corrrect version of boost it requires to run, but for some reason your system is trying to load the other one you have installed. What I would try is to modify the WtDesigner.sh file that must be installed wherever you have installed Wt.

I would try to change the order in which the LD_LIBRARY_PATH is defined, see if that helps. I.e. change line 8 of WtDesigner.sh:

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$dirname

for:

LD_LIBRARY_PATH=$dirname:${LD_LIBRARY_PATH}

See if that helps. Else I wouldn't know what other thing to do.

Good luck.

from wtdesigner.

YairAtInnovo avatar YairAtInnovo commented on August 26, 2024

from wtdesigner.

juangburgos avatar juangburgos commented on August 26, 2024

Hi,

Again it seems from your errors that you do not have installed the correct Wt dependencies. To compile the project generated by WtDesigner, first I would make sure that I can compile a simple Wt hello world example from their official website and then try to build the project generated by WtSigner.

https://www.webtoolkit.eu/wt/

Now if you want to build WtDesigner form scratch, that is a different animal. I have some notes I made for myself, maybe they can help you.

https://www.evernote.com/shard/s205/sh/cd80c0a7-3fe5-40b0-8784-dc1bd7d08639/1065e8a139699dea8c5f05df1ab21e4e

But beware I might not be able to help you further than that if you run into specific issues in your system.

If you really want to build WtDeisgner yourself, let me give you am advice. Try to do it in a clean virtual machine, this way you make sure you do not get library clashes with existing installations in your system.

best of luck

from wtdesigner.

juangburgos avatar juangburgos commented on August 26, 2024

Thanks for sharing your solution! Lets see if it helps Yair.

from wtdesigner.

YairAtInnovo avatar YairAtInnovo commented on August 26, 2024

from wtdesigner.

oldlonecoder avatar oldlonecoder commented on August 26, 2024

I've followed pirx08 steps. But Wt 3.3.7 and qt5 already installed and good to build WtDesign against it from qtcreator 4.3.x, I now have WtDesigner icon on my linux (Archlinux:KDE Desktop (plasma in folderview mode) and I now understand (realize) how WtDesigner is ...more than a click'n drag Designer... :)
Thank you friends.

  • bretzelus
    (Serge Lussier)

from wtdesigner.

YairAtInnovo avatar YairAtInnovo commented on August 26, 2024

Close

from wtdesigner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.