FreeBasic IDE-poseidonFB(Update 2024.03.03)

User projects written in or related to FreeBASIC.
Post Reply
Takase
Posts: 13
Joined: Feb 09, 2018 14:12

Re: FreeBasic IDE-poseidonFB(Update 2018.04.26)

Post by Takase »

I've been using poseidonFB for a while now. But, I have a question to ask. How to make a custom tool? I saw the "set custom tools" option but never know how to use it.
Takase
Posts: 13
Joined: Feb 09, 2018 14:12

Re: FreeBasic IDE-poseidonFB(Update 2018.04.26)

Post by Takase »

@Kuan Hsu

The simplified chinese translation for poseidonFB seems a bit outdated. I updated it a bit and please point out errors if there is any! Thanks!

By the way, is it possible to add an option to select secondary font for non-English characters for the menu text? The menu text looks ugly (not really ugly, but unpleasant in my opinion) when I set the language to Simplified Chinese.

EDIT:
edited the translation a bit. Some of the text are undocumented such as "Display Delay(ms): " at the Parser tab in Preferences.
Also, please add a list of language to choose from instead showing the currently used language and a "open file" option.

Simplified Chinese.lng

Code: Select all

file=文件
	new=新建
	open=打开
	save=保存
	saveas=另存为
	saveall=全部保存
	close=关闭
	closeall=全部关闭
    closealltabs=关闭所有文件页签
	recentfiles=最近打开的文件
	recentprjs=最近打开的专案
	clearall=全部清除
	exit=退出
	
edit=编辑
	redo=重做
	undo=撤消
	cut=剪切
	copy=复制
	paste=粘贴
	commentline=注释/取消注释
    uncommentline=取消行注释
	selectall=全选
	
search=搜索
	findreplace=查找/替换
	findnext=查找下一个
	findprev=查找上一个
	findreplacefiles=在文件中查找/替换
	goto=转到行
		line=行

windows=视窗
view=视图
	'outline=大纲
	message=信息
    manual=手册
	fullscreen=全屏
	
prj=专案
	newprj=新建专案
	openprj=打开专案
	importprj=导入FbEdit专案
	saveprj=保存专案
	saveallprj=保存所有专案
	closeprj=关闭专案
	closeallprj=关闭所有专案
	properties=属性...
    
	openinexplorer=在资源管理器中打开
	removefromprj=从专案中移除
	rename=重命名文件
	newfile=新建文件
		filename=文件名称
	newfolder=新建文件夹
		foldername=文件夹名称
	addfile=添加文件
	
build=构建
	compile=编译文件
	compilerun=编译文件并运行
	run=运行
	buildprj=构建专案
    rebuildprj=重建专案
	quickrun=快速运行
	
debug=调试
	rundebug=运行调试
	compiledebug=编译并调试
	builddebug=编译专案并调试
	
