And several others errors also. The one above is the first. What has gone wrong here? I do not intend to create a dll./usr/include/wx-3.0-unofficial/wx/dlimpexp.h:20:22: error: expected class-name before ‘__attribute__’
# define WXIMPORT __attribute__ ((visibility("default")))
expected class-name error in Ubuntu
expected class-name error in Ubuntu
I transferred a wxWidgets project from Windows 7 to Ubuntu 16.04. To do this I created a new project file in Code::Blocks and added the transferred files to it. When I compile in Ubuntu I get this error I did not get in Windows 7:
Re: expected class-name error in Ubuntu
Hi,
Did you build wx yourself or get it from the repository?
Thank you.
Did you build wx yourself or get it from the repository?
Thank you.
Re: expected class-name error in Ubuntu
I got it from the repository 'deb http://repos.codelite.org/wx3.0.3/ubuntu/ xenial universe'
Re: expected class-name error in Ubuntu
This problem is solved. That answer is in this thread:
http://forums.codeblocks.org/index.php/ ... 3.new.html
http://forums.codeblocks.org/index.php/ ... 3.new.html