JVZ
2016-07-22 15:22:28 UTC
On Thu, 21 Jul 2016 13:54:04 +0000
I don't, right now, what's wrong but in theory stuff should compile; at least AFAIK.
Now, particular flags on the compiler may have changed and may need to be adjusted.
I will look into things,
-- JVZ
+----------------------------------------------------------------------------+
| Copyright (C) 10:20 07/22/2016 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
Hi Jeroen,
I would like to seek your assistance for compiling Fox Toolkit in Windows.
I have extracted the zip file in C:\fox-1.6.
1) Open the solution file located at C:\fox-1.6.51\windows\vcpp\win32.dsw
2) Visual Studio 2015 Express for Windows Desktop open and prompts to upgrade the solution files.
3) Press "OK" after all of them are checked.
4) Select the project 'fox' and set the compiler to "Release" and "x86".
5) Hit on the "Local Windows Debugger" button.
[cid:2ff08ede-731a-42c4-aea8-67c9c6cfb7be]
There are 3 failed.
[cid:c766078a-5ecf-400c-8d4d-7d72cad1007a]
* 3 of them are "C2084 errors", due to "Function already has a body" in the vsscanf.cpp
* LNK1181 error is citing unable to open file "C:\fox-1.651\lib\FOX-1.6.lib" because the lib folder was not created.
* MSB6006 error is citing the "cmd.exe" exited with code 9009.
[cid:f541f091-83ee-4179-8036-6871e9d2d63b]
[cid:348d0571-60fd-4726-96a8-e18a1cde874c]
http://stackoverflow.com/questions/10046485/error-lnk2005-already-defined
c++ - error LNK2005, already defined? - Stack Overflow<http://stackoverflow.com/questions/10046485/error-lnk2005-already-defined>
stackoverflow.com
I have 2 files, A.cpp and B.cpp, in a Win32 console application. Both 2 files contain only the following 2 lines of code: #include "stdafx.h" int k; When compiling it ...
But just fall short on how to add the command option: /FORCE:MULTIPLE in order to proceed.
1) I have deleted the C:\fox-1.6.51 folder and re-unzip the folders there as a fresh state again.
2) Unzip the Borland C++ compiler into C:\BCC101
3) Add the C:\BCC101\bin into system environment PATH as stated in their instructions
cd C:\fox-1.6.51\windows\borland
bcc32c
make
[cid:7d3b1639-91bb-45c4-be05-66f9222cfb74]
The error thrown: “bcc32” is not recognized as an internal or external command, operable program or batch file.
The Borland C++ Compiler says to test if it is installed correctly, I should enter the command “bcc32c”
Indeed, in Borland C++ 5.5 compiler, there is only “bcc32c” as the compiler.
5) Fortunately, the workaround is to rename “bcc32c.exe” to “bcc32.exe” and “bcc32c.cfg” to “bcc32.cfg” in C:\BCC101\bin.
[cid:22f7e08b-21c3-4e67-96b2-2875959b8797]
There are about 3 errors which are related declaration conflicts that already in scope.
I am at my wits end on how to get Fox lib compiled properly. My system is a Windows 10 x64, but the library is compiled for x86.
I sincerely hope that you would keep me updated on the resolution to the above issues. Thank you very much.
Noted!I would like to seek your assistance for compiling Fox Toolkit in Windows.
I have extracted the zip file in C:\fox-1.6.
1) Open the solution file located at C:\fox-1.6.51\windows\vcpp\win32.dsw
2) Visual Studio 2015 Express for Windows Desktop open and prompts to upgrade the solution files.
3) Press "OK" after all of them are checked.
4) Select the project 'fox' and set the compiler to "Release" and "x86".
5) Hit on the "Local Windows Debugger" button.
[cid:2ff08ede-731a-42c4-aea8-67c9c6cfb7be]
There are 3 failed.
[cid:c766078a-5ecf-400c-8d4d-7d72cad1007a]
* 3 of them are "C2084 errors", due to "Function already has a body" in the vsscanf.cpp
* LNK1181 error is citing unable to open file "C:\fox-1.651\lib\FOX-1.6.lib" because the lib folder was not created.
* MSB6006 error is citing the "cmd.exe" exited with code 9009.
[cid:f541f091-83ee-4179-8036-6871e9d2d63b]
[cid:348d0571-60fd-4726-96a8-e18a1cde874c]
http://stackoverflow.com/questions/10046485/error-lnk2005-already-defined
c++ - error LNK2005, already defined? - Stack Overflow<http://stackoverflow.com/questions/10046485/error-lnk2005-already-defined>
stackoverflow.com
I have 2 files, A.cpp and B.cpp, in a Win32 console application. Both 2 files contain only the following 2 lines of code: #include "stdafx.h" int k; When compiling it ...
But just fall short on how to add the command option: /FORCE:MULTIPLE in order to proceed.
1) I have deleted the C:\fox-1.6.51 folder and re-unzip the folders there as a fresh state again.
2) Unzip the Borland C++ compiler into C:\BCC101
3) Add the C:\BCC101\bin into system environment PATH as stated in their instructions
cd C:\fox-1.6.51\windows\borland
bcc32c
make
[cid:7d3b1639-91bb-45c4-be05-66f9222cfb74]
The error thrown: “bcc32” is not recognized as an internal or external command, operable program or batch file.
The Borland C++ Compiler says to test if it is installed correctly, I should enter the command “bcc32c”
Indeed, in Borland C++ 5.5 compiler, there is only “bcc32c” as the compiler.
5) Fortunately, the workaround is to rename “bcc32c.exe” to “bcc32.exe” and “bcc32c.cfg” to “bcc32.cfg” in C:\BCC101\bin.
[cid:22f7e08b-21c3-4e67-96b2-2875959b8797]
There are about 3 errors which are related declaration conflicts that already in scope.
I am at my wits end on how to get Fox lib compiled properly. My system is a Windows 10 x64, but the library is compiled for x86.
I sincerely hope that you would keep me updated on the resolution to the above issues. Thank you very much.
I don't, right now, what's wrong but in theory stuff should compile; at least AFAIK.
Now, particular flags on the compiler may have changed and may need to be adjusted.
I will look into things,
-- JVZ
+----------------------------------------------------------------------------+
| Copyright (C) 10:20 07/22/2016 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+