options=选项
	tools=工具
		seteol=设置换行符
		converteol=转换换行符
		convertencoding=转换编码
		convertcase=转换关键字大小写
			uppercase=大写
			lowercase=小写
			mixercase=混合
		setcustomtool=设置自定义工具...
			customtool1=自定义工具(1)
			customtool2=自定义工具(2)
			customtool3=自定义工具(3)
			customtool4=自定义工具(4)
			customtool5=自定义工具(5)
			customtool6=自定义工具(6)
			customtool7=自定义工具(7)
			customtool8=自定义工具(8)
			customtool9=自定义工具(9)
	language=语言
		openlanguage=选择语言...
	preference=偏好
		compiler=编译器
			compilerpath=编译器路径
			debugpath=调试器路径
			x64path=x64编译器路径
			compileropts=编译器选项
			compilersetting=编译器设置
				errorannotation=在注释中显示编译器提示
				showresultwindow=编译完成后显示结果窗
				usesfx=播放结果音效(当关闭结果窗时)
				delexistexe=编译前清除已编译的EXE文件
				consoleexe=使用Console加载器运行程序
		parser=分析器
			parsersetting=分析器设置
				enablekeyword=启用关键字自动完成
				enableinclude=启用引用自动完成
				enableparser=启用分析器
				showtitle=显示函数名称
				width=宽度
				showtypeparam=显示函数参数的类型
				sortignorecase=自动完成列表不区分大小写
				selectcase=选中的列表项不区分大小写
				showlisttype=显示自动完成列表类型
				showallmembers=显示全部成员
                enabledwell=滑鼠停留显示种类
                enableoverwrite=覆盖非识别字符
				completeatbackthread=使用后台进程自动完成
				parserlive=实时解析!等级
					none=无
					light=轻量
					full=全部
					update=更新大纲
				trigger=自动完成触发字数
					triggertip=设置0为禁用
				includelevel=引用级别
			editor=编辑器
				lnmargin=显示行号
				fixedlnmargin=固定行号宽度
				bkmargin=显示书签
				fdmargin=显示代码折叠
				indentguide=显示缩进线
				showcaretline=高亮当前行
				wordwarp=自动换行
				tabtospace=使用空格替换制表符
				autoindent=自动缩进
				showeol=显示换行符号
				showspacetab=显示空格/制表符
				autoinsertend=自动关闭
                autoclose=自动关闭引号
				coloroutline=以彩色显示大纲
				showidemessage=显示编辑器信息
				boldkeyword=关键字加粗
				bracematchhighlight=高亮显示配对项
				bracematchdoubleside=配对项同步变动
				multiselection=启用文档多选
				loadprevdoc=加载之前编辑的文档
				middlescroll=鼠标中间滚动
                savedocstatus=保存文件状态
                loadfileatbackthread=使用后台运程加载文件
				controlcharsymbol=设置控制符
				tabwidth=制表符宽度
				columnedge=显示行标记
                barsize=可调柜宽度
					barsizetip=需从新驱动Poseidon (2~5)
				maker0=标记0
				maker1=标记1
				maker2=标记2
				maker3=标记3
				autoconvertkeyword=自动转换关键字大小写
				font=字体
					default=默认
					'document=文档
					leftside=左边栏
					'fistlist=文件列表
					'project=专案
					'outline=大纲
					bottom=底边栏
					'output=输出窗口
					'search=搜索
					'debug=调试
					annotation=注释
					'manual=手册
					statusbar=状态栏
				color=颜色
					colorfile=颜色模板
					caretline=当前行
					cursor=鼠标
					prjtitle=专案标题
					sourcefolder=源文件夹
					sel=选中
					ln=行号
					foldcolor=折叠栏前景色
					selalpha=选中项透明度
						alphatip=设为255以使用前景/背景色\n设为0将保持前景色不变
					hlcurrentword=高亮当前字符
					hlcurrentwordalpha=高亮字符透明度
				colorfgbg=颜色/前景/背景色
					bracehighlight=高亮匹配项
					manualerrorannotation=错误注释
					manualwarningannotation=警告注释
					scintilla=Scintilla
					SCE_B_COMMENT=SCE_B_COMMENT
					SCE_B_NUMBER=SCE_B_NUMBER
					SCE_B_STRING=SCE_B_STRING
					SCE_B_PREPROCESSOR=SCE_B_PREPROCESSOR
					SCE_B_OPERATOR=SCE_B_OPERATOR
					SCE_B_IDENTIFIER=SCE_B_IDENTIFIER
					SCE_B_COMMENTBLOCK=SCE_B_COMMENTBLOCK
					
			shortcut=快捷键
				sc_findreplace=查找/替换
				sc_findreplacefiles=在文件中查找/替换
				sc_findnext=查找下一个
				sc_findprev=查找上一个
				sc_goto=转到行
				sc_undo=撤消
				sc_redo=重做
				sc_gotodef=转到定义处
				sc_procedure=转到成员处
				sc_quickrun=快速运行
				sc_run=运行
				sc_compile=编译
				sc_build=构建
				sc_leftwindow=打开/关闭左边栏
				sc_bottomwindow=打开/关闭底边栏  
				sc_showtype=显示类型
				sc_reparse=重新分析
				sc_save=保存文件
				sc_saveall=全部保存
				sc_close=关闭文件
				sc_nexttab=下一个文件页签
				sc_prevtab=上一个文件页签
				sc_newtab=新建标签
				sc_autocomplete=自动完成
				sc_compilerun=编译文件并运行
				sc_comment=注释/取消注释
                sc_uncomment=取消注释
                sc_backnav=向后导引
				sc_forwardnav=向前导引
				sc_backdefinition=返回定义处
			keywords=关键字
				keyword0=关键字0
				keyword1=关键字1
				keyword2=关键字2
				keyword3=关键字3
			'manual=手册
				manualpath=手册路径
				manualusing=使用帮助手册

	about=关于

	configuration=设定...
	setcustomoption=设定编译器选项...

