Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kind of works? reading multiple mice: any c programmers want to look at this?
#20
(09-08-2022, 06:56 PM)Spriggsy Wrote: You need to have both headers in the same directory as QB64. Or, you can just change the declarations to the relative or absolute path of the headers.

Thanks. I see declarations on line 142 and 151:
  • Declare CustomType Library "makeint"
  • Declare Library "winproc"

which I updated to be hardcoded:
  • Declare CustomType Library "C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\makeint"
  • Declare Library "C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\winproc"

and the IDE stopped complaining. It works! Wow, thanks. 

PS I would prefer not having to hardcode the paths, and keep them where QB64's MinGW can find them. 

I tried moving them to 
  • C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\
but still getting the error. 

There are a bunch of folders with .h files under 
  • C:\Users\maduser\Documents\Code\qb64\internal\c\

I could do trial and error but it could take a while. 
Is there any specific directory they should be under? 

Thanks again...


QB64 internal folders with header files:

Code: (Select All)
C:\Users\maduser\Documents\Code\qb64\internal\c\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\include\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\include\gdb\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\include\libiberty\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\32\finclude\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\finclude\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\backward\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\bits\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\debug\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\decimal\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\experimental\bits\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\ext\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\parallel\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\profile\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\profile\impl\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\tr1\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\x86_64-w64-mingw32\32\bits\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\x86_64-w64-mingw32\32\ext\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\x86_64-w64-mingw32\bits\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\c++\x86_64-w64-mingw32\ext\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include\ssp\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\include-fixed\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\install-tools\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\lib\gcc\x86_64-w64-mingw32\8.1.0\install-tools\include\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\include\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\include\ncursesw\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\include\openssl\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\include\python2.7\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\include\readline\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\include\X11\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\opt\lib\libffi-3.2.1\include\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\ddk\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\gdiplus\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\GL\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\psdk_inc\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\sdks\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\sec_api\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\sec_api\sys\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\sys\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\wrl\
C:\Users\maduser\Documents\Code\qb64\internal\c\c_compiler\x86_64-w64-mingw32\include\wrl\wrappers\
C:\Users\maduser\Documents\Code\qb64\internal\c\libqb\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\conversion\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\decode\mp3_mini\download\minimp3\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\decode\mp3_mini\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\AL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\download\openal-soft-1.14\examples\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\download\openal-soft-1.14\include\AL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\download\openal-soft-1.14\OpenAL32\Include\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\reference\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\reference\wi\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\audio\out\src\AL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\download\freeglut-2.8.0\include\GL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\download\freeglut-2.8.0\progs\demos\spaceball\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\download\freeglut-2.8.0\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\gl_header_for_parsing\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\gl_header_for_parsing\temp\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\gl_headers\glew\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\gl_headers\opengl_org_registery\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\glew\download\glew-1.10.0\auto\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\glew\download\glew-1.10.0\include\GL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\glew\include\GL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\glew\src\GL\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\glues\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\glues\src\libtess\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\core\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\input\game_controller\download\gamepad_1.4.0_pre1_source\source\gamepad\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\input\game_controller\src\gamepad\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\font\ttf\download\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\font\ttf\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\image\decode\bmp\download\EasyBMP_1.06\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\image\decode\bmp\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\image\decode\other\src\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\image\decode\png\download\
C:\Users\maduser\Documents\Code\qb64\internal\c\parts\video\image\decode\png\src\
Reply


Messages In This Thread
RE: kind of works? reading multiple mice: any c programmers want to look at this? - by madscijr - 09-08-2022, 07:16 PM



Users browsing this thread: 32 Guest(s)