Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 compilation issue #339

Open
piotrgrabowskielastique opened this issue Jan 8, 2021 · 1 comment
Open

Ubuntu 20.04 compilation issue #339

piotrgrabowskielastique opened this issue Jan 8, 2021 · 1 comment

Comments

@piotrgrabowskielastique
Copy link

piotrgrabowskielastique commented Jan 8, 2021

/home/user/rme/source/gui.cpp:1186:106: error: ‘class MainFrame’ has no member named ‘FromDIP’
 1186 |     welcomeDialog = newd WelcomeDialog(__W_RME_APPLICATION_NAME__, "Version " + __W_RME_VERSION__, root->FromDIP(wxSize(800, 480)), icon, recent_files);
 

Cant compile cuz of this :(

@MisterDaniels
Copy link

MisterDaniels commented Mar 7, 2021

I went through it too, just followed documentations from WxWidgets, and worked. Looks like FromDIP has another version dependency... I don't know if i solved the problem with 3.1 version of WxWidgets or 2.0 version. I have installed both of them with that instructions:

sudo apt install build-essential
sudo apt install libgtk2.0-dev          # 2.0 version
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.4/wxWidgets-3.1.4.tar.bz2      # 3.1 version and all build details below
tar -xf wxWidgets-3.1.4.tar.bz2
cd ~/wxWidgets-3.1.4          
mkdir gtk-build             # the name is not really relevant
cd gtk-build
../configure                # builds unicode, shared lib
make -j3                    # use 3 cores. Set to the number of cores your have. 'make' uses 1 core
sudo make install           # some platforms require to use 'su' instead of 'sudo'
sudo ldconfig               # not required in each system

Glad with help anyone with that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants