My operating system: Mac 10.12.6 Xcode: 9.2 Codeblocks: 13.12
I have been given the code for my University project next year. The code has been produced in Codeblocks but I’m having problems accessing it. The files are mainly .cpp and .h but the project file itself is .cbp
The first thing I tried was opening the files in Xcode however it doesn’t open the .cbp file as a project file and hence won’t let me build/run it.
I then downloaded code blocks and have tried to use that to solve the issue. I keep getting errors about fopenmp. I checked online on how to solve the problem but sticking “-fopenmp” in the compiler settings and adding libgomp to the library didn’t seem to work.
I then asked my supervisor and he says he solved the problem by using c++ 11 (in the compiler settings) and selecting the fopenmp flag however neither of these are an option on my edition (I think my version of code blocks may be too old).
Could anyone provide any help with either how to get round the fopenmp problem in c::b or how to convert the files from c::b to Xcode.
Thanks very much in advance
Aucun commentaire:
Enregistrer un commentaire