News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

File not recognized: File format not recognized

Started by crisogona2000, September 16, 2019, 06:17:07 AM

Previous topic - Next topic

crisogona2000

I have followed the instruction on the web "Build Option>link target> Add". to add the .so file to codeblock.
but when I build the program, an error is occured. one point I will said that the .so file do not has any problem.

-------------- Build: Debug in Trading ---------------

Linking console executable: bin\Debug\Trading.exe
..\LinuxExample\apitester\lib\libapiwrapper.so: file not recognized: File format not recognized
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)


Miguel Gimenez


crisogona2000

yes, i am working on windows10 and i use gnu gcc compiler, to compile .so file.

BlueHazzard

windows does not use .so files, but .a files and without more information (you can provide them by following my link) we can not help much

stahta01

Quote from: BlueHazzard on September 17, 2019, 10:44:43 AM
windows does not use .so files, but .a files and without more information (you can provide them by following my link) we can not help much

Windows uses .dll instead of .so files; and it tends to use .a or .lib files with the DLLs.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]