Hadian wrote on 26-OCT-2006 11:35:14.44
>Thanks for sending the sample files. i tried to compile them on Linux.
>first i compiled fortran part without any problem, however when i tried to
>compile the cpp file i got many errors. then i tried using: g++ -c
>cxx.cpp`wx-config --cxxflags`
>this command give the error "cxx.cpp:24: error: 'wxecanvas' has not been
>declared".
>i should note that, i did not change anything in the samples you have sent.
>(i am beginning wxWidget and my knowledge in it is very poor.)
Note that I stripped just one of my own routines for the example to
highlight the two few things relevant for this F90 Mailing list (So I left out
all the definitions of frames/canvasses/menus/events etc...) :
1) the extern "C" stuff
2) the explicit call to wxEntry
3) how to call a F90 routine from C++
For the rest look at the examples shipped with wxWidgets and/or ask in the
wxWidgets forums. They will be much more knowledgeble than me.
Jouk
Bush : All votes are equal but some votes are more equal than others.
>------------------------------------------------------------------------------<
Jouk Jansen
[log in to unmask]
Technische Universiteit Delft tttttttttt uu uu ddddddd
Kavli Institute of Nanoscience tttttttttt uu uu dd dd
Nationaal centrum voor HREM tt uu uu dd dd
Lorentzweg 1 tt uu uu dd dd
2628 CJ Delft tt uu uu dd dd
Nederland tt uu uu dd dd
tel. 31-15-2782272 tt uuuuuuu ddddddd
>------------------------------------------------------------------------------<
|