bookmark=标记书签
bookmarkprev=上一个书签
bookmarknext=下一个书签
bookmarkclear=清除书签

outline=大纲
	collapse=展开/关闭
	showpr=更改项目标题
	refresh=更新
	searchanyword=搜索关键字
	hide=隐藏

filelist=文件列表
	fullpath=完整路径

output=输出
	clear=清除

'tab
closeothers=关闭其他
torighttabs=转到副文件页签
tolefttabs=移到主文件页签
rotatetabs=旋转移位副文件页签

'popup window
highlightmaker=高亮标记...
highlghtlines=高亮行
delhighlghtlines=删除高亮行
colorhighlght=选择颜色...
delete=删除
showannotation=显示注释
hideannotation=隐藏注释
removeannotation=删除所有注释
expandall=展开全部
contractall=收缩全部

'properties
prjproperties=专案配置
general=一般
	prjname=专案名称
	prjtype=类型
		console=可执行程序
		static=静态链接库
		dynamic=动态链接库
	prjdir=专案目录
	prjmainfile=主文件
	prjtarget=目标名称
	prjargs=执行参数:
	prjopts=编译选项:
	prjcomment=注释
	prjcompiler=编译器路径
include=引用...
	includepath=引用路径
	librarypath=库路径
	
'search window
findwhat=查找内容
replacewith=替换为
direction=方向
	forward=向前
	backward=向后
scope=范围
	all=整个范围
	selection=选中部分
casesensitive=区分大小写
wholeword=全词匹配
find=查找
findall=查找所有
replacefind=查找/替换
replace=替换
replaceall=替换所有
countall=计数所有
bookmarkall=标记所有
document=文档
alldocument=所有文档
allproject=所有专案
status=状态栏

'short cut
shortcutname=快捷键名称
shortcutkey=当前快捷键

'debug
runcontinue=运行/继续
stop=停止
step=步进
next=下一个
return=返回
until=直到...
terminate=终止
bp=断点
variable=变量
	watchlist=监视列表
		add=添加
		remove=移除
		removeall=移除所有
	addtowatch=增加到监视列表
	'refresh=刷新
	locals=本地
	args=参数
	shared=全局
register=寄存器

'caption
caption_new=新建
caption_open=打开
caption_saveas=另存为
caption_cut=剪切
caption_copy=复制
caption_paste=粘贴
caption_selectall=全选
caption_about=关于
'caption_findreplace=查找/替换
'caption_findreplacefiles=在文件中查找/替换
'caption_goto=转到行
caption_search=搜索
caption_prj=专案
caption_openprj=打开专案
caption_importprj=导入FbEdit专案
caption_prjproperties=专案配置
caption_preference=偏好
caption_argtitle=编译器选项/运行参数
caption_debug=调试
caption_optionhelp=编译器选项

'message
ok=确定
yes=是
no=否
cancel=取消
apply=应用
bechange=内容已更改,是否保存?
samekey=已有快捷键
needrestart=需要重新启动以更改语言
suredelete=你确定要删除文件?
opened=已打开!
existed=已存在!
wrongext=扩展名错误!!
.poseidonbroken=加载专案文件错误!!XML文件可能已损坏!!
.poseidonlost=XML设置文件丢失!
continueimport=文件夹中已存在poseidonFB 专案文件,是否继续导入?
compilefailure=编译错误!
compilewarning=编译完成,但存在警告!
compileok=编译成功!
cantundo=此操作无法被撤销!是否继续?
exitdebug1=退出调试?
exitdebug2=未找到调试资料!!退出调试!
applycolor=应用背景色到其他scintilla 控件?
noselect=没有选中项!
quest=问题
alarm=警告
error=错误
foundword=找到目标
foundnothing=找不到目标!

exefile=可执行程序
basfile=FB源文件
bifile=FB引用
lngfile=语言文件
allfile=所有文件
fbeditfile=FbEdit专案
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.04.26)

Post by Kuan Hsu »

Takase wrote:@Kuan Hsu

The simplified chinese translation for poseidonFB seems a bit outdated. I updated it a bit and please point out errors if there is any! Thanks!

By the way, is it possible to add an option to select secondary font for non-English characters for the menu text? The menu text looks ugly (not really ugly, but unpleasant in my opinion) when I set the language to Simplified Chinese.

EDIT:
edited the translation a bit. Some of the text are undocumented such as "Display Delay(ms): " at the Parser tab in Preferences.
Also, please add a list of language to choose from instead showing the currently used language and a "open file" option.
(1) Thanks for your Simplified Chinese.lng, I've added little fix and updated to rev.395
(2) I've modified some code about font settings for the dialog( like Preference, Project Properties....), please check
Takase wrote:2. yes something like that. Also on double quotes and square brackets too.
Added at rev.395, while "Auto Close" is "ON"
Takase wrote:I've been using poseidonFB for a while now. But, I have a question to ask. How to make a custom tool? I saw the "set custom tools" option but never know how to use it.
Please check Custom Tools of poseidonFB_cht.odt in https://bitbucket.org/KuanHsu/poseidonfb/downloads/, and if you have the free time please do me a favor -- translate it to English....^^
Takase
Posts: 13
Joined: Feb 09, 2018 14:12

Re: FreeBasic IDE-poseidonFB(Update 2018.05.01)

Post by Takase »

@Kuan Hsu
Kuan Hsu wrote:Please check Custom Tools of poseidonFB_cht.odt in https://bitbucket.org/KuanHsu/poseidonfb/downloads/, and if you have the free time please do me a favor -- translate it to English....^^
Thanks! The documentation looks promising! I'll try to translate the documentation after I'm done with my exam. Don't expect the results to be good tho - my native language is Simplified Chinese, so I still rely to Google Translate for some words. But, I'll try my best since you have been adding so much cool features to the IDE and making it easy to use as well as fixing bugs!
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.01)

Post by D.J.Peters »

How to set the output path of a project ?
The IDE used the source folder D:/CodeBlocks/joshy/TinyEngine-src
but in my case of a static library it should be:
D:/CodeBlocks/joshy/TinyEngine/lib/win32
D:/CodeBlocks/joshy/TinyEngine/lib/win64
D:/CodeBlocks/joshy/TinyEngine/lib/lin32
D:/CodeBlocks/joshy/TinyEngine/lib/lin64
depended of the build target.

How ever good job so far.

Joshy

Code: Select all

Buinding Project: tinyEngine......

"d:/freebasic/fbc32.exe" -lib -x "D:/CodeBlocks/joshy/TinyEngine-src/libtinyEngine.a" -m "tinyAABBV.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyWindow.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_zero_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_sub_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_scale_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_neg.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_mul_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_index.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_inc_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_dot_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_dot_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_dec_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_cast_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_cast_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_op_add_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_lerp_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector4_con.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_zero.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_ref.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_sub_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_sub_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_scale_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_scale_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_neg.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_mul_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_index.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_inc_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_dot_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_dot_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_div_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_dec_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_cross_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_cross_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_cast_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_cast_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_add_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_op_add_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_norm.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_mag.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_lookat.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_lerp_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_lerp_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_dist.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con_v2.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_con.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector3_angle.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyVector2.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyUtilities_path.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyUtilities_folder.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyUtilities_encode_b64.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyUtilities_decode_b64.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyTrueType.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyTriangle.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinySpline.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinySphere.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinySound.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinySBV.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyRay.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_rotation_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_rotation_rrrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_op_mul_qq.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_op_index.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_op_cast_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_op_cast_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_normalized.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_normalize.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_lerp_qqr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_identity.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_get_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_get_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_rrrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_q.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion_con.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyQuaternion.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyPlane.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyNetwork.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_zero.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_transpose.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_translate_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_translate_rrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_scale_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_scale_rrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_rotz.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_roty.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_rotx.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_rotation.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_rot_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_rot_rrrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_reflect.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_perspective_frustum.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_perspective.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_orthofrustum.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_sub_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_mul_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_mul_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_mul_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_index.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_cast_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_cast_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_op_add_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_lookat.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_inverse.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_identity.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_translate_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_translate_rrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_rot_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_rot_rrrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix4_con.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_zero.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_transpose.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_scale_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_scale_rrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_rotz.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_roty.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_rotx.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_rot_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_rot_rrrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_orthonormalize.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_sub_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_mul_v4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_mul_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_mul_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_mul_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_index.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_inc_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_dec_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_cast_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_cast_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_op_add_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_inverse.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_identity.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_scale_v3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_scale_rrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_scale_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_rot_v3_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_rot_rrrr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_m4.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con_m3.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix3_con.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMatrix2.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyMath.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyInifile.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyImage.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyGui.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyFrustum.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_tanh.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_tan.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_sqr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_solvers.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_sinh.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_sin.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_real_set.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_real_get.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_pow_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_pow_ci.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_pow_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_polar.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_unary_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_unary_m.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_sub_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_sub_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_sub_cr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_sub_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_sub_c.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_nequal_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_nequal_cr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_nequal_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_let_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_let_c.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_index.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_equal_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_equal_cr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_equal_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_div_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_div_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_div_cr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_div_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_div_c.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_cast_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_cast_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_add_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_add_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_add_cr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_add_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_op_add_c.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_mul_rc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_mul_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_mul_cr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_mul_cc.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_mul_c.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_log10.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_log.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_imag_set.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_imag_get.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_exp.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_cosh.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_cos.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_conj.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_con_s.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_con_rr.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_con_r.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_con_p.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_con_c.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_con.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_arg.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyComplex_abs.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyCommon.bas" -b "D:/CodeBlocks/joshy/TinyEngine-src/tinyAABBV.bas" -i "D:/CodeBlocks/joshy/TinyEngine/inc" -w pedantic

