Support > Source

Compiling the source in Windows

<< < (3/5) > >>

Marcel:
Hi John,

Thanks for the reply. I was more curious what Roberto made of it. I saw he mentioned some C compilers and read also that Perl is involved.  :(

At the moment I have VS2005  C/C++, VB.Net but I 'like' Pelles C as program more than the VS2005 C.

Does the compiler brand matter in this case?
Is it possible to by-pass the Perl stage?

Support:
Perl is only use as a 'helper' to get ScriptBasic code compiled. Once you have a working ScriptBasic environment, Perl is no longer needed.  It's used for things like taking the source text files and converting the <CR><LF> to <LF> if your compiling the source under *nix.

John

Marcel:
Ok, I'm not on linux, so you say that Perl isn't needed on Windows? I first need to dive into the Window info  :)

Thanks so far John.

Zulfi.Ali:
Hi,

I have recently downloaded the latest version i.e. 3.0 of ScriptBasic and I find that it is very different from 2.1.  There are no setup.cmd and headerer.pl files etc.

My objective is to embed it in MS VC7 desktop application but even after reading all the forums and documentation, I still am clueless as to how to proceed.  I tried to create a new project along the lines of scribacmd.c but when I included the function scriba_new(), the linker gave the following error.

error LNK2019: unresolved external symbol _scriba_new referenced in function "public: void __thiscall CScriptBasicEmbDlg::OnBnClickedButton1(void)" (?OnBnClickedButton1@CScriptBasicEmbDlg@@QAEXXZ)   ScriptBasicEmbDlg.obj   

I would really appreciate if someone could provide a little help in this regard

Thanks
Zulfiqar

Support:
Welcome to the ScriptBasic forum Zulfiqar.

The ScriptBasic 3.0 Windows version is using MinGW/GCC as the C compiler. If your using the MS VC7 compiler, I suggest that you use the 2.1 version of ScriptBasic. The 3.0 release is focused on a new make file system and using MinGW/GCC for 32/64 compiling.

NOTE: Don't mix libs compiled using different compilers. (linkers complain) VC7 will have the same problem using MinGW/GCC compiled libs. Accessing DLLs compiled by any of the compilers doesn't seem to be an issue.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version