Re: [Fink-users] Using wxWidgets

2015-02-13 Thread Alexander Hansen

 On Feb 13, 2015, at 10:58 AM, David Lowe doctorjl...@verizon.net wrote:
 
   I'm currently wanting to hand-compile a C++ program using fink's 
 wxwidgets packages [wxwidgets300-cocoa  shlibs].  However, the textbook 
 include line #include wx/wx.h doesn't work here, giving me:
 
 main.cpp:12:10: fatal error: 'wx/wx.h' file not found
 #include wx/wx.h
 ^
 1 error generated.
 

I’m guessing you don’t have -I/sw/include/wx-3.0 in your compiler line.

$ dpkg -S wx.h
wxwidgets300-cocoa: /sw/include/wx-3.0/wx/wx.h

I’d recommend using the wx-config helper tool to get the appropriate include 
paths, especially if you decide you might want to switch over to 
wxwidgets300-osxcocoa, since that’s the package that I’m actually updating.  

$ wx-config --cppflags
-I/sw/lib/wx/include/osx_cocoa-unicode-3.0 -I/sw/include/wx-3.0 
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Using wxWidgets

2015-02-13 Thread David Lowe
I'm currently wanting to hand-compile a C++ program using fink's 
wxwidgets packages [wxwidgets300-cocoa  shlibs].  However, the textbook 
include line #include wx/wx.h doesn't work here, giving me:

 main.cpp:12:10: fatal error: 'wx/wx.h' file not found
 #include wx/wx.h
  ^
 1 error generated.

Should my include line be different, or do i have the wrong package?  I 
didn't see anything immediately useful in the package description, and came up 
empty when searching for man files.

sent from Mountain Lion

Mal: Next time you want to stab me in the back, have the guts to do it to my 
face.
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] dirac-1.0.2-2 build failure (10.8)

2015-02-13 Thread Daniel Macks
g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ 
-DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DSTDC_HEADERS=1 
-DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -I.. -I.  -I/sw/include  -O3 
-Wuninitialized -fexpensive-optimizations -fomit-frame-pointer 
-minline-all-stringops -falign-functions=4 -pipe  -g -pedantic -Wall -Werror -W 
-Woverloaded-virtual -Wextra -Wno-error=unused-private-field 
-Wno-error=unused-const-variable -mmmx -DHAVE_MMX -c -o wavelet_utils_test.o 
wavelet_utils_test.cpp
In file included from wavelet_utils_test.cpp:39:
./wavelet_utils_test.h:38:9: error: 'WAVELET_UTILS_TEST_H' is used as a header
  guard here, followed by #define of a different macro
  [-Werror,-Wheader-guard]
#ifndef WAVELET_UTILS_TEST_H
    ^~~~
./wavelet_utils_test.h:39:9: note: 'WAVELET_UTILS_H' is defined here; did you
  mean 'WAVELET_UTILS_TEST_H'?
#define WAVELET_UTILS_H
    ^~~
    WAVELET_UTILS_TEST_H
1 error generated. 
Makefile:325: recipe for target 'wavelet_utils_test.o' failed

Looks like they just mis-edited or didn't update the standard single-use guard 
token when copying it from some other file:

#ifndef WAVELET_UTILS_TEST_H
#define WAVELET_UTILS_H

Changing it to be matched:

#ifndef WAVELET_UTILS_TEST_H
#define WAVELET_UTILS_TEST_H

lets it build successfully. 

Filed upstream as:

http://permalink.gmane.org/gmane.comp.video.schroedinger.devel/490

dan

--
Daniel Macks
dma...@netspace.org

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users