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

Compillation failed on Linux #8

Closed
HondaRulez opened this issue Apr 3, 2023 · 1 comment
Closed

Compillation failed on Linux #8

HondaRulez opened this issue Apr 3, 2023 · 1 comment

Comments

@HondaRulez
Copy link

HondaRulez commented Apr 3, 2023

Hi,

using GCC12.2, libwxbase3.2-1 and libwxgtk3.2-dev and their dependecies for compillation. (the old ones what is reffered in the "Linuxpackages" are not available in the new distros)

This error also happened on old Debian buster distro (GCC 8.3)

-- Building usbdm-interface-arm.x86_64-linux-gnu/BdmInterfaceCommon.o from src/BdmInterfaceCommon.cpp
g++ -fPIC -O3 -g3 -m64 -std=gnu++17 -Wall -shared -fvisibility=hidden -fvisibility-inlines-hidden -DCOMPILE_USBDM_INTERFACE_DLL -Isrc -I../Shared/src -MD -c src/BdmInterfaceCommon.cpp -o usbdm-interface-arm.x86_64-linux-gnu/BdmInterfaceCommon.o
In file included from ../Shared/src/BdmInterface.h:37,
from src/BdmInterfaceCommon.h:11,
from src/BdmInterfaceCommon.cpp:39:
../Shared/src/AppSettings.h: In member function ‘AppSettings& AppSettings::operator=(const AppSettings&)’:
../Shared/src/AppSettings.h:219:17: error: no match for ‘operator!=’ (operand types are ‘const AppSettings’ and ‘AppSettings’)
219 | if (other != *this) {
| ~~~~~ ^~ ~~~~~
| | |
| | AppSettings
| const AppSettings
make[2]: *** [Target.mk:95: usbdm-interface-arm.x86_64-linux-gnu/BdmInterfaceCommon.o] Error 1
make[2]: Leaving directory '/opt/src/usbdm-eclipse-makefiles-build/BdmInterface_DLL'
make[1]: *** [Makefile-x64.mk:12: usbdm-interface-arm] Error 2
make[1]: Leaving directory '/opt/src/usbdm-eclipse-makefiles-build/BdmInterface_DLL'
make: *** [Makefile-x64.mk:59: build-BdmInterface_DLL] Error 2
64-bit Make failed

@podonoghue
Copy link
Owner

This should now be fixed (305).
bye

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