aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 [3]

Author Topic: Incoming and Temp under Windows Vista in windows version of aMule  (Read 12740 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #30 on: December 05, 2007, 12:33:49 AM »

please check it with an argument, e.g. "test.exe C:\temp\".
Blank line only as well. I'll try to compile it tomorrow.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

tired

  • Approved Newbie
  • *
  • Karma: -1
  • Offline Offline
  • Posts: 18
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #31 on: December 06, 2007, 07:50:13 PM »

Hello and what did you find some fix ?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #32 on: December 06, 2007, 08:29:59 PM »

Patience is a virtue. But not exactly one of your strong points, is it?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #33 on: December 23, 2007, 12:48:06 AM »

Having fun with The Crappiest Development Environment Ever Made (a.k.a. MinGW)  >:(

I can't compile test.cpp. Do I need a makefile or something for such a mini app with wx ?

Code: [Select]
$ g++ test.cpp
test.cpp:1:23: error: wx/string.h: No such file or directory
test.cpp:2:25: error: wx/filename.h: No such file or directory
test.cpp: In function 'int main(int, char**)':
test.cpp:6: error: 'wxString' was not declared in this scope
test.cpp:6: error: expected `;' before 'msg'
test.cpp:7: error: expected `;' before 'dir'
test.cpp:10: error: 'dir' was not declared in this scope
test.cpp:10: error: 'wxFileName' has not been declared
test.cpp:12: error: 'dir' was not declared in this scope
test.cpp:12: error: 'wxString' is not a class or namespace
test.cpp:15: error: 'msg' was not declared in this scope
test.cpp:15: error: 'dir' was not declared in this scope
test.cpp:15: error: 'wxT' was not declared in this scope
test.cpp:15: error: 'R_OK' was not declared in this scope
test.cpp:15: error: 'wxAccess' was not declared in this scope
test.cpp:16: error: 'W_OK' was not declared in this scope
test.cpp:17: error: 'X_OK' was not declared in this scope

$ g++ test.cpp -I/local/include/wx-2.8
In file included from C:/MinGW/local/include/wx-2.8/wx/defs.h:21,
                 from C:/MinGW/local/include/wx-2.8/wx/string.h:25,
                 from test.cpp:1:
C:/MinGW/local/include/wx-2.8/wx/platform.h:196:22: error: wx/setup.h: No such file or directory
In file included from C:/MinGW/local/include/wx-2.8/wx/platform.h:279,
                 from C:/MinGW/local/include/wx-2.8/wx/defs.h:21,
                 from C:/MinGW/local/include/wx-2.8/wx/string.h:25,
                 from test.cpp:1:
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:103:9: error: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:111:9: error: #error "wxUSE_EXCEPTIONS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:119:9: error: #error "wxUSE_FILESYSTEM must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:127:9: error: #error "wxUSE_FS_ARCHIVE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:140:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:148:9: error: #error "wxUSE_LOG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:156:9: error: #error "wxUSE_LONGLONG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:164:9: error: #error "wxUSE_MIMETYPE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:180:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:188:9: error: #error "wxUSE_PROTOCOL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:230:9: error: #error "wxUSE_REGEX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:238:9: error: #error "wxUSE_STDPATHS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:246:9: error: #error "wxUSE_XML must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:254:9: error: #error "wxUSE_SOCKETS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:262:9: error: #error "wxUSE_STREAMS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:270:9: error: #error "wxUSE_STOPWATCH must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:278:9: error: #error "wxUSE_TEXTBUFFER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:286:9: error: #error "wxUSE_TEXTFILE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:302:9: error: #error "wxUSE_URL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:310:9: error: #error "wxUSE_VARIANT must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:330:9: error: #error "wxUSE_ABOUTDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:338:9: error: #error "wxUSE_ACCEL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:346:9: error: #error "wxUSE_ANIMATIONCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:354:9: error: #error "wxUSE_BITMAPCOMBOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:362:9: error: #error "wxUSE_BMPBUTTON must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:370:9: error: #error "wxUSE_BUTTON must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:378:9: error: #error "wxUSE_CALENDARCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:386:9: error: #error "wxUSE_CARET must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:394:9: error: #error "wxUSE_CHECKBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:410:9: error: #error "wxUSE_CHOICE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:418:9: error: #error "wxUSE_CHOICEBOOK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:426:9: error: #error "wxUSE_CHOICEDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:434:9: error: #error "wxUSE_CLIPBOARD must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:442:9: error: #error "wxUSE_COLLPANE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:450:9: error: #error "wxUSE_COLOURDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:458:9: error: #error "wxUSE_COLOURPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:466:9: error: #error "wxUSE_COMBOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:474:9: error: #error "wxUSE_COMBOCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:482:9: error: #error "wxUSE_DATAOBJ must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:490:9: error: #error "wxUSE_DATAVIEWCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:498:9: error: #error "wxUSE_DATEPICKCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:506:9: error: #error "wxUSE_DIRPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:514:9: error: #error "wxUSE_DISPLAY must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:522:9: error: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:530:9: error: #error "wxUSE_FILEDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:538:9: error: #error "wxUSE_FILEPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:546:9: error: #error "wxUSE_FONTDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:554:9: error: #error "wxUSE_FONTMAP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:562:9: error: #error "wxUSE_FONTPICKERCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:570:9: error: #error "wxUSE_GAUGE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:578:9: error: #error "wxUSE_GRAPHICS_CONTEXT must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:587:9: error: #error "wxUSE_GRID must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:595:9: error: #error "wxUSE_HELP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:603:9: error: #error "wxUSE_HYPERLINKCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:611:9: error: #error "wxUSE_HTML must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:632:9: error: #error "wxUSE_ICO_CUR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:640:9: error: #error "wxUSE_IFF must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:648:9: error: #error "wxUSE_IMAGLIST must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:656:9: error: #error "wxUSE_JOYSTICK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:664:9: error: #error "wxUSE_LISTBOOK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:672:9: error: #error "wxUSE_LISTBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:680:9: error: #error "wxUSE_LISTCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:688:9: error: #error "wxUSE_LOGGUI must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:696:9: error: #error "wxUSE_LOGWINDOW must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:704:9: error: #error "wxUSE_LOG_DIALOG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:712:9: error: #error "wxUSE_MDI must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:720:9: error: #error "wxUSE_MDI_ARCHITECTURE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:728:9: error: #error "wxUSE_MENUS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:736:9: error: #error "wxUSE_MSGDLG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:744:9: error: #error "wxUSE_NOTEBOOK must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:752:9: error: #error "wxUSE_ODCOMBOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:760:9: error: #error "wxUSE_PALETTE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:768:9: error: #error "wxUSE_POPUPWIN must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:776:9: error: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:784:9: error: #error "wxUSE_RADIOBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:792:9: error: #error "wxUSE_RADIOBTN must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:800:9: error: #error "wxUSE_SASH must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:808:9: error: #error "wxUSE_SCROLLBAR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:816:9: error: #error "wxUSE_SLIDER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:824:9: error: #error "wxUSE_SOUND must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:832:9: error: #error "wxUSE_SPINBTN must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:840:9: error: #error "wxUSE_SPINCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:848:9: error: #error "wxUSE_SPLASH must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:856:9: error: #error "wxUSE_SPLITTER must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:864:9: error: #error "wxUSE_STATBMP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:872:9: error: #error "wxUSE_STATBOX must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:880:9: error: #error "wxUSE_STATLINE must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:888:9: error: #error "wxUSE_STATTEXT must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:896:9: error: #error "wxUSE_STATUSBAR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:904:9: error: #error "wxUSE_TAB_DIALOG must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:912:9: error: #error "wxUSE_TEXTCTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:920:9: error: #error "wxUSE_TIPWINDOW must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:928:9: error: #error "wxUSE_TOOLBAR must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:936:9: error: #error "wxUSE_TOOLTIPS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:944:9: error: #error "wxUSE_TREECTRL must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:952:9: error: #error "wxUSE_VALIDATORS must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:960:9: error: #error "wxUSE_WXHTML_HELP must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:968:9: error: #error "wxUSE_XRC must be defined."
C:/MinGW/local/include/wx-2.8/wx/chkconf.h:1765:9: error: #error "wxMessageBox is always needed"
In file included from test.cpp:2:
C:/MinGW/local/include/wx-2.8/wx/filename.h:88: error: 'wxULongLong' does not name a type
C:/MinGW/local/include/wx-2.8/wx/filename.h:487: error: 'wxULongLong' does not name a type
C:/MinGW/local/include/wx-2.8/wx/filename.h:488: error: 'wxULongLong' does not name a type
C:/MinGW/local/include/wx-2.8/wx/filename.h:493: error: expected ',' or '...' before '&' token
C:/MinGW/local/include/wx-2.8/wx/filename.h:495: error: ISO C++ forbids declaration of 'wxULongLong' with no type
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #34 on: December 23, 2007, 08:28:14 AM »

On Linux: g++ test.cpp `wx-config --libs` `wx-config --cxxflags` -o test.exe

Please be aware that I've installed VS2008 (via MSDN-AA) yesterday on a Vista installation and intend to do some testing once I set up the aMule development environment.

Edit: Oops... .exe, not .cpp
« Last Edit: December 23, 2007, 04:02:04 PM by wuischke »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #35 on: December 23, 2007, 12:03:51 PM »

Ahh - that does the trick. Works even under MinGW. (If you leave out the -o test.cpp which overwrites the source file. ;-) )
Output is always:
wxAccess R_OK: 0
wxAccess W_OK: 0
wxAccess X_OK: -1

I figured out why the exe failed before. It seems the App is not compiled as win32 console app and so there's no output on the windows console (though it works on the MinGW console). You can run it under windows cmd with
test.exe | more

Setting up aMule under VS is no small task of course. You will have to set up the project from scratch. But that would be the best solution for aMule on Win32 of course.  8)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Incoming and Temp under Windows Vista in windows version of aMule
« Reply #36 on: December 24, 2007, 02:41:13 PM »

It should work now, see here or wait for tomorrow's tarball to compile your own package.
Logged
Pages: 1 2 [3]