Build Success!
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.05.01)

Post by Kuan Hsu »

D.J.Peters wrote:How to set the output path of a project ?
The IDE used the source folder D:/CodeBlocks/joshy/TinyEngine-src
but in my case of a static library it should be:
D:/CodeBlocks/joshy/TinyEngine/lib/win32
D:/CodeBlocks/joshy/TinyEngine/lib/win64
D:/CodeBlocks/joshy/TinyEngine/lib/lin32
D:/CodeBlocks/joshy/TinyEngine/lib/lin64
depended of the build target.

How ever good job so far.

Joshy
Yes, it's good question, different platform or 32/64 bit settings are mean different compile options/target/include paths/link libraries paths, I think I can do it in two ways:
(1) Change folder base to project files base, every prj file has its own settings, it switch by loading the project file by ourselves, but sometimes if we load two projects at same time and both project are using same sources and includes, the "Project Tree Window" become very heavy and confusing.
(2) Make a selector( maybe editable combobox ) in present project properties dialog, the sources and includes are shared, just change the "Target Name" / "Compiler Options" / "Compiler Path" / "Include Paths" / ""Libraries Paths"

The first way just need some little code change, but I think I will try the second way......^^
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.01)

Post by D.J.Peters »

Strange if I compile my big project >=300 files and add the compiler option -v the IDE crashes.
(no response I have to kill the process of the IDE via task manager)

By the way while the compile process are running the output window is empty.
(only on successful build after the linking stage a message are printed)

It should print out witch file are currently compiled.

More than 300 files needs a long time and the user or I'm self
likes to have a feedback about whats going on.

Joshy
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.05.01)

Post by Kuan Hsu »

D.J.Peters wrote:Strange if I compile my big project >=300 files and add the compiler option -v the IDE crashes.
(no response I have to kill the process of the IDE via task manager)

By the way while the compile process are running the output window is empty.
(only on successful build after the linking stage a message are printed)

It should print out witch file are currently compiled.

More than 300 files needs a long time and the user or I'm self
likes to have a feedback about whats going on.

Joshy
Please try rev.396, I move the build process to another thread, it seems to work but I don't have so big project to test~~
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by Kuan Hsu »

New "Focus" in Project Properties:
I've added a new "Focus" in "Project Properties" dialog since rev.396, now the Project Properties is allowd to set multiple Target/Compile Options/Compiler Path/Include Paths/Libraries Paths

In "Project Properties" dialog, a normal base project just with project name & it's path, try to edit the "Focus" and named our new setting:
Image

After Naming, edit the Target/Compile Options/Compiler Path/Include Paths/Libraries Paths, then "Apply"
!!!!
We can also set the Target Name with a folder, poseidonFB will create the folder automatically while building/compiling, the CWD = Project Dir, so the Target is: D:/testBASIC/x64/KUAN
Image

Now we have added "KUAN" item ( we have two, include the empty item ), click "OK" back to the editor
Image

If we choose not empty item, the bottom status bar will show what we choose in this project, try Right-Click we can change quickly~~
Image

Build in different:
Image
Image
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by D.J.Peters »

Looks great so far, I will test it and give you feedback tomorrow.

Joshy
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by D.J.Peters »

I don't get it :-(

A project file should be: "projectname.poseidon"

For example if you have two builds static and dynamic for 4 platforms
TinyeEgineStaticWindows32.poseidon
TinyeEgineDynamicWindows32.poseidon
TinyeEgineStaticWindows64.poseidon
TinyeEgineDynamicWindows64.poseidon
TinyeEgineStaticLinux32.poseidon
TinyeEgineDynamicLinux32.poseidon
TinyeEgineStaticLinux64.poseidon
TinyeEgineDynamicLinux64.poseidon

But your project files does not have a file extensions
so a second created project in the same IDE sessions
overwrites am other open project without any warning message.

By the way I get only a message in the output section if the build are finished
but not if one of the 300 files are compiled !

Joshy
St_W
Posts: 1619
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by St_W »

D.J.Peters wrote:For example if you have two builds static and dynamic for 4 platforms
TinyeEgineStaticWindows32.poseidon
TinyeEgineDynamicWindows32.poseidon
TinyeEgineStaticWindows64.poseidon
TinyeEgineDynamicWindows64.poseidon
TinyeEgineStaticLinux32.poseidon
TinyeEgineDynamicLinux32.poseidon
TinyeEgineStaticLinux64.poseidon
TinyeEgineDynamicLinux64.poseidon
Why have different project files when the project is the same, but just the build settings differ?
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by D.J.Peters »

St_W wrote:
D.J.Peters wrote:Why have different project files when the project is the same, but just the build settings differ?
You can't set different build settings in one project file nor different output paths that's the problem.

TinyEngine
TinyEngine/inc
TinyEngine/lib
TinyEngine/lib/win32 <-- target of the build 1
TinyEngine/lib/win64 <-- target of the build 2
TinyEngine/lib/lin32 <-- target of the build 3
TinyEngine/lib/lin64 <-- target of the build 4

TinyEngine-src
TinyEngine-src/300 *.bas files

you can't set the output file to:
../TinyEngine/lib/win32/libTinyEngine.a
or
../TinyEngine/lib/win64/libTinyEngine.a
or
../TinyEngine/lib/lin32/libTinyEngine.a
or
../TinyEngine/lib/lin64/libTinyEngine.a

in one project file

you can't set
d:\FreeBASIC\fbc32.exe
and
d:\FreeBASIC\fbc64.exe
and for Linux
fbc

in the same project file

Or you can and I'm to stupid.

Joshy
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by Kuan Hsu »

Did you used and tried at rev.396?
I checked the 7z/tar.gz archive, windows/linux both are rev0.396.....

Image
Image
Image
Image
Image
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

Post by D.J.Peters »

You are kidding me :-)
I can make nice looking screenshots also but it does not mean it will work !
Image
Image
Image
Image
I can press [Apply] but I don't can close the project settings with [OK] button ?

Why need a static lib a main file ?

cd: d:\Codeblocks\Joshy\TinyEngine-src
Windows 32-bit build I use:
d:\FreeBASIC\fbc32.exe -w pedantic -asm intel -lib *.bas -x ../TinyEngine/lib/win32/libTinyEngine.a
Windows 64-bit build I use:
d:\FreeBASIC\fbc64.exe -w pedantic -asm intel -lib *.bas -x ../TinyEngine/lib/win64/libTinyEngine.a
Linux 32-bit build I use:
fbc -w pedantic -asm intel -lib *.bas -x ../TinyEngine/lib/lin32/libTinyEngine.a
Linux 64-bit build I use:
fbc -w pedantic -asm intel -lib *.bas -x ../TinyEngine/lib/lin32/libTinyEngine.a

Joshy
Post Reply