-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault when trying to export wave #17
Comments
@epsimatt thanks for reporting! are you using latest raylib from GitHub main branch? |
@raysan5 Yes, I am using the latest version of raylib and raygui. |
i have no idea if this could be useful, below is what i got during the compilation In file included from src/rfxgen.c:99:
src/gui_file_dialogs.h: In function ‘GuiFileDialog’:
src/gui_file_dialogs.h:141:42: warning: implicit declaration of function ‘tinyfd_openFileDialog’ [-Wimplicit-function-declarat
ion]
141 | case DIALOG_OPEN: tempFileName = tinyfd_openFileDialog(title, fileName, filterCount, filterSplit, message, 0);
break;
| ^~~~~~~~~~~~~~~~~~~~~
src/gui_file_dialogs.h:141:40: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wi
nt-conversion]
141 | case DIALOG_OPEN: tempFileName = tinyfd_openFileDialog(title, fileName, filterCount, filterSplit, message, 0);
break;
| ^
src/gui_file_dialogs.h:142:42: warning: implicit declaration of function ‘tinyfd_saveFileDialog’ [-Wimplicit-function-declarat
ion]
142 | case DIALOG_SAVE: tempFileName = tinyfd_saveFileDialog(title, fileName, filterCount, filterSplit, message); br
eak;
| ^~~~~~~~~~~~~~~~~~~~~
src/gui_file_dialogs.h:142:40: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wi
nt-conversion]
142 | case DIALOG_SAVE: tempFileName = tinyfd_saveFileDialog(title, fileName, filterCount, filterSplit, message); br
eak;
| ^
src/gui_file_dialogs.h:143:39: warning: implicit declaration of function ‘tinyfd_messageBox’ [-Wimplicit-function-declaration]
143 | case DIALOG_MESSAGE: result = tinyfd_messageBox(title, message, "ok", "info", 0); break;
| ^~~~~~~~~~~~~~~~~
src/gui_file_dialogs.h:144:47: warning: implicit declaration of function ‘tinyfd_inputBox’ [-Wimplicit-function-declaration]
144 | case DIALOG_TEXTINPUT: tempFileName = tinyfd_inputBox(title, message, ""); break;
| ^~~~~~~~~~~~~~~
src/gui_file_dialogs.h:144:45: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wi
nt-conversion]
144 | case DIALOG_TEXTINPUT: tempFileName = tinyfd_inputBox(title, message, ""); break;
| ^ |
@epsimatt You should add
|
@raysan5 Actually, I have gcc src/rfxgen.c src/external/tinyfiledialogs.c -o bin/rfxgen -Isrc/external -D_DEFAULT_SOURCE -no-pie -s -lrayli
b -lGL -lm -lpthread -ldl -lrt -lX11 |
@raysan5 I tried using the latest version of rfxgen on the same environment and this issue seems to be resolved now. Thank you very much! |
@jdeokkim oh! thanks for reporting! 👍😄 |
I tried doing the same thing with the GUI version of
rfxgen
, but it was not working either.Compilation line (GCC 9.3.0):
Terminal output:
The text was updated successfully, but these errors were encountered: