Opened 18 years ago

Closed 17 years ago

Last modified 16 years ago

#11984 closed defect (worksforme)

Installing wxWidgets or wxWidgets-devel fails in Compiler error

Reported by: jan.bracker@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version:
Keywords: wxWidgets devel Cc: markd@…, jan.bracker@…
Port:

Description

I tried to install wxWidgets over MacPorts, but each time i tried the same problem apperd at the same point during compilation:

/usr/bin/g++-4.0 -c -o monodll_imagtga.o -I.pch/wxprec_monodll -D__WXMAC__          -I../src/regex  -DwxUSE_BASE=1 -DWXMAKINGDLL -dynamic -fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_wxWidgets-devel/work/wxWidgets-2.8.3-rc1/build/lib/wx/include/mac-unicode-release-2.8 -I../include -fpascal-strings -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -I/opt/local/include -I/opt/local/include -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -fno-common ../src/common/imagtga.cpp
../src/common/imagtga.cpp: In function `int ReadTGA(wxImage*, wxInputStream&)':
../include/wx/scopeguard.h:114: error: 'wxScopeGuardImplBase::wxScopeGuardImplBase(const wxScopeGuardImplBase&)' is protected
../src/common/imagtga.cpp:191: error: within this context
../include/wx/scopeguard.h:114: error: 'wxScopeGuardImplBase::wxScopeGuardImplBase(const wxScopeGuardImplBase&)' is protected
../src/common/imagtga.cpp:191: error: within this context
../include/wx/scopeguard.h:112: error: 'wxScopeGuardImplBase::~wxScopeGuardImplBase()' is protected
../src/common/imagtga.cpp:191: error: within this context
../include/wx/scopeguard.h:112: error: 'wxScopeGuardImplBase::~wxScopeGuardImplBase()' is protected
../src/common/imagtga.cpp:191: error: within this context
make: *** [monodll_imagtga.o] Error 1

Error: Status 1 encountered during processing.

I hope you can fix that!

Change History (6)

comment:1 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: MacPorts 1.4Port Bugs

comment:2 Changed 17 years ago by markd@…

Cc: markd@… added

wxwidgets 2.8.4 installs fine for me. Have you tried installing since 2.8.4? Do you have XCode 2.4.x?

comment:3 Changed 17 years ago by nox@…

Cc: jan.bracker@… added
Priority: ImportantHigh
Version: 1.4

Added reporter to Cc.

comment:4 Changed 17 years ago by jan.bracker@…

No i havn't tried ever since this report. But good to here about it :) I don't use XCode mostly i develop directly with gcc.

comment:5 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

I'm going to mark this "works for me". If the problem persists with the new versions, please create a new ticket against the new versions.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.