XusinboyBekchanov / VisualFBEditor

IDE for FreeBasic
Other
176 stars 39 forks source link

In linux, double -exx parameter in compile #109

Closed demosthenesk closed 3 years ago

demosthenesk commented 3 years ago

In linux i get this compile line Compilation: "/home/user/Bin/FreeBASIC-1.08.1-ubuntu-20.04-x86_64/bin/fbc" -b "Form1.frm" -exx -exx -s gui -i "/home/user/Bin/VisualFBEditor/./MyFbFramework" 2> "/home/user/Bin/VisualFBEditor/Temp/Compile.log"

there are 2 -exx arguments to compiler

demosthenesk commented 3 years ago

i think this is happening because there is on -exx argument in parameters and one more in Form1.frm

#ifdef __FB_WIN32__
    '#Compile -exx "Form1.rc"
#else
    '#Compile -exx
#endif
XusinboyBekchanov commented 3 years ago

Fixed: Removed -exx compile key from Template files: https://github.com/XusinboyBekchanov/VisualFBEditor/commit/de434ac43895af3d35d8db4b9324c9cb0bc6e524

XusinboyBekchanov commented 3 years ago

i think this is happening because there is on -exx argument in parameters and one more in Form1.frm

Yes, that